org.apache.hadoop.tools.rumen
Enum LoggedTaskAttempt.SplitVectorKind
java.lang.Object
java.lang.Enum<LoggedTaskAttempt.SplitVectorKind>
org.apache.hadoop.tools.rumen.LoggedTaskAttempt.SplitVectorKind
- All Implemented Interfaces:
- Serializable, Comparable<LoggedTaskAttempt.SplitVectorKind>
- Enclosing class:
- LoggedTaskAttempt
public static enum LoggedTaskAttempt.SplitVectorKind
- extends Enum<LoggedTaskAttempt.SplitVectorKind>
WALLCLOCK_TIME
public static final LoggedTaskAttempt.SplitVectorKind WALLCLOCK_TIME
CPU_USAGE
public static final LoggedTaskAttempt.SplitVectorKind CPU_USAGE
VIRTUAL_MEMORY_KBYTES
public static final LoggedTaskAttempt.SplitVectorKind VIRTUAL_MEMORY_KBYTES
PHYSICAL_MEMORY_KBYTES
public static final LoggedTaskAttempt.SplitVectorKind PHYSICAL_MEMORY_KBYTES
values
public static LoggedTaskAttempt.SplitVectorKind[] 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 (LoggedTaskAttempt.SplitVectorKind c : LoggedTaskAttempt.SplitVectorKind.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static LoggedTaskAttempt.SplitVectorKind 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
get
public abstract List<Integer> get(LoggedTaskAttempt attempt)
set
public abstract void set(LoggedTaskAttempt attempt,
List<Integer> newValue)
get
public List<Integer> get(List<List<Integer>> listSplits)
set
public void set(List<List<Integer>> listSplits,
List<Integer> newValue)
getNullSplitsVector
public static List<List<Integer>> getNullSplitsVector()
Copyright © 2013 Apache Software Foundation. All Rights Reserved.