Package org.apache.bookkeeper.proto
Classes related to the Bookkeeper protocol.
-
Class Summary Class Description AuthHandler AuthHandler.ClientSideHandler AuthHandler.ServerSideHandler AuthHandler.ServerSideHandler.AuthResponseCallback AuthHandler.ServerSideHandler.AuthResponseCallbackLegacy 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.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 typeAddRequest
BookkeeperProtocol.AddRequest.Builder Protobuf typeAddRequest
BookkeeperProtocol.AddResponse Protobuf typeAddResponse
BookkeeperProtocol.AddResponse.Builder Protobuf typeAddResponse
BookkeeperProtocol.AuthMessage Protobuf typeAuthMessage
BookkeeperProtocol.AuthMessage.Builder Protobuf typeAuthMessage
BookkeeperProtocol.BKPacketHeader Packet header for all requests.BookkeeperProtocol.BKPacketHeader.Builder Packet header for all requests.BookkeeperProtocol.ContextPair Protobuf typeContextPair
BookkeeperProtocol.ContextPair.Builder Protobuf typeContextPair
BookkeeperProtocol.ForceLedgerRequest Protobuf typeForceLedgerRequest
BookkeeperProtocol.ForceLedgerRequest.Builder Protobuf typeForceLedgerRequest
BookkeeperProtocol.ForceLedgerResponse Protobuf typeForceLedgerResponse
BookkeeperProtocol.ForceLedgerResponse.Builder Protobuf typeForceLedgerResponse
BookkeeperProtocol.GetBookieInfoRequest Protobuf typeGetBookieInfoRequest
BookkeeperProtocol.GetBookieInfoRequest.Builder Protobuf typeGetBookieInfoRequest
BookkeeperProtocol.GetBookieInfoResponse Protobuf typeGetBookieInfoResponse
BookkeeperProtocol.GetBookieInfoResponse.Builder Protobuf typeGetBookieInfoResponse
BookkeeperProtocol.GetListOfEntriesOfLedgerRequest Protobuf typeGetListOfEntriesOfLedgerRequest
BookkeeperProtocol.GetListOfEntriesOfLedgerRequest.Builder Protobuf typeGetListOfEntriesOfLedgerRequest
BookkeeperProtocol.GetListOfEntriesOfLedgerResponse Protobuf typeGetListOfEntriesOfLedgerResponse
BookkeeperProtocol.GetListOfEntriesOfLedgerResponse.Builder Protobuf typeGetListOfEntriesOfLedgerResponse
BookkeeperProtocol.ReadLacRequest Protobuf typeReadLacRequest
BookkeeperProtocol.ReadLacRequest.Builder Protobuf typeReadLacRequest
BookkeeperProtocol.ReadLacResponse Protobuf typeReadLacResponse
BookkeeperProtocol.ReadLacResponse.Builder Protobuf typeReadLacResponse
BookkeeperProtocol.ReadRequest Protobuf typeReadRequest
BookkeeperProtocol.ReadRequest.Builder Protobuf typeReadRequest
BookkeeperProtocol.ReadResponse Protobuf typeReadResponse
BookkeeperProtocol.ReadResponse.Builder Protobuf typeReadResponse
BookkeeperProtocol.Request Protobuf typeRequest
BookkeeperProtocol.Request.Builder Protobuf typeRequest
BookkeeperProtocol.Response Protobuf typeResponse
BookkeeperProtocol.Response.Builder Protobuf typeResponse
BookkeeperProtocol.StartTLSRequest Protobuf typeStartTLSRequest
BookkeeperProtocol.StartTLSRequest.Builder Protobuf typeStartTLSRequest
BookkeeperProtocol.StartTLSResponse Protobuf typeStartTLSResponse
BookkeeperProtocol.StartTLSResponse.Builder Protobuf typeStartTLSResponse
BookkeeperProtocol.WriteLacRequest Protobuf typeWriteLacRequest
BookkeeperProtocol.WriteLacRequest.Builder Protobuf typeWriteLacRequest
BookkeeperProtocol.WriteLacResponse Protobuf typeWriteLacResponse
BookkeeperProtocol.WriteLacResponse.Builder Protobuf typeWriteLacResponse
ByteStringUtil 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.cMetadataMapEntry
DataFormats.LedgerMetadataFormat.cMetadataMapEntry.Builder Protobuf typeLedgerMetadataFormat.cMetadataMapEntry
DataFormats.LedgerMetadataFormat.Segment Protobuf typeLedgerMetadataFormat.Segment
DataFormats.LedgerMetadataFormat.Segment.Builder Protobuf typeLedgerMetadataFormat.Segment
DataFormats.LedgerRereplicationLayoutFormat Protobuf typeLedgerRereplicationLayoutFormat
DataFormats.LedgerRereplicationLayoutFormat.Builder Protobuf typeLedgerRereplicationLayoutFormat
DataFormats.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 typeUnderreplicatedLedgerFormat
DataFormats.UnderreplicatedLedgerFormat.Builder Protobuf typeUnderreplicatedLedgerFormat
DefaultPerChannelBookieClientPool Provide a simple round-robin style channel pool.ForceLedgerProcessorV3 GetBookieInfoProcessorV3 A processor class for v3 bookie metadata packets.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.ReadEntryProcessor ReadEntryProcessorV3 ReadLacProcessorV3 A read processor for v3 last add confirmed messages.ReadLastConfirmedAndEntryContext ABookkeeperInternalCallbacks.ReadEntryCallbackCtx
for long poll read requests.RequestStats A umbrella class for request related stats.RequestUtils Utilities for requests.ResponseBuilder SimpleBookieServiceInfoProvider Simple Implementation of BookieServiceInfo supplier.WriteEntryProcessor Processes add entry requests.WriteEntryProcessorV3 WriteLacProcessorV3 -
Enum Summary Enum Description BookkeeperProtocol.AddRequest.Flag Protobuf enumAddRequest.Flag
BookkeeperProtocol.GetBookieInfoRequest.Flags Protobuf enumGetBookieInfoRequest.Flags
BookkeeperProtocol.OperationType Supported operations by this protocol.BookkeeperProtocol.ProtocolVersion Protocol Versions.BookkeeperProtocol.ReadRequest.Flag Protobuf enumReadRequest.Flag
BookkeeperProtocol.StatusCode Status codes.DataFormats.LedgerMetadataFormat.DigestType Protobuf enumLedgerMetadataFormat.DigestType
DataFormats.LedgerMetadataFormat.State Protobuf enumLedgerMetadataFormat.State
PerChannelBookieClient.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.