public static interface AsyncCallback.MultiCallback extends AsyncCallback
ZooKeeper.multi(java.lang.Iterable<org.apache.zookeeper.Op>) for more information.AsyncCallback.ACLCallback, AsyncCallback.Children2Callback, AsyncCallback.ChildrenCallback, AsyncCallback.DataCallback, AsyncCallback.MultiCallback, AsyncCallback.StatCallback, AsyncCallback.StringCallback, AsyncCallback.VoidCallback| Modifier and Type | Method and Description |
|---|---|
void |
processResult(int rc,
String path,
Object ctx,
List<org.apache.zookeeper.OpResult> opResults)
Process the result of the asynchronous call.
|
void processResult(int rc,
String path,
Object ctx,
List<org.apache.zookeeper.OpResult> opResults)
KeeperException.Code.OK.
All opResults are
non-OpResult.ErrorResult,
On failure, rc is a failure code in
KeeperException.Code.
All opResults are
OpResult.ErrorResult.
All operations will be rollback-ed even if operations
before the failing one were successful.rc - The return code or the result of the call.path - The path that we passed to asynchronous calls.ctx - Whatever context object that we passed to
asynchronous calls.opResults - The list of results.
One result for each operation,
and the order matches that of input.Copyright © 2016 The Apache Software Foundation