Class CheckpointCoordinatorConfiguration

java.lang.Object
org.apache.flink.runtime.jobgraph.tasks.CheckpointCoordinatorConfiguration
All Implemented Interfaces:
Serializable

public class CheckpointCoordinatorConfiguration extends Object implements Serializable
Configuration settings for the CheckpointCoordinator. This includes the checkpoint interval, the checkpoint timeout, the pause between checkpoints, the maximum number of concurrent checkpoints and settings for externalized checkpoints.
See Also:
  • Field Details

    • MINIMAL_CHECKPOINT_TIME

      public static final long MINIMAL_CHECKPOINT_TIME
      See Also:
    • DISABLED_CHECKPOINT_INTERVAL

      public static final long DISABLED_CHECKPOINT_INTERVAL
      See Also:
  • Constructor Details

    • CheckpointCoordinatorConfiguration

      @Deprecated @VisibleForTesting public CheckpointCoordinatorConfiguration(long checkpointInterval, long checkpointTimeout, long minPauseBetweenCheckpoints, int maxConcurrentCheckpoints, CheckpointRetentionPolicy checkpointRetentionPolicy, boolean isExactlyOnce, boolean isUnalignedCheckpoint, int tolerableCpFailureNumber, long checkpointIdOfIgnoredInFlightData)
      Deprecated.
  • Method Details

    • getCheckpointInterval

      public long getCheckpointInterval()
    • isCheckpointingEnabled

      public boolean isCheckpointingEnabled()
    • getCheckpointIntervalDuringBacklog

      public long getCheckpointIntervalDuringBacklog()
    • getCheckpointTimeout

      public long getCheckpointTimeout()
    • getMinPauseBetweenCheckpoints

      public long getMinPauseBetweenCheckpoints()
    • getMaxConcurrentCheckpoints

      public int getMaxConcurrentCheckpoints()
    • getCheckpointRetentionPolicy

      public CheckpointRetentionPolicy getCheckpointRetentionPolicy()
    • isExactlyOnce

      public boolean isExactlyOnce()
    • getTolerableCheckpointFailureNumber

      public int getTolerableCheckpointFailureNumber()
    • isUnalignedCheckpointsEnabled

      public boolean isUnalignedCheckpointsEnabled()
    • getAlignedCheckpointTimeout

      public long getAlignedCheckpointTimeout()
    • getCheckpointIdOfIgnoredInFlightData

      public long getCheckpointIdOfIgnoredInFlightData()
    • isEnableCheckpointsAfterTasksFinish

      public boolean isEnableCheckpointsAfterTasksFinish()
    • 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
    • builder