Package org.apache.bookkeeper.proto
Class BookieProtoEncoding
- java.lang.Object
-
- org.apache.bookkeeper.proto.BookieProtoEncoding
-
public class BookieProtoEncoding extends java.lang.ObjectA class for encoding and decoding the Bookkeeper protocol.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceBookieProtoEncoding.EnDecoderAn encoder/decoder interface for the Bookkeeper protocol.static classBookieProtoEncoding.RequestDecoderA request message decoder.static classBookieProtoEncoding.RequestEncoderA request message encoder.static classBookieProtoEncoding.RequestEnDeCoderPreV3An encoder/decoder for the Bookkeeper protocol before version 3.static classBookieProtoEncoding.RequestEnDecoderV3A request encoder/decoder for the Bookkeeper protocol version 3.static classBookieProtoEncoding.ResponseDecoderA response message decoder.static classBookieProtoEncoding.ResponseEncoderA response message encoder.static classBookieProtoEncoding.ResponseEnDeCoderPreV3A response encoder/decoder for the Bookkeeper protocol before version 3.static classBookieProtoEncoding.ResponseEnDecoderV3A response encoder/decoder for the Bookkeeper protocol version 3.
-
Field Summary
Fields Modifier and Type Field Description static intSMALL_ENTRY_SIZE_THRESHOLDThreshold 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
-
-