Class NetworkActionsLogger
- java.lang.Object
-
- org.apache.flink.runtime.io.network.logger.NetworkActionsLogger
-
public class NetworkActionsLogger extends Object
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 Constructor Description NetworkActionsLogger()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CloseablemeasureIO(String action, Object entity)static 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)
-
-
-
Method Detail
-
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
public static void tracePersist(String action, Buffer buffer, Object channelInfo, long checkpointId)
-
-