Class BookKeeperAdmin.ResultCallBack

  • All Implemented Interfaces:
    org.apache.zookeeper.AsyncCallback, org.apache.zookeeper.AsyncCallback.VoidCallback
    Enclosing class:
    BookKeeperAdmin

    public static class BookKeeperAdmin.ResultCallBack
    extends java.lang.Object
    implements org.apache.zookeeper.AsyncCallback.VoidCallback
    This is the class for getting the replication result.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.apache.zookeeper.AsyncCallback

        org.apache.zookeeper.AsyncCallback.ACLCallback, org.apache.zookeeper.AsyncCallback.AllChildrenNumberCallback, org.apache.zookeeper.AsyncCallback.Children2Callback, org.apache.zookeeper.AsyncCallback.ChildrenCallback, org.apache.zookeeper.AsyncCallback.Create2Callback, org.apache.zookeeper.AsyncCallback.DataCallback, org.apache.zookeeper.AsyncCallback.EphemeralsCallback, org.apache.zookeeper.AsyncCallback.MultiCallback, org.apache.zookeeper.AsyncCallback.StatCallback, org.apache.zookeeper.AsyncCallback.StringCallback, org.apache.zookeeper.AsyncCallback.VoidCallback
    • Constructor Summary

      Constructors 
      Constructor Description
      ResultCallBack​(java.util.concurrent.CompletableFuture<java.lang.Void> sync)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void processResult​(int rc, java.lang.String s, java.lang.Object ctx)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ResultCallBack

        public ResultCallBack​(java.util.concurrent.CompletableFuture<java.lang.Void> sync)
    • Method Detail

      • processResult

        public void processResult​(int rc,
                                  java.lang.String s,
                                  java.lang.Object ctx)
        Specified by:
        processResult in interface org.apache.zookeeper.AsyncCallback.VoidCallback