|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<PersistentEphemeralNode.Mode>
org.apache.curator.framework.recipes.nodes.PersistentEphemeralNode.Mode
public static enum PersistentEphemeralNode.Mode
The mode for node creation
| Enum Constant Summary | |
|---|---|
EPHEMERAL
Same as CreateMode.EPHEMERAL |
|
EPHEMERAL_SEQUENTIAL
Same as CreateMode.EPHEMERAL_SEQUENTIAL |
|
PROTECTED_EPHEMERAL
Same as CreateMode.EPHEMERAL with protection |
|
PROTECTED_EPHEMERAL_SEQUENTIAL
Same as CreateMode.EPHEMERAL_SEQUENTIAL with protection |
|
| Method Summary | |
|---|---|
protected abstract org.apache.zookeeper.CreateMode |
getCreateMode(boolean pathIsSet)
|
protected abstract boolean |
isProtected()
|
static PersistentEphemeralNode.Mode |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static PersistentEphemeralNode.Mode[] |
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 |
|---|
public static final PersistentEphemeralNode.Mode EPHEMERAL
CreateMode.EPHEMERAL
public static final PersistentEphemeralNode.Mode EPHEMERAL_SEQUENTIAL
CreateMode.EPHEMERAL_SEQUENTIAL
public static final PersistentEphemeralNode.Mode PROTECTED_EPHEMERAL
CreateMode.EPHEMERAL with protection
public static final PersistentEphemeralNode.Mode PROTECTED_EPHEMERAL_SEQUENTIAL
CreateMode.EPHEMERAL_SEQUENTIAL with protection
| Method Detail |
|---|
public static PersistentEphemeralNode.Mode[] values()
for (PersistentEphemeralNode.Mode c : PersistentEphemeralNode.Mode.values()) System.out.println(c);
public static PersistentEphemeralNode.Mode valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is nullprotected abstract org.apache.zookeeper.CreateMode getCreateMode(boolean pathIsSet)
protected abstract boolean isProtected()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||