Package org.apache.bookkeeper.proto
Class BookieProtocol.AddResponse
java.lang.Object
org.apache.bookkeeper.proto.BookieProtocol.Response
org.apache.bookkeeper.proto.BookieProtocol.AddResponse
- Enclosing interface:
- BookieProtocol
A response that adds data.
-
Field Summary
Fields inherited from class org.apache.bookkeeper.proto.BookieProtocol.Response
entryId, errorCode, ledgerId, opCode, protocolVersion -
Method Summary
Modifier and TypeMethodDescription(package private) static BookieProtocol.AddResponsecreate(byte protocolVersion, int errorCode, long ledgerId, long entryId) voidrecycle()Methods inherited from class org.apache.bookkeeper.proto.BookieProtocol.Response
getEntryId, getErrorCode, getLedgerId, getOpCode, getProtocolVersion, init, release, toString
-
Method Details
-
create
static BookieProtocol.AddResponse create(byte protocolVersion, int errorCode, long ledgerId, long entryId) -
recycle
public void recycle()- Overrides:
recyclein classBookieProtocol.Response
-