public class ExistsOperation extends ZooKeeperOperation<String>
ExistsOperation
is a basic ZooKeeper operation used to test the
existence of a given node.connection, CONSTRUCTOR_ARGS, LOG, node, result, waitingThreads
Constructor and Description |
---|
ExistsOperation(org.apache.zookeeper.ZooKeeper connection,
String node) |
ExistsOperation(org.apache.zookeeper.ZooKeeper connection,
String node,
boolean mustExist) |
Modifier and Type | Method and Description |
---|---|
OperationResult<String> |
getResult()
Gets the result of this zookeeper operation, i.e.
|
cancel, createCopy, get, get, getNode, isCancelled, isDone, shouldProduceExchange
public ExistsOperation(org.apache.zookeeper.ZooKeeper connection, String node)
public ExistsOperation(org.apache.zookeeper.ZooKeeper connection, String node, boolean mustExist)
public OperationResult<String> getResult()
ZooKeeperOperation
getResult
in class ZooKeeperOperation<String>
Apache Camel