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
public static class BookieProtocol.AddResponse extends BookieProtocol.Response
A response that adds data.
-
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.proto.BookieProtocol.Response
entryId, errorCode, ledgerId, opCode, protocolVersion
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) static BookieProtocol.AddResponse
create(byte protocolVersion, int errorCode, long ledgerId, long entryId)
void
recycle()
-
Methods inherited from class org.apache.bookkeeper.proto.BookieProtocol.Response
getEntryId, getErrorCode, getLedgerId, getOpCode, getProtocolVersion, init, release, toString
-
-
-
-
Method Detail
-
create
static BookieProtocol.AddResponse create(byte protocolVersion, int errorCode, long ledgerId, long entryId)
-
recycle
public void recycle()
- Overrides:
recycle
in classBookieProtocol.Response
-
-