org.apache.hadoop.tools.rumen
Enum LoggedTaskAttempt.SplitVectorKind

java.lang.Object
  extended by java.lang.Enum<LoggedTaskAttempt.SplitVectorKind>
      extended by 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>


Enum Constant Summary
CPU_USAGE
           
PHYSICAL_MEMORY_KBYTES
           
VIRTUAL_MEMORY_KBYTES
           
WALLCLOCK_TIME
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

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
Method Detail

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 © 2012 Apache Software Foundation. All Rights Reserved.