org.apache.camel.component.zookeeper.operations
Class CreateOperation
java.lang.Object
org.apache.camel.component.zookeeper.operations.ZooKeeperOperation<String>
org.apache.camel.component.zookeeper.operations.CreateOperation
public class CreateOperation
- extends ZooKeeperOperation<String>
CreateOperation
is a basic Zookeeper operation used to create
and set the data contained in a given node
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CreateOperation
public CreateOperation(org.apache.zookeeper.ZooKeeper connection,
String node)
getResult
public OperationResult<String> getResult()
- Description copied from class:
ZooKeeperOperation
- Gets the result of this zookeeper operation, i.e. some data and the
associated node stats
- Specified by:
getResult
in class ZooKeeperOperation<String>
setData
public void setData(byte[] data)
setPermissions
public void setPermissions(List<org.apache.zookeeper.data.ACL> permissions)
setCreateMode
public void setCreateMode(org.apache.zookeeper.CreateMode createMode)
Apache Camel