Enum PersistentEphemeralNode.Mode
java.lang.Object
java.lang.Enum<PersistentEphemeralNode.Mode>
org.apache.curator.framework.recipes.nodes.PersistentEphemeralNode.Mode
- All Implemented Interfaces:
Serializable
,Comparable<PersistentEphemeralNode.Mode>
,java.lang.constant.Constable
- Enclosing class:
PersistentEphemeralNode
@Deprecated
public static enum PersistentEphemeralNode.Mode
extends Enum<PersistentEphemeralNode.Mode>
Deprecated.
The mode for node creation
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDeprecated.Same asCreateMode.EPHEMERAL
Deprecated.Same asCreateMode.EPHEMERAL_SEQUENTIAL
Deprecated.Same asCreateMode.EPHEMERAL
with protectionDeprecated.Same asCreateMode.EPHEMERAL_SEQUENTIAL
with protection -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.apache.zookeeper.CreateMode
getCreateMode
(boolean pathIsSet) Deprecated.protected abstract boolean
Deprecated.static PersistentEphemeralNode.Mode
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.
-
Enum Constant Details
-
EPHEMERAL
Deprecated.Same asCreateMode.EPHEMERAL
-
EPHEMERAL_SEQUENTIAL
Deprecated.Same asCreateMode.EPHEMERAL_SEQUENTIAL
-
PROTECTED_EPHEMERAL
Deprecated.Same asCreateMode.EPHEMERAL
with protection -
PROTECTED_EPHEMERAL_SEQUENTIAL
Deprecated.Same asCreateMode.EPHEMERAL_SEQUENTIAL
with protection
-
-
Method Details
-
values
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Deprecated.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 nameNullPointerException
- if the argument is null
-
getCreateMode
protected abstract org.apache.zookeeper.CreateMode getCreateMode(boolean pathIsSet) Deprecated. -
isProtected
protected abstract boolean isProtected()Deprecated.
-
PersistentNode