public static enum ObjectRegistryImpl.ObjectLifeCycle extends Enum<ObjectRegistryImpl.ObjectLifeCycle>
| Enum Constant and Description |
|---|
DAG
Objects are valid for the lifetime of the DAG.
|
SESSION
Objects are valid for the lifetime of the Tez JVM/Session
|
VERTEX
Objects are valid for the lifetime of the Vertex.
|
| Modifier and Type | Method and Description |
|---|---|
static ObjectRegistryImpl.ObjectLifeCycle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ObjectRegistryImpl.ObjectLifeCycle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ObjectRegistryImpl.ObjectLifeCycle SESSION
public static final ObjectRegistryImpl.ObjectLifeCycle DAG
public static final ObjectRegistryImpl.ObjectLifeCycle VERTEX
public static ObjectRegistryImpl.ObjectLifeCycle[] values()
for (ObjectRegistryImpl.ObjectLifeCycle c : ObjectRegistryImpl.ObjectLifeCycle.values()) System.out.println(c);
public static ObjectRegistryImpl.ObjectLifeCycle 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 nullCopyright © 2016 Apache Software Foundation. All rights reserved.