org.apache.camel.component.zookeeper.operations
Class ExistsOperation
java.lang.Object
org.apache.camel.component.zookeeper.operations.ZooKeeperOperation<String>
org.apache.camel.component.zookeeper.operations.ExistsOperation
public class ExistsOperation
- extends ZooKeeperOperation<String>
ExistsOperation
is a basic ZooKeeper operation used to test the
existence of a given node.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExistsOperation
public ExistsOperation(org.apache.zookeeper.ZooKeeper connection,
String node)
ExistsOperation
public ExistsOperation(org.apache.zookeeper.ZooKeeper connection,
String node,
boolean mustExist)
getResult
public OperationResult<String> 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 class ZooKeeperOperation<String>
Apache Camel