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.
-
-
Field Summary
-
Fields inherited from class org.apache.camel.component.zookeeper.operations.ZooKeeperOperation
connection, CONSTRUCTOR_ARGS, LOG, node, result, waitingThreads
-
-
Constructor Summary
Constructors Constructor Description ExistsOperation(org.apache.zookeeper.ZooKeeper connection, String node)
ExistsOperation(org.apache.zookeeper.ZooKeeper connection, String node, boolean mustExist)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description OperationResult<String>
getResult()
Gets the result of this zookeeper operation, i.e.-
Methods inherited from class org.apache.camel.component.zookeeper.operations.ZooKeeperOperation
cancel, createCopy, get, get, getNode, isCancelled, isDone, shouldProduceExchange
-
-
-
-
Method Detail
-
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 classZooKeeperOperation<String>
-
-