org.apache.hadoop.chukwa.extraction.demux.processor.mapper
Enum ClientTraceProcessor.Locality
java.lang.Object
java.lang.Enum<ClientTraceProcessor.Locality>
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>
LOCAL
public static final ClientTraceProcessor.Locality LOCAL
INTRA
public static final ClientTraceProcessor.Locality INTRA
INTER
public static final ClientTraceProcessor.Locality INTER
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