Enum: org.apache.zookeeper.CreateMode

CreateMode value determines how the znode is created on ZooKeeper.

Inheritance

Superclass tree: Implements:

Methods

Fields

  • EPHEMERAL

    public static final CreateMode EPHEMERAL
    The znode will be deleted upon the client's disconnect.
  • EPHEMERAL_SEQUENTIAL

    public static final CreateMode EPHEMERAL_SEQUENTIAL
    The znode will be deleted upon the client's disconnect, and its name will be appended with a monotonically increasing number.
  • PERSISTENT

    public static final CreateMode PERSISTENT
    The znode will not be automatically deleted upon client's disconnect.
  • PERSISTENT_SEQUENTIAL

    public static final CreateMode PERSISTENT_SEQUENTIAL
    The znode will not be automatically deleted upon client's disconnect, and its name will be appended with a monotonically increasing number.