Package org.apache.bookkeeper.proto
Class BookieProtocol.ParsedAddRequest
- java.lang.Object
-
- org.apache.bookkeeper.proto.BookieProtocol.Request
-
- org.apache.bookkeeper.proto.BookieProtocol.ParsedAddRequest
-
- Enclosing interface:
- BookieProtocol
public static class BookieProtocol.ParsedAddRequest extends BookieProtocol.Request
This is similar to add request, but it used when processing the request on the bookie side.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) io.netty.buffer.ByteBuf
data
-
Fields inherited from class org.apache.bookkeeper.proto.BookieProtocol.Request
entryId, flags, ledgerId, masterKey, opCode, protocolVersion
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static BookieProtocol.ParsedAddRequest
create(byte protocolVersion, long ledgerId, long entryId, short flags, byte[] masterKey, io.netty.buffer.ByteBuf data)
(package private) io.netty.buffer.ByteBuf
getData()
(package private) boolean
isRecoveryAdd()
void
recycle()
(package private) void
release()
-
Methods inherited from class org.apache.bookkeeper.proto.BookieProtocol.Request
getEntryId, getFlags, getLedgerId, getMasterKey, getOpCode, getProtocolVersion, hasMasterKey, init, isHighPriority, toString
-
-
-
-
Method Detail
-
create
static BookieProtocol.ParsedAddRequest create(byte protocolVersion, long ledgerId, long entryId, short flags, byte[] masterKey, io.netty.buffer.ByteBuf data)
-
getData
io.netty.buffer.ByteBuf getData()
-
isRecoveryAdd
boolean isRecoveryAdd()
-
release
void release()
-
recycle
public void recycle()
- Overrides:
recycle
in classBookieProtocol.Request
-
-