Class SyncCallbackUtils.SyncCreateAdvCallback

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void createComplete​(int rc, LedgerHandle lh, java.lang.Object ctx)
      Create callback implementation for synchronous create call.
      • Methods inherited from class java.lang.Object

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

      • SyncCreateAdvCallback

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

      • createComplete

        public void createComplete​(int rc,
                                   LedgerHandle lh,
                                   java.lang.Object ctx)
        Create callback implementation for synchronous create call.
        Specified by:
        createComplete in interface AsyncCallback.CreateCallback
        Parameters:
        rc - return code
        lh - ledger handle object
        ctx - optional control object