public enum LockBlockStatus extends Enum<LockBlockStatus> implements org.apache.thrift.TEnum
Enum Constant and Description |
---|
ALLUXIO_BLOCK_LOCKED
The Alluxio block is acquired.
|
UFS_TOKEN_ACQUIRED
The block is not in Alluxio but a UFS access token is acquired for this block.
|
UFS_TOKEN_NOT_ACQUIRED
The block is not in Alluxio and a UFS access token is not acquired.
|
Modifier and Type | Method and Description |
---|---|
static LockBlockStatus |
findByValue(int value)
Find a the enum type by its integer value, as defined in the Thrift IDL.
|
int |
getValue()
Get the integer value of this enum value, as defined in the Thrift IDL.
|
static LockBlockStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LockBlockStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockBlockStatus ALLUXIO_BLOCK_LOCKED
public static final LockBlockStatus UFS_TOKEN_ACQUIRED
public static final LockBlockStatus UFS_TOKEN_NOT_ACQUIRED
public static LockBlockStatus[] values()
for (LockBlockStatus c : LockBlockStatus.values()) System.out.println(c);
public static LockBlockStatus valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface org.apache.thrift.TEnum
public static LockBlockStatus findByValue(int value)
Copyright © 2023. All Rights Reserved.