Class CreateOptions


  • public class CreateOptions
    extends Object
    Options for creating znode in ZooKeeper data tree.
    • Method Detail

      • getCreateMode

        public CreateMode getCreateMode()
      • getAcl

        public List<ACL> getAcl()
      • getTtl

        public long getTtl()
      • newBuilder

        public static CreateOptions.Builder newBuilder​(List<ACL> acl,
                                                       CreateMode createMode)
        Constructs a builder for CreateOptions.
        Parameters:
        acl - the acl for the node
        createMode - specifying whether the node to be created is ephemeral and/or sequential