public class CreateOperation extends ZooKeeperOperation<String>
CreateOperation
is a basic Zookeeper operation used to create
and set the data contained in a given nodeconnection, CONSTRUCTOR_ARGS, LOG, node, result, waitingThreads
Constructor and Description |
---|
CreateOperation(org.apache.zookeeper.ZooKeeper connection,
String node) |
Modifier and Type | Method and Description |
---|---|
OperationResult<String> |
getResult()
Gets the result of this zookeeper operation, i.e.
|
void |
setCreateMode(org.apache.zookeeper.CreateMode createMode) |
void |
setData(byte[] data) |
void |
setPermissions(List<org.apache.zookeeper.data.ACL> permissions) |
cancel, createCopy, get, get, getNode, isCancelled, isDone, shouldProduceExchange
public CreateOperation(org.apache.zookeeper.ZooKeeper connection, String node)
public OperationResult<String> getResult()
ZooKeeperOperation
getResult
in class ZooKeeperOperation<String>
public void setData(byte[] data)
public void setPermissions(List<org.apache.zookeeper.data.ACL> permissions)
public void setCreateMode(org.apache.zookeeper.CreateMode createMode)
Apache Camel