Package org.apache.bookkeeper.proto
Class WriteEntryProcessorV3
- java.lang.Object
-
- org.apache.bookkeeper.util.SafeRunnable
-
- org.apache.bookkeeper.proto.PacketProcessorBaseV3
-
- org.apache.bookkeeper.proto.WriteEntryProcessorV3
-
- All Implemented Interfaces:
java.lang.Runnable
,SafeRunnable
class WriteEntryProcessorV3 extends PacketProcessorBaseV3
-
-
Field Summary
-
Fields inherited from class org.apache.bookkeeper.proto.PacketProcessorBaseV3
channel, enqueueNanos, request, requestProcessor
-
Fields inherited from interface org.apache.bookkeeper.common.util.SafeRunnable
LOGGER
-
-
Constructor Summary
Constructors Constructor Description WriteEntryProcessorV3(org.apache.bookkeeper.proto.BookkeeperProtocol.Request request, io.netty.channel.Channel channel, BookieRequestProcessor requestProcessor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
safeRun()
protected void
sendResponse(org.apache.bookkeeper.proto.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
-
Methods inherited from class org.apache.bookkeeper.util.SafeRunnable
safeRun, safeRun
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.bookkeeper.common.util.SafeRunnable
run
-
-
-
-
Constructor Detail
-
WriteEntryProcessorV3
public WriteEntryProcessorV3(org.apache.bookkeeper.proto.BookkeeperProtocol.Request request, io.netty.channel.Channel channel, BookieRequestProcessor requestProcessor)
-
-
Method Detail
-
safeRun
public void safeRun()
-
sendResponse
protected void sendResponse(org.apache.bookkeeper.proto.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
-
-