Class SyncCallbackUtils.SyncOpenCallback

    • Constructor Summary

      Constructors 
      Constructor Description
      SyncOpenCallback​(java.util.concurrent.CompletableFuture<? super LedgerHandle> future)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void openComplete​(int rc, LedgerHandle lh, java.lang.Object ctx)
      Callback method for synchronous open operation.
      • Methods inherited from class java.lang.Object

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

      • SyncOpenCallback

        public SyncOpenCallback​(java.util.concurrent.CompletableFuture<? super LedgerHandle> future)
    • Method Detail

      • openComplete

        public void openComplete​(int rc,
                                 LedgerHandle lh,
                                 java.lang.Object ctx)
        Callback method for synchronous open operation.
        Specified by:
        openComplete in interface AsyncCallback.OpenCallback
        Parameters:
        rc - return code
        lh - ledger handle
        ctx - optional control object