Package org.apache.zookeeper
Class CreateOptions
java.lang.Object
org.apache.zookeeper.CreateOptions
Options for creating znode in ZooKeeper data tree.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiongetAcl()longgetTtl()static CreateOptions.BuildernewBuilder(List<ACL> acl, CreateMode createMode) Constructs a builder forCreateOptions.
-
Method Details
-
getCreateMode
-
getAcl
-
getTtl
public long getTtl() -
newBuilder
Constructs a builder forCreateOptions.- Parameters:
acl- the acl for the nodecreateMode- specifying whether the node to be created is ephemeral and/or sequential
-