org.apache.hadoop.chukwa.extraction.demux.processor.mapper
Enum ClientTraceProcessor.Locality

java.lang.Object
  extended by java.lang.Enum<ClientTraceProcessor.Locality>
      extended by org.apache.hadoop.chukwa.extraction.demux.processor.mapper.ClientTraceProcessor.Locality
All Implemented Interfaces:
Serializable, Comparable<ClientTraceProcessor.Locality>
Enclosing class:
ClientTraceProcessor

public static enum ClientTraceProcessor.Locality
extends Enum<ClientTraceProcessor.Locality>


Enum Constant Summary
INTER
           
INTRA
           
LOCAL
           
 
Method Summary
 String getLabel()
           
static ClientTraceProcessor.Locality valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ClientTraceProcessor.Locality[] 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

LOCAL

public static final ClientTraceProcessor.Locality LOCAL

INTRA

public static final ClientTraceProcessor.Locality INTRA

INTER

public static final ClientTraceProcessor.Locality INTER
Method Detail

values

public static ClientTraceProcessor.Locality[] 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 (ClientTraceProcessor.Locality c : ClientTraceProcessor.Locality.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static ClientTraceProcessor.Locality 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

getLabel

public String getLabel()


Copyright © ${year} The Apache Software Foundation