public static enum LoggedTaskAttempt.SplitVectorKind extends Enum<LoggedTaskAttempt.SplitVectorKind>
Enum Constant and Description |
---|
CPU_USAGE |
PHYSICAL_MEMORY_KBYTES |
VIRTUAL_MEMORY_KBYTES |
WALLCLOCK_TIME |
Modifier and Type | Method and Description |
---|---|
List<Integer> |
get(List<List<Integer>> listSplits) |
abstract List<Integer> |
get(LoggedTaskAttempt attempt) |
static List<List<Integer>> |
getNullSplitsVector() |
void |
set(List<List<Integer>> listSplits,
List<Integer> newValue) |
abstract void |
set(LoggedTaskAttempt attempt,
List<Integer> newValue) |
static LoggedTaskAttempt.SplitVectorKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoggedTaskAttempt.SplitVectorKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoggedTaskAttempt.SplitVectorKind WALLCLOCK_TIME
public static final LoggedTaskAttempt.SplitVectorKind CPU_USAGE
public static final LoggedTaskAttempt.SplitVectorKind VIRTUAL_MEMORY_KBYTES
public static final LoggedTaskAttempt.SplitVectorKind PHYSICAL_MEMORY_KBYTES
public static LoggedTaskAttempt.SplitVectorKind[] values()
for (LoggedTaskAttempt.SplitVectorKind c : LoggedTaskAttempt.SplitVectorKind.values()) System.out.println(c);
public static LoggedTaskAttempt.SplitVectorKind 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 abstract List<Integer> get(LoggedTaskAttempt attempt)
public abstract void set(LoggedTaskAttempt attempt, List<Integer> newValue)
Copyright © 2013 Apache Software Foundation. All rights reserved.