public class DeleteOperation extends ZooKeeperOperation<Boolean>
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.ZooKeeper#setData(String, byte[], int)}connection, CONSTRUCTOR_ARGS, LOG, node, result, waitingThreads| Constructor and Description |
|---|
DeleteOperation(org.apache.zookeeper.ZooKeeper connection,
String node) |
| Modifier and Type | Method and Description |
|---|---|
ZooKeeperOperation<?> |
createCopy() |
OperationResult<Boolean> |
getResult()
Gets the result of this zookeeper operation, i.e.
|
void |
setVersion(int version) |
cancel, get, get, getNode, isCancelled, isDone, shouldProduceExchangepublic DeleteOperation(org.apache.zookeeper.ZooKeeper connection,
String node)
public OperationResult<Boolean> getResult()
ZooKeeperOperationgetResult in class ZooKeeperOperation<Boolean>public void setVersion(int version)
public ZooKeeperOperation<?> createCopy() throws Exception
createCopy in class ZooKeeperOperation<Boolean>ExceptionApache Camel