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:
  • Field Details

  • 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

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object