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.
This has been replaced with the more general PersistentNode
The mode for node creation
  • Enum Constant Details

    • EPHEMERAL

      public static final PersistentEphemeralNode.Mode EPHEMERAL
      Deprecated.
      Same as CreateMode.EPHEMERAL
    • EPHEMERAL_SEQUENTIAL

      public static final PersistentEphemeralNode.Mode EPHEMERAL_SEQUENTIAL
      Deprecated.
      Same as CreateMode.EPHEMERAL_SEQUENTIAL
    • PROTECTED_EPHEMERAL

      public static final PersistentEphemeralNode.Mode PROTECTED_EPHEMERAL
      Deprecated.
      Same as CreateMode.EPHEMERAL with protection
    • PROTECTED_EPHEMERAL_SEQUENTIAL

      public static final PersistentEphemeralNode.Mode PROTECTED_EPHEMERAL_SEQUENTIAL
      Deprecated.
      Same as CreateMode.EPHEMERAL_SEQUENTIAL with protection
  • Method Details

    • values

      public static PersistentEphemeralNode.Mode[] 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

      public static PersistentEphemeralNode.Mode valueOf(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:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null
    • getCreateMode

      protected abstract org.apache.zookeeper.CreateMode getCreateMode(boolean pathIsSet)
      Deprecated.
    • isProtected

      protected abstract boolean isProtected()
      Deprecated.