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 ConstantsEnum ConstantDescriptionDeprecated.Same asCreateMode.EPHEMERALDeprecated.Same asCreateMode.EPHEMERAL_SEQUENTIALDeprecated.Same asCreateMode.EPHEMERALwith protectionDeprecated.Same asCreateMode.EPHEMERAL_SEQUENTIALwith protection -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract org.apache.zookeeper.CreateModegetCreateMode(boolean pathIsSet) Deprecated.protected abstract booleanDeprecated.static PersistentEphemeralNode.ModeDeprecated.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.EPHEMERALwith protection -
PROTECTED_EPHEMERAL_SEQUENTIAL
Deprecated.Same asCreateMode.EPHEMERAL_SEQUENTIALwith 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