public enum TierRecordType extends java.lang.Enum<TierRecordType>
Enum Constant and Description |
---|
InitLeader |
PartitionDeleteComplete |
PartitionDeleteInitiate |
PartitionFence |
PartitionForceRestore |
SegmentDeleteComplete |
SegmentDeleteInitiate |
SegmentUploadComplete |
SegmentUploadInitiate |
Modifier and Type | Method and Description |
---|---|
static byte |
toByte(TierRecordType recordType) |
static TierRecordType |
toType(byte id) |
static TierRecordType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TierRecordType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TierRecordType InitLeader
public static final TierRecordType SegmentUploadInitiate
public static final TierRecordType SegmentUploadComplete
public static final TierRecordType SegmentDeleteInitiate
public static final TierRecordType SegmentDeleteComplete
public static final TierRecordType PartitionDeleteInitiate
public static final TierRecordType PartitionDeleteComplete
public static final TierRecordType PartitionFence
public static final TierRecordType PartitionForceRestore
public static TierRecordType[] values()
for (TierRecordType c : TierRecordType.values()) System.out.println(c);
public static TierRecordType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static byte toByte(TierRecordType recordType)
public static TierRecordType toType(byte id)