Class DeleteOperation
java.lang.Object
org.apache.camel.component.zookeeper.operations.ZooKeeperOperation<Boolean>
org.apache.camel.component.zookeeper.operations.DeleteOperation
setdataOperation
sets the content of a ZooKeeper node. An optional version may be specified that the
node must currently have for the operation to succeed.-
Field Summary
Fields inherited from class org.apache.camel.component.zookeeper.operations.ZooKeeperOperation
connection, CONSTRUCTOR_ARGS, LOG, node, result, waitingThreads
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the result of this zookeeper operation, i.e.void
setVersion
(int version) Methods inherited from class org.apache.camel.component.zookeeper.operations.ZooKeeperOperation
cancel, get, get, getNode, isCancelled, isDone, shouldProduceExchange
-
Constructor Details
-
DeleteOperation
-
-
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<Boolean>
-
setVersion
public void setVersion(int version) -
createCopy
- Overrides:
createCopy
in classZooKeeperOperation<Boolean>
- Throws:
Exception
-