Package org.apache.bookkeeper.proto
Class ResponseBuilder
- java.lang.Object
-
- org.apache.bookkeeper.proto.ResponseBuilder
-
class ResponseBuilder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description ResponseBuilder()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description (package private) static BookieProtocol.Response
buildAddResponse(BookieProtocol.Request r)
(package private) static BookieProtocol.Response
buildBatchedReadResponse(ByteBufList data, BookieProtocol.BatchedReadRequest r)
(package private) static BookieProtocol.Response
buildErrorResponse(int errorCode, BookieProtocol.Request r)
(package private) static BookieProtocol.Response
buildReadResponse(io.netty.buffer.ByteBuf data, BookieProtocol.Request r)
-
-
-
Method Detail
-
buildErrorResponse
static BookieProtocol.Response buildErrorResponse(int errorCode, BookieProtocol.Request r)
-
buildAddResponse
static BookieProtocol.Response buildAddResponse(BookieProtocol.Request r)
-
buildReadResponse
static BookieProtocol.Response buildReadResponse(io.netty.buffer.ByteBuf data, BookieProtocol.Request r)
-
buildBatchedReadResponse
static BookieProtocol.Response buildBatchedReadResponse(ByteBufList data, BookieProtocol.BatchedReadRequest r)
-
-