org.apache.tez.runtime.library.shuffle.common
Enum FetchedInput.State
java.lang.Object
java.lang.Enum<FetchedInput.State>
org.apache.tez.runtime.library.shuffle.common.FetchedInput.State
- All Implemented Interfaces:
- Serializable, Comparable<FetchedInput.State>
- Enclosing class:
- FetchedInput
protected static enum FetchedInput.State
- extends Enum<FetchedInput.State>
PENDING
public static final FetchedInput.State PENDING
COMMITTED
public static final FetchedInput.State COMMITTED
ABORTED
public static final FetchedInput.State ABORTED
FREED
public static final FetchedInput.State FREED
values
public static FetchedInput.State[] 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 (FetchedInput.State c : FetchedInput.State.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FetchedInput.State 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
Copyright © 2014 Apache Software Foundation. All rights reserved.