Uses of Class
org.apache.zookeeper.CreateMode
-
Packages that use CreateMode Package Description org.apache.zookeeper org.apache.zookeeper.retry org.apache.zookeeper.server ZooKeeper server theory of operation -
-
Uses of CreateMode in org.apache.zookeeper
Methods in org.apache.zookeeper that return CreateMode Modifier and Type Method Description static CreateModeCreateMode. fromFlag(int flag)Map an integer value to a CreateMode valuestatic CreateModeCreateMode. fromFlag(int flag, CreateMode defaultMode)Map an integer value to a CreateMode valuestatic CreateModeCreateMode. valueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static CreateMode[]CreateMode. values()Returns an array containing the constants of this enum type, in the order they are declared.Methods in org.apache.zookeeper with parameters of type CreateMode Modifier and Type Method Description static OpOp. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode)Constructs a create operation.static OpOp. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, long ttl)Constructs a create operation.TransactionTransaction. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode)java.lang.StringZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode)Create a node with the given path.voidZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, AsyncCallback.Create2Callback cb, java.lang.Object ctx)The asynchronous version of create.voidZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, AsyncCallback.Create2Callback cb, java.lang.Object ctx, long ttl)The asynchronous version of create with ttl.voidZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, AsyncCallback.StringCallback cb, java.lang.Object ctx)The asynchronous version of create.java.lang.StringZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, Stat stat)Create a node with the given path and returns the Stat of that node.java.lang.StringZooKeeper. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode, Stat stat, long ttl)same asZooKeeper.create(String, byte[], List, CreateMode, Stat)but allows for specifying a TTL when mode isPERSISTENT_WITH_TTLorPERSISTENT_SEQUENTIAL_WITH_TTL.static CreateModeCreateMode. fromFlag(int flag, CreateMode defaultMode)Map an integer value to a CreateMode value -
Uses of CreateMode in org.apache.zookeeper.retry
Methods in org.apache.zookeeper.retry with parameters of type CreateMode Modifier and Type Method Description java.lang.StringZooKeeperRetry. create(java.lang.String path, byte[] data, java.util.List<ACL> acl, CreateMode createMode) -
Uses of CreateMode in org.apache.zookeeper.server
Methods in org.apache.zookeeper.server with parameters of type CreateMode Modifier and Type Method Description static voidEphemeralType. validateTTL(CreateMode mode, long ttl)Utility to validate a create mode and a ttl
-