Class CheckpointMetrics
java.lang.Object
org.apache.flink.runtime.checkpoint.CheckpointMetrics
- All Implemented Interfaces:
Serializable
A collection of simple metrics, around the triggering of a checkpoint.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCheckpointMetrics(long bytesProcessedDuringAlignment, long bytesPersistedDuringAlignment, long alignmentDurationNanos, long syncDurationMillis, long asyncDurationMillis, long checkpointStartDelayNanos, boolean unalignedCheckpoint, long bytesPersistedOfThisCheckpoint, long totalBytesPersisted) -
Method Summary
-
Field Details
-
UNSET
public static final long UNSET- See Also:
-
-
Constructor Details
-
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 Details
-
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() -
equals
-
hashCode
public int hashCode() -
toString
-