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

java.lang.Object
  extended by org.apache.camel.component.zookeeper.operations.ZooKeeperOperation<List<String>>
      extended by org.apache.camel.component.zookeeper.operations.GetChildrenOperation

public class GetChildrenOperation
extends ZooKeeperOperation<List<String>>

GetChildrenOperation is a basic ZooKeeper operation used to retrieve the list of children belonging to a given ZooKeeper node.


Field Summary
 
Fields inherited from class org.apache.camel.component.zookeeper.operations.ZooKeeperOperation
connection, CONSTRUCTOR_ARGS, LOG, node, result, waitingThreads
 
Constructor Summary
GetChildrenOperation(org.apache.zookeeper.ZooKeeper connection, String node)
           
 
Method Summary
 OperationResult<List<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

GetChildrenOperation

public GetChildrenOperation(org.apache.zookeeper.ZooKeeper connection,
                            String node)
Method Detail

getResult

public OperationResult<List<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<List<String>>


Apache Camel