public enum BlockMasterInfoField extends Enum<BlockMasterInfoField> implements org.apache.thrift.TEnum
Enum Constant and Description |
---|
CAPACITY_BYTES |
CAPACITY_BYTES_ON_TIERS |
FREE_BYTES |
LIVE_WORKER_NUM |
LOST_WORKER_NUM |
USED_BYTES |
USED_BYTES_ON_TIERS |
Modifier and Type | Method and Description |
---|---|
static BlockMasterInfoField |
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 BlockMasterInfoField |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BlockMasterInfoField[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BlockMasterInfoField CAPACITY_BYTES
public static final BlockMasterInfoField CAPACITY_BYTES_ON_TIERS
public static final BlockMasterInfoField FREE_BYTES
public static final BlockMasterInfoField LIVE_WORKER_NUM
public static final BlockMasterInfoField LOST_WORKER_NUM
public static final BlockMasterInfoField USED_BYTES
public static final BlockMasterInfoField USED_BYTES_ON_TIERS
public static BlockMasterInfoField[] values()
for (BlockMasterInfoField c : BlockMasterInfoField.values()) System.out.println(c);
public static BlockMasterInfoField 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 BlockMasterInfoField findByValue(int value)
Copyright © 2023. All Rights Reserved.