org.apache.tez.common.counters
Enum DAGCounter
java.lang.Object
java.lang.Enum<DAGCounter>
org.apache.tez.common.counters.DAGCounter
- All Implemented Interfaces:
- Serializable, Comparable<DAGCounter>
@InterfaceAudience.Public
@InterfaceStability.Evolving
public enum DAGCounter
- extends Enum<DAGCounter>
|
Method Summary |
static DAGCounter |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static DAGCounter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
NUM_FAILED_TASKS
public static final DAGCounter NUM_FAILED_TASKS
NUM_KILLED_TASKS
public static final DAGCounter NUM_KILLED_TASKS
TOTAL_LAUNCHED_TASKS
public static final DAGCounter TOTAL_LAUNCHED_TASKS
OTHER_LOCAL_TASKS
public static final DAGCounter OTHER_LOCAL_TASKS
DATA_LOCAL_TASKS
public static final DAGCounter DATA_LOCAL_TASKS
RACK_LOCAL_TASKS
public static final DAGCounter RACK_LOCAL_TASKS
SLOTS_MILLIS_TASKS
public static final DAGCounter SLOTS_MILLIS_TASKS
FALLOW_SLOTS_MILLIS_TASKS
public static final DAGCounter FALLOW_SLOTS_MILLIS_TASKS
TOTAL_LAUNCHED_UBERTASKS
public static final DAGCounter TOTAL_LAUNCHED_UBERTASKS
NUM_UBER_SUBTASKS
public static final DAGCounter NUM_UBER_SUBTASKS
NUM_FAILED_UBERTASKS
public static final DAGCounter NUM_FAILED_UBERTASKS
values
public static DAGCounter[] 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 (DAGCounter c : DAGCounter.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static DAGCounter valueOf(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:
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
Copyright © 2014 Apache Software Foundation. All rights reserved.