Package org.apache.bookkeeper.proto
Class WriteEntryProcessorV3
- java.lang.Object
-
- org.apache.bookkeeper.proto.PacketProcessorBaseV3
-
- org.apache.bookkeeper.proto.WriteEntryProcessorV3
-
- All Implemented Interfaces:
java.lang.Runnable
class WriteEntryProcessorV3 extends PacketProcessorBaseV3
-
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.proto.PacketProcessorBaseV3
enqueueNanos, request, requestHandler, requestProcessor
-
-
Constructor Summary
Constructors Constructor Description WriteEntryProcessorV3(BookkeeperProtocol.Request request, BookieRequestHandler requestHandler, BookieRequestProcessor requestProcessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
protected void
sendResponse(BookkeeperProtocol.StatusCode code, java.lang.Object response, OpStatsLogger statsLogger)
java.lang.String
toString()
this toString method filters out body and masterKey from the output.-
Methods inherited from class org.apache.bookkeeper.proto.PacketProcessorBaseV3
getHeader, isVersionCompatible
-
-
-
-
Constructor Detail
-
WriteEntryProcessorV3
public WriteEntryProcessorV3(BookkeeperProtocol.Request request, BookieRequestHandler requestHandler, BookieRequestProcessor requestProcessor)
-
-
Method Detail
-
run
public void run()
-
sendResponse
protected void sendResponse(BookkeeperProtocol.StatusCode code, java.lang.Object response, OpStatsLogger statsLogger)
- Overrides:
sendResponse
in classPacketProcessorBaseV3
-
toString
public java.lang.String toString()
this toString method filters out body and masterKey from the output. masterKey contains the password of the ledger and body is customer data, so it is not appropriate to have these in logs or system output.- Overrides:
toString
in classPacketProcessorBaseV3
-
-