PersistentNode@Deprecated public static enum PersistentEphemeralNode.Mode extends java.lang.Enum<PersistentEphemeralNode.Mode>
| Enum Constant | Description |
|---|---|
EPHEMERAL |
Deprecated.
Same as
CreateMode.EPHEMERAL |
EPHEMERAL_SEQUENTIAL |
Deprecated.
Same as
CreateMode.EPHEMERAL_SEQUENTIAL |
PROTECTED_EPHEMERAL |
Deprecated.
Same as
CreateMode.EPHEMERAL with protection |
PROTECTED_EPHEMERAL_SEQUENTIAL |
Deprecated.
Same as
CreateMode.EPHEMERAL_SEQUENTIAL with protection |
| Modifier and Type | Method | Description |
|---|---|---|
protected abstract org.apache.zookeeper.CreateMode |
getCreateMode(boolean pathIsSet) |
Deprecated.
|
protected abstract boolean |
isProtected() |
Deprecated.
|
static PersistentEphemeralNode.Mode |
valueOf(java.lang.String name) |
Deprecated.
Returns the enum constant of this type with the specified name.
|
static PersistentEphemeralNode.Mode[] |
values() |
Deprecated.
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PersistentEphemeralNode.Mode EPHEMERAL
CreateMode.EPHEMERALpublic static final PersistentEphemeralNode.Mode EPHEMERAL_SEQUENTIAL
CreateMode.EPHEMERAL_SEQUENTIALpublic static final PersistentEphemeralNode.Mode PROTECTED_EPHEMERAL
CreateMode.EPHEMERAL with protectionpublic static final PersistentEphemeralNode.Mode PROTECTED_EPHEMERAL_SEQUENTIAL
CreateMode.EPHEMERAL_SEQUENTIAL with protectionpublic static PersistentEphemeralNode.Mode[] values()
for (PersistentEphemeralNode.Mode c : PersistentEphemeralNode.Mode.values()) System.out.println(c);
public static PersistentEphemeralNode.Mode valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullprotected abstract org.apache.zookeeper.CreateMode getCreateMode(boolean pathIsSet)
protected abstract boolean isProtected()
Copyright © 2011–2018 The Apache Software Foundation. All rights reserved.