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

java.lang.Object
  extended by org.apache.camel.component.zookeeper.operations.ZooKeeperOperation<byte[]>
      extended by org.apache.camel.component.zookeeper.operations.GetDataOperation

public class GetDataOperation
extends ZooKeeperOperation<byte[]>

GetDataOperation is a basic operation to immediately retrieve the data associated with 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
GetDataOperation(org.apache.zookeeper.ZooKeeper connection, String node)
           
 
Method Summary
 OperationResult<byte[]> 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

GetDataOperation

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

getResult

public OperationResult<byte[]> 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<byte[]>


Apache Camel