Class CreateOperation
java.lang.Object
org.apache.camel.component.zookeeper.operations.ZooKeeperOperation<String>
org.apache.camel.component.zookeeper.operations.CreateOperation
CreateOperation is a basic Zookeeper operation used to create and set the data contained in a given node-
Field Summary
Fields inherited from class org.apache.camel.component.zookeeper.operations.ZooKeeperOperation
connection, CONSTRUCTOR_ARGS, LOG, node, result, waitingThreads -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGets the result of this zookeeper operation, i.e. some data and the associated node statsvoidsetCreateMode(org.apache.zookeeper.CreateMode createMode) voidsetData(byte[] data) voidsetPermissions(List<org.apache.zookeeper.data.ACL> permissions) Methods inherited from class org.apache.camel.component.zookeeper.operations.ZooKeeperOperation
cancel, createCopy, get, get, getNode, isCancelled, isDone, shouldProduceExchange
-
Constructor Details
-
CreateOperation
-
-
Method Details
-
getResult
Description copied from class:ZooKeeperOperationGets the result of this zookeeper operation, i.e. some data and the associated node stats- Specified by:
getResultin classZooKeeperOperation<String>
-
setData
public void setData(byte[] data) -
setPermissions
-
setCreateMode
public void setCreateMode(org.apache.zookeeper.CreateMode createMode)
-