Class CheckpointMetrics
- java.lang.Object
-
- org.apache.flink.runtime.checkpoint.CheckpointMetrics
-
- All Implemented Interfaces:
Serializable
public class CheckpointMetrics extends Object implements Serializable
A collection of simple metrics, around the triggering of a checkpoint.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static longUNSET
-
Constructor Summary
Constructors Constructor Description CheckpointMetrics()CheckpointMetrics(long bytesProcessedDuringAlignment, long bytesPersistedDuringAlignment, long alignmentDurationNanos, long syncDurationMillis, long asyncDurationMillis, long checkpointStartDelayNanos, boolean unalignedCheckpoint, long bytesPersistedOfThisCheckpoint, long totalBytesPersisted)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)longgetAlignmentDurationNanos()longgetAsyncDurationMillis()longgetBytesPersistedDuringAlignment()longgetBytesPersistedOfThisCheckpoint()longgetBytesProcessedDuringAlignment()longgetCheckpointStartDelayNanos()longgetSyncDurationMillis()longgetTotalBytesPersisted()booleangetUnalignedCheckpoint()inthashCode()StringtoString()
-
-
-
Field Detail
-
UNSET
public static final long UNSET
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
CheckpointMetrics
@VisibleForTesting public CheckpointMetrics()
-
CheckpointMetrics
public CheckpointMetrics(long bytesProcessedDuringAlignment, long bytesPersistedDuringAlignment, long alignmentDurationNanos, long syncDurationMillis, long asyncDurationMillis, long checkpointStartDelayNanos, boolean unalignedCheckpoint, long bytesPersistedOfThisCheckpoint, long totalBytesPersisted)
-
-
Method Detail
-
getBytesProcessedDuringAlignment
public long getBytesProcessedDuringAlignment()
-
getBytesPersistedDuringAlignment
public long getBytesPersistedDuringAlignment()
-
getAlignmentDurationNanos
public long getAlignmentDurationNanos()
-
getSyncDurationMillis
public long getSyncDurationMillis()
-
getAsyncDurationMillis
public long getAsyncDurationMillis()
-
getCheckpointStartDelayNanos
public long getCheckpointStartDelayNanos()
-
getUnalignedCheckpoint
public boolean getUnalignedCheckpoint()
-
getBytesPersistedOfThisCheckpoint
public long getBytesPersistedOfThisCheckpoint()
-
getTotalBytesPersisted
public long getTotalBytesPersisted()
-
-