Package org.apache.bookkeeper.proto
Class BookieProtocol.AddRequest
- java.lang.Object
-
- org.apache.bookkeeper.proto.BookieProtocol.Request
-
- org.apache.bookkeeper.proto.BookieProtocol.AddRequest
-
- Enclosing interface:
- BookieProtocol
public static class BookieProtocol.AddRequest extends BookieProtocol.Request
A Request that adds data.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) ByteBufListdata-
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.AddRequestcreate(byte protocolVersion, long ledgerId, long entryId, short flags, byte[] masterKey, ByteBufList data)(package private) ByteBufListgetData()(package private) booleanisRecoveryAdd()voidrecycle()-
Methods inherited from class org.apache.bookkeeper.proto.BookieProtocol.Request
getEntryId, getFlags, getLedgerId, getMasterKey, getOpCode, getProtocolVersion, hasMasterKey, init, isHighPriority, toString
-
-
-
-
Field Detail
-
data
ByteBufList data
-
-
Method Detail
-
create
static BookieProtocol.AddRequest create(byte protocolVersion, long ledgerId, long entryId, short flags, byte[] masterKey, ByteBufList data)
-
getData
ByteBufList getData()
-
isRecoveryAdd
boolean isRecoveryAdd()
-
recycle
public void recycle()
- Overrides:
recyclein classBookieProtocol.Request
-
-