Package alluxio.wire
Enum SyncPointInfo.SyncStatus
- java.lang.Object
-
- java.lang.Enum<SyncPointInfo.SyncStatus>
-
- alluxio.wire.SyncPointInfo.SyncStatus
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<SyncPointInfo.SyncStatus>
- Enclosing class:
- SyncPointInfo
public static enum SyncPointInfo.SyncStatus extends java.lang.Enum<SyncPointInfo.SyncStatus>
Indicates the status of the initial sync of the active sync point.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description INITIALLY_SYNCED
NOT_INITIALLY_SYNCED
SYNCING
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SyncPointInfo.SyncStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SyncPointInfo.SyncStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NOT_INITIALLY_SYNCED
public static final SyncPointInfo.SyncStatus NOT_INITIALLY_SYNCED
-
SYNCING
public static final SyncPointInfo.SyncStatus SYNCING
-
INITIALLY_SYNCED
public static final SyncPointInfo.SyncStatus INITIALLY_SYNCED
-
-
Method Detail
-
values
public static SyncPointInfo.SyncStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SyncPointInfo.SyncStatus c : SyncPointInfo.SyncStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SyncPointInfo.SyncStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-