Package org.apache.bookkeeper.proto
Classes related to the Bookkeeper protocol.
-
Class Summary Class Description AddCompletion AuthHandler AuthHandler.ClientSideHandler AuthHandler.ServerSideHandler AuthHandler.ServerSideHandler.AuthResponseCallback AuthHandler.ServerSideHandler.AuthResponseCallbackLegacy BatchedReadCompletion BatchedReadEntryProcessor BKStats Bookie Server Stats.BKStats.OpStatData A read view of stats, also used in CompositeViewData to expose to JMX.BKStats.OpStats Operation Statistics.BookieClientImpl Implements the client-side part of the BookKeeper protocol.BookieClientImpl.ChannelReadyForAddEntryCallback BookieNettyServer Netty server for serving bookie requests.BookieProtocol.AddResponse A response that adds data.BookieProtocol.AuthRequest An authentication request.BookieProtocol.AuthResponse A response with an authentication message.BookieProtocol.BatchedReadRequest The request for reading data with batch optimization.BookieProtocol.BatchedReadResponse The response for batched read.BookieProtocol.ErrorResponse An error response.BookieProtocol.PacketHeader The first int of a packet is the header.BookieProtocol.ParsedAddRequest This is similar to add request, but it used when processing the request on the bookie side.BookieProtocol.ReadRequest A Request that reads data.BookieProtocol.ReadResponse A request that reads data.BookieProtocol.Request A Bookie request object.BookieProtocol.Response A response object.BookieProtoEncoding A class for encoding and decoding the Bookkeeper protocol.BookieProtoEncoding.RequestDecoder A request message decoder.BookieProtoEncoding.RequestEncoder A request message encoder.BookieProtoEncoding.RequestEnDeCoderPreV3 An encoder/decoder for the Bookkeeper protocol before version 3.BookieProtoEncoding.RequestEnDecoderV3 A request encoder/decoder for the Bookkeeper protocol version 3.BookieProtoEncoding.ResponseDecoder A response message decoder.BookieProtoEncoding.ResponseEncoder A response message encoder.BookieProtoEncoding.ResponseEnDeCoderPreV3 A response encoder/decoder for the Bookkeeper protocol before version 3.BookieProtoEncoding.ResponseEnDecoderV3 A response encoder/decoder for the Bookkeeper protocol version 3.BookieRequestHandler Serverside handler for bookkeeper requests.BookieRequestProcessor An implementation of the RequestProcessor interface.BookieServer Implements the server-side part of the BookKeeper protocol.BookkeeperInternalCallbacks Declaration of a callback interfaces used in bookkeeper client library but not exposed to the client application.BookkeeperInternalCallbacks.FutureGetListOfEntriesOfLedger Future for GetListOfEntriesOfLedger.BookkeeperInternalCallbacks.GenericCallbackFuture<T> Generic callback future.BookkeeperInternalCallbacks.MultiCallback This is a multi callback object that waits for all of the multiple async operations to complete.BookkeeperInternalCallbacks.TimedGenericCallback<T> A callback implementation with an internal timer.BookkeeperProtocol BookkeeperProtocol.AddRequest Protobuf typeAddRequestBookkeeperProtocol.AddRequest.Builder Protobuf typeAddRequestBookkeeperProtocol.AddResponse Protobuf typeAddResponseBookkeeperProtocol.AddResponse.Builder Protobuf typeAddResponseBookkeeperProtocol.AuthMessage Protobuf typeAuthMessageBookkeeperProtocol.AuthMessage.Builder Protobuf typeAuthMessageBookkeeperProtocol.BKPacketHeader Packet header for all requests.BookkeeperProtocol.BKPacketHeader.Builder Packet header for all requests.BookkeeperProtocol.ContextPair Protobuf typeContextPairBookkeeperProtocol.ContextPair.Builder Protobuf typeContextPairBookkeeperProtocol.ForceLedgerRequest Protobuf typeForceLedgerRequestBookkeeperProtocol.ForceLedgerRequest.Builder Protobuf typeForceLedgerRequestBookkeeperProtocol.ForceLedgerResponse Protobuf typeForceLedgerResponseBookkeeperProtocol.ForceLedgerResponse.Builder Protobuf typeForceLedgerResponseBookkeeperProtocol.GetBookieInfoRequest Protobuf typeGetBookieInfoRequestBookkeeperProtocol.GetBookieInfoRequest.Builder Protobuf typeGetBookieInfoRequestBookkeeperProtocol.GetBookieInfoResponse Protobuf typeGetBookieInfoResponseBookkeeperProtocol.GetBookieInfoResponse.Builder Protobuf typeGetBookieInfoResponseBookkeeperProtocol.GetListOfEntriesOfLedgerRequest Protobuf typeGetListOfEntriesOfLedgerRequestBookkeeperProtocol.GetListOfEntriesOfLedgerRequest.Builder Protobuf typeGetListOfEntriesOfLedgerRequestBookkeeperProtocol.GetListOfEntriesOfLedgerResponse Protobuf typeGetListOfEntriesOfLedgerResponseBookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder Protobuf typeGetListOfEntriesOfLedgerResponseBookkeeperProtocol.ReadLacRequest Protobuf typeReadLacRequestBookkeeperProtocol.ReadLacRequest.Builder Protobuf typeReadLacRequestBookkeeperProtocol.ReadLacResponse Protobuf typeReadLacResponseBookkeeperProtocol.ReadLacResponse.Builder Protobuf typeReadLacResponseBookkeeperProtocol.ReadRequest Protobuf typeReadRequestBookkeeperProtocol.ReadRequest.Builder Protobuf typeReadRequestBookkeeperProtocol.ReadResponse Protobuf typeReadResponseBookkeeperProtocol.ReadResponse.Builder Protobuf typeReadResponseBookkeeperProtocol.Request Protobuf typeRequestBookkeeperProtocol.Request.Builder Protobuf typeRequestBookkeeperProtocol.Response Protobuf typeResponseBookkeeperProtocol.Response.Builder Protobuf typeResponseBookkeeperProtocol.StartTLSRequest Protobuf typeStartTLSRequestBookkeeperProtocol.StartTLSRequest.Builder Protobuf typeStartTLSRequestBookkeeperProtocol.StartTLSResponse Protobuf typeStartTLSResponseBookkeeperProtocol.StartTLSResponse.Builder Protobuf typeStartTLSResponseBookkeeperProtocol.WriteLacRequest Protobuf typeWriteLacRequestBookkeeperProtocol.WriteLacRequest.Builder Protobuf typeWriteLacRequestBookkeeperProtocol.WriteLacResponse Protobuf typeWriteLacResponseBookkeeperProtocol.WriteLacResponse.Builder Protobuf typeWriteLacResponseByteStringUtil CompletionKey CompletionValue DataFormats DataFormats.AuditorVoteFormat Debug information for auditor votesDataFormats.AuditorVoteFormat.Builder Debug information for auditor votesDataFormats.BookieServiceInfoFormat information about services exposed by a Bookie.DataFormats.BookieServiceInfoFormat.Builder information about services exposed by a Bookie.DataFormats.BookieServiceInfoFormat.Endpoint Information about an endpoint.DataFormats.BookieServiceInfoFormat.Endpoint.Builder Information about an endpoint.DataFormats.CheckAllLedgersFormat information of checkAllLedgers executionDataFormats.CheckAllLedgersFormat.Builder information of checkAllLedgers executionDataFormats.CookieFormat Cookie format for storing cookie informationDataFormats.CookieFormat.Builder Cookie format for storing cookie informationDataFormats.LedgerMetadataFormat Metadata format for storing ledger informationDataFormats.LedgerMetadataFormat.Builder Metadata format for storing ledger informationDataFormats.LedgerMetadataFormat.cMetadataMapEntry Protobuf typeLedgerMetadataFormat.cMetadataMapEntryDataFormats.LedgerMetadataFormat.cMetadataMapEntry.Builder Protobuf typeLedgerMetadataFormat.cMetadataMapEntryDataFormats.LedgerMetadataFormat.Segment Protobuf typeLedgerMetadataFormat.SegmentDataFormats.LedgerMetadataFormat.Segment.Builder Protobuf typeLedgerMetadataFormat.SegmentDataFormats.LedgerRereplicationLayoutFormat Protobuf typeLedgerRereplicationLayoutFormatDataFormats.LedgerRereplicationLayoutFormat.Builder Protobuf typeLedgerRereplicationLayoutFormatDataFormats.LockDataFormat Debug information for locksDataFormats.LockDataFormat.Builder Debug information for locksDataFormats.PlacementPolicyCheckFormat information of PlacementPolicyCheck executionDataFormats.PlacementPolicyCheckFormat.Builder information of PlacementPolicyCheck executionDataFormats.ReplicasCheckFormat information of ReplicasCheck executionDataFormats.ReplicasCheckFormat.Builder information of ReplicasCheck executionDataFormats.UnderreplicatedLedgerFormat Protobuf typeUnderreplicatedLedgerFormatDataFormats.UnderreplicatedLedgerFormat.Builder Protobuf typeUnderreplicatedLedgerFormatDefaultPerChannelBookieClientPool Provide a simple round-robin style channel pool.EntryCompletionKey ForceLedgerCompletion ForceLedgerProcessorV3 GetBookieInfoCompletion GetBookieInfoProcessorV3 A processor class for v3 bookie metadata packets.GetListOfEntriesOfLedgerCompletion GetListOfEntriesOfLedgerProcessorV3 A processor class for v3 entries of a ledger packets.LocalBookiesRegistry Local registry for embedded Bookies.LongPollReadEntryProcessorV3 Processor handling long poll read entry request.PacketProcessorBase<T extends BookieProtocol.Request> A base class for bookeeper packet processors.PacketProcessorBaseV3 A base class for bookkeeper protocol v3 packet processors.PerChannelBookieClient This class manages all details of connection to a particular bookie.PerChannelBookieClient.ContextPreservingFutureListener Decorator to preserve MDC for connection listener.ReadCompletion ReadEntryProcessor ReadEntryProcessorV3 ReadLacCompletion ReadLacProcessorV3 A read processor for v3 last add confirmed messages.ReadLastConfirmedAndEntryContext ABookkeeperInternalCallbacks.ReadEntryCallbackCtxfor long poll read requests.RequestStats A umbrella class for request related stats.RequestUtils Utilities for requests.ResponseBuilder SimpleBookieServiceInfoProvider Simple Implementation of BookieServiceInfo supplier.StartTLSCompletion TxnCompletionKey WriteEntryProcessor Processes add entry requests.WriteEntryProcessorV3 WriteLacCompletion WriteLacProcessorV3 -
Enum Summary Enum Description BookkeeperProtocol.AddRequest.Flag Protobuf enumAddRequest.FlagBookkeeperProtocol.GetBookieInfoRequest.Flags Protobuf enumGetBookieInfoRequest.FlagsBookkeeperProtocol.OperationType Supported operations by this protocol.BookkeeperProtocol.ProtocolVersion Protocol Versions.BookkeeperProtocol.ReadRequest.Flag Protobuf enumReadRequest.FlagBookkeeperProtocol.StatusCode Status codes.DataFormats.LedgerMetadataFormat.DigestType Protobuf enumLedgerMetadataFormat.DigestTypeDataFormats.LedgerMetadataFormat.State Protobuf enumLedgerMetadataFormat.StatePerChannelBookieClient.ConnectionState -
Exception Summary Exception Description AuthHandler.AuthenticationException BookieAddressResolver.BookieIdNotResolvedException This error happens when there is not enough information to resolve a BookieId to a BookieSocketAddress, this can happen when the Bookie is down and it is not publishing its EndpointInfo.