Package | Description |
---|---|
org.apache.zookeeper |
Modifier and Type | Method and Description |
---|---|
static CreateMode |
CreateMode.fromFlag(int flag)
Map an integer value to a CreateMode value
|
static CreateMode |
CreateMode.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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
ZooKeeper.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
CreateMode createMode)
Create a node with the given path.
|
Transaction |
Transaction.create(java.lang.String path,
byte[] data,
java.util.List<ACL> acl,
CreateMode createMode) |
void |
ZooKeeper.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.
|
Copyright © 2018 The Apache Software Foundation