Package org.apache.bookkeeper.proto
Class WriteLacProcessorV3
- java.lang.Object
-
- org.apache.bookkeeper.util.SafeRunnable
-
- org.apache.bookkeeper.proto.PacketProcessorBaseV3
-
- org.apache.bookkeeper.proto.WriteLacProcessorV3
-
- All Implemented Interfaces:
java.lang.Runnable
,SafeRunnable
class WriteLacProcessorV3 extends PacketProcessorBaseV3 implements java.lang.Runnable
-
-
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 WriteLacProcessorV3(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()
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, sendResponse
-
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
-
WriteLacProcessorV3
public WriteLacProcessorV3(org.apache.bookkeeper.proto.BookkeeperProtocol.Request request, io.netty.channel.Channel channel, BookieRequestProcessor requestProcessor)
-
-
Method Detail
-
safeRun
public void safeRun()
- Specified by:
safeRun
in interfaceSafeRunnable
-
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
-
-