Package org.apache.drill.yarn.appMaster
Enum Task.TrackingState
- All Implemented Interfaces:
Serializable
,Comparable<Task.TrackingState>
- Enclosing class:
- Task
Tracking plugin state. A task can be untracked, or moves
though states
NEW --> START_ACK --> END_ACK
NEW --> START_ACK --> END_ACK
Tracking state is separate from, but integrated with, task state. This is because, due to latency, tracking events may be slightly out of sync with YARN events.
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Task.TrackingState
Returns the enum constant of this type with the specified name.static Task.TrackingState[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
UNTRACKED
-
NEW
-
START_ACK
-
END_ACK
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getDisplayName
-