@Override public CompletableFuture<Long> tryReadLastAddConfirmedAsync() { return readHandle.tryReadLastAddConfirmedAsync(); }
/** * Obtains asynchronously the last confirmed write from a quorum of bookies * but it doesn't wait all the responses from the quorum. * * @return the result of the operation * @see #tryReadLastAddConfirmedAsync() */ default long tryReadLastAddConfirmed() throws BKException, InterruptedException { return FutureUtils.<Long, BKException>result(tryReadLastAddConfirmedAsync(), BKException.HANDLER); }