Package org.apache.bookkeeper.proto
Class BookieProtoEncoding
- java.lang.Object
-
- org.apache.bookkeeper.proto.BookieProtoEncoding
-
public class BookieProtoEncoding extends java.lang.Object
A class for encoding and decoding the Bookkeeper protocol.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
BookieProtoEncoding.EnDecoder
An encoder/decoder interface for the Bookkeeper protocol.static class
BookieProtoEncoding.RequestDecoder
A request message decoder.static class
BookieProtoEncoding.RequestEncoder
A request message encoder.static class
BookieProtoEncoding.RequestEnDeCoderPreV3
An encoder/decoder for the Bookkeeper protocol before version 3.static class
BookieProtoEncoding.RequestEnDecoderV3
A request encoder/decoder for the Bookkeeper protocol version 3.static class
BookieProtoEncoding.ResponseDecoder
A response message decoder.static class
BookieProtoEncoding.ResponseEncoder
A response message encoder.static class
BookieProtoEncoding.ResponseEnDeCoderPreV3
A response encoder/decoder for the Bookkeeper protocol before version 3.static class
BookieProtoEncoding.ResponseEnDecoderV3
A response encoder/decoder for the Bookkeeper protocol version 3.
-
Field Summary
Fields Modifier and Type Field Description static int
SMALL_ENTRY_SIZE_THRESHOLD
Threshold under which an entry is considered to be "small".
-
Constructor Summary
Constructors Constructor Description BookieProtoEncoding()
-
-
-
Field Detail
-
SMALL_ENTRY_SIZE_THRESHOLD
public static final int SMALL_ENTRY_SIZE_THRESHOLD
Threshold under which an entry is considered to be "small". Small entries payloads are copied instead of being passed around as references.- See Also:
- Constant Field Values
-
-