Class NetworkActionsLogger
java.lang.Object
org.apache.flink.runtime.io.network.logger.NetworkActionsLogger
Utility class for logging actions that happened in the network stack for debugging purposes.
Action parameter typically includes class and method names.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic Closeablestatic voidtraceInput(String action, Buffer buffer, String taskName, InputChannelInfo channelInfo, ChannelStatePersister channelStatePersister, int sequenceNumber) static voidtraceOutput(String action, Buffer buffer, String taskName, ResultSubpartitionInfo channelInfo) static voidtracePersist(String action, Buffer buffer, Object channelInfo, long checkpointId) static voidtraceRecover(String action, BufferConsumer bufferConsumer, String taskName, ResultSubpartitionInfo channelInfo) static voidtraceRecover(String action, Buffer buffer, String taskName, InputChannelInfo channelInfo)
-
Constructor Details
-
NetworkActionsLogger
public NetworkActionsLogger()
-
-
Method Details
-
traceInput
public static void traceInput(String action, Buffer buffer, String taskName, InputChannelInfo channelInfo, ChannelStatePersister channelStatePersister, int sequenceNumber) -
traceOutput
public static void traceOutput(String action, Buffer buffer, String taskName, ResultSubpartitionInfo channelInfo) -
traceRecover
public static void traceRecover(String action, Buffer buffer, String taskName, InputChannelInfo channelInfo) -
traceRecover
public static void traceRecover(String action, BufferConsumer bufferConsumer, String taskName, ResultSubpartitionInfo channelInfo) -
tracePersist
-
measureIO
-