org.apache.camel.component.zookeeper.operations
Class ExistsOperation

java.lang.Object
  extended by org.apache.camel.component.zookeeper.operations.ZooKeeperOperation<String>
      extended by 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
ExistsOperation(org.apache.zookeeper.ZooKeeper connection, String node)
           
ExistsOperation(org.apache.zookeeper.ZooKeeper connection, String node, boolean mustExist)
           
 
Method Summary
 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExistsOperation

public ExistsOperation(org.apache.zookeeper.ZooKeeper connection,
                       String node)

ExistsOperation

public ExistsOperation(org.apache.zookeeper.ZooKeeper connection,
                       String node,
                       boolean mustExist)
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 class ZooKeeperOperation<String>


Apache Camel