Package org.apache.bookkeeper.proto
Class BookkeeperInternalCallbacks
- java.lang.Object
-
- org.apache.bookkeeper.proto.BookkeeperInternalCallbacks
-
public class BookkeeperInternalCallbacks extends java.lang.ObjectDeclaration of a callback interfaces used in bookkeeper client library but not exposed to the client application.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBookkeeperInternalCallbacks.BatchedReadEntryCallbackDeclaration of a callback implementation for calls from BookieClient objects.static interfaceBookkeeperInternalCallbacks.ForceLedgerCallbackForce callback interface.static classBookkeeperInternalCallbacks.FutureGetListOfEntriesOfLedgerFuture for GetListOfEntriesOfLedger.static interfaceBookkeeperInternalCallbacks.GenericCallback<T>A generic callback interface.static classBookkeeperInternalCallbacks.GenericCallbackFuture<T>Generic callback future.static interfaceBookkeeperInternalCallbacks.GetBookieInfoCallbackThis is a callback interface for fetching metadata about a bookie.static interfaceBookkeeperInternalCallbacks.GetListOfEntriesOfLedgerCallbackA callback interface for GetListOfEntriesOfLedger command.static interfaceBookkeeperInternalCallbacks.LedgerMetadataListenerListener on ledger metadata changes.static classBookkeeperInternalCallbacks.MultiCallbackThis is a multi callback object that waits for all of the multiple async operations to complete.static interfaceBookkeeperInternalCallbacks.Processor<T>Processor to process a specific element.static interfaceBookkeeperInternalCallbacks.ReadEntryCallbackDeclaration of a callback implementation for calls from BookieClient objects.static interfaceBookkeeperInternalCallbacks.ReadEntryCallbackCtxDeclaration of a callback interface for the Last Add Confirmed context of a reader.static interfaceBookkeeperInternalCallbacks.ReadEntryListenerListener on entries responded.static interfaceBookkeeperInternalCallbacks.ReadLacCallbackA last-add-confirmed (LAC) reader callback interface.static interfaceBookkeeperInternalCallbacks.StartTLSCallbackA callback interface for a STARTTLS command.static classBookkeeperInternalCallbacks.TimedGenericCallback<T>A callback implementation with an internal timer.static interfaceBookkeeperInternalCallbacks.WriteCallbackA writer callback interface.static interfaceBookkeeperInternalCallbacks.WriteLacCallbackA last-add-confirmed (LAC) writer callback interface.
-
Field Summary
Fields Modifier and Type Field Description (package private) static org.slf4j.LoggerLOG
-
Constructor Summary
Constructors Constructor Description BookkeeperInternalCallbacks()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> voidfinish(int rc, T result, java.util.concurrent.CompletableFuture<? super T> future)Handle the Response Code and transform it to a BKException.
-