Enum PersistentEphemeralNode.Mode
- java.lang.Object
-
- java.lang.Enum<PersistentEphemeralNode.Mode>
-
- org.apache.curator.framework.recipes.nodes.PersistentEphemeralNode.Mode
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<PersistentEphemeralNode.Mode>
- Enclosing class:
- PersistentEphemeralNode
@Deprecated public static enum PersistentEphemeralNode.Mode extends java.lang.Enum<PersistentEphemeralNode.Mode>
Deprecated.This has been replaced with the more generalPersistentNodeThe mode for node creation
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EPHEMERALDeprecated.Same asCreateMode.EPHEMERALEPHEMERAL_SEQUENTIALDeprecated.Same asCreateMode.EPHEMERAL_SEQUENTIALPROTECTED_EPHEMERALDeprecated.Same asCreateMode.EPHEMERALwith protectionPROTECTED_EPHEMERAL_SEQUENTIALDeprecated.Same asCreateMode.EPHEMERAL_SEQUENTIALwith protection
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected abstract org.apache.zookeeper.CreateModegetCreateMode(boolean pathIsSet)Deprecated.protected abstract booleanisProtected()Deprecated.static PersistentEphemeralNode.ModevalueOf(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.
-
-
-
Enum Constant Detail
-
EPHEMERAL
public static final PersistentEphemeralNode.Mode EPHEMERAL
Deprecated.Same asCreateMode.EPHEMERAL
-
EPHEMERAL_SEQUENTIAL
public static final PersistentEphemeralNode.Mode EPHEMERAL_SEQUENTIAL
Deprecated.Same asCreateMode.EPHEMERAL_SEQUENTIAL
-
PROTECTED_EPHEMERAL
public static final PersistentEphemeralNode.Mode PROTECTED_EPHEMERAL
Deprecated.Same asCreateMode.EPHEMERALwith protection
-
PROTECTED_EPHEMERAL_SEQUENTIAL
public static final PersistentEphemeralNode.Mode PROTECTED_EPHEMERAL_SEQUENTIAL
Deprecated.Same asCreateMode.EPHEMERAL_SEQUENTIALwith protection
-
-
Method Detail
-
values
public static PersistentEphemeralNode.Mode[] values()
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (PersistentEphemeralNode.Mode c : PersistentEphemeralNode.Mode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PersistentEphemeralNode.Mode valueOf(java.lang.String name)
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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getCreateMode
protected abstract org.apache.zookeeper.CreateMode getCreateMode(boolean pathIsSet)
Deprecated.
-
isProtected
protected abstract boolean isProtected()
Deprecated.
-
-