Package org.apache.bookkeeper.proto
Class BookieProtocol.ReadRequest
- java.lang.Object
-
- org.apache.bookkeeper.proto.BookieProtocol.Request
-
- org.apache.bookkeeper.proto.BookieProtocol.ReadRequest
-
- Direct Known Subclasses:
BookieProtocol.BatchedReadRequest
- Enclosing interface:
- BookieProtocol
public static class BookieProtocol.ReadRequest extends BookieProtocol.Request
A Request that reads data.
-
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.proto.BookieProtocol.Request
entryId, flags, ledgerId, masterKey, opCode, protocolVersion
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ReadRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static BookieProtocol.ReadRequest
create(byte protocolVersion, long ledgerId, long entryId, short flags, byte[] masterKey)
(package private) boolean
isFencing()
void
recycle()
-
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.ReadRequest create(byte protocolVersion, long ledgerId, long entryId, short flags, byte[] masterKey)
-
isFencing
boolean isFencing()
-
recycle
public void recycle()
- Overrides:
recycle
in classBookieProtocol.Request
-
-