org.apache.camel.component.zookeeper.operations
Class GetDataOperation
java.lang.Object
org.apache.camel.component.zookeeper.operations.ZooKeeperOperation<byte[]>
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GetDataOperation
public GetDataOperation(org.apache.zookeeper.ZooKeeper connection,
String node)
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