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 statsvoid
setCreateMode
(org.apache.zookeeper.CreateMode createMode) void
setData
(byte[] data) void
setPermissions
(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:ZooKeeperOperation
Gets the result of this zookeeper operation, i.e. some data and the associated node stats- Specified by:
getResult
in classZooKeeperOperation<String>
-
setData
public void setData(byte[] data) -
setPermissions
-
setCreateMode
public void setCreateMode(org.apache.zookeeper.CreateMode createMode)
-