Package org.apache.bookkeeper.proto
Class BookieProtoEncoding
java.lang.Object
org.apache.bookkeeper.proto.BookieProtoEncoding
A class for encoding and decoding the Bookkeeper protocol.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceAn encoder/decoder interface for the Bookkeeper protocol.static classA request message decoder.static classA request message encoder.static classAn encoder/decoder for the Bookkeeper protocol before version 3.static classA request encoder/decoder for the Bookkeeper protocol version 3.static classA response message decoder.static classA response message encoder.static classA response encoder/decoder for the Bookkeeper protocol before version 3.static classA response encoder/decoder for the Bookkeeper protocol version 3. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThreshold under which an entry is considered to be "small". -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SMALL_ENTRY_SIZE_THRESHOLD
public static final int SMALL_ENTRY_SIZE_THRESHOLDThreshold under which an entry is considered to be "small". Small entries payloads are copied instead of being passed around as references.- See Also:
-
-
Constructor Details
-
BookieProtoEncoding
public BookieProtoEncoding()
-