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 long
UNSET
-
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 boolean
equals(Object o)
long
getAlignmentDurationNanos()
long
getAsyncDurationMillis()
long
getBytesPersistedDuringAlignment()
long
getBytesPersistedOfThisCheckpoint()
long
getBytesProcessedDuringAlignment()
long
getCheckpointStartDelayNanos()
long
getSyncDurationMillis()
long
getTotalBytesPersisted()
boolean
getUnalignedCheckpoint()
int
hashCode()
String
toString()
-
-
-
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()
-
-