public static enum Task.TrackingState extends Enum<Task.TrackingState>
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.
Modifier and Type | Method and Description |
---|---|
String |
getDisplayName() |
static Task.TrackingState |
valueOf(String name)
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.
|
public static final Task.TrackingState UNTRACKED
public static final Task.TrackingState NEW
public static final Task.TrackingState START_ACK
public static final Task.TrackingState END_ACK
public static Task.TrackingState[] values()
for (Task.TrackingState c : Task.TrackingState.values()) System.out.println(c);
public static Task.TrackingState 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 String getDisplayName()
Copyright © 1970 The Apache Software Foundation. All rights reserved.