Class 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:
    Serialized Form
    • Field Detail

      • MINIMAL_CHECKPOINT_TIME

        public static final long MINIMAL_CHECKPOINT_TIME
        See Also:
        Constant Field Values
      • DISABLED_CHECKPOINT_INTERVAL

        public static final long DISABLED_CHECKPOINT_INTERVAL
        See Also:
        Constant Field Values
    • Constructor Detail

      • 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 Detail

      • getCheckpointInterval

        public long getCheckpointInterval()
      • isCheckpointingEnabled

        public boolean isCheckpointingEnabled()
      • getCheckpointIntervalDuringBacklog

        public long getCheckpointIntervalDuringBacklog()
      • getCheckpointTimeout

        public long getCheckpointTimeout()
      • getMinPauseBetweenCheckpoints

        public long getMinPauseBetweenCheckpoints()
      • getMaxConcurrentCheckpoints

        public int getMaxConcurrentCheckpoints()
      • isExactlyOnce

        public boolean isExactlyOnce()
      • getTolerableCheckpointFailureNumber

        public int getTolerableCheckpointFailureNumber()
      • isUnalignedCheckpointsEnabled

        public boolean isUnalignedCheckpointsEnabled()
      • getAlignedCheckpointTimeout

        public long getAlignedCheckpointTimeout()
      • getCheckpointIdOfIgnoredInFlightData

        public long getCheckpointIdOfIgnoredInFlightData()
      • isEnableCheckpointsAfterTasksFinish

        public boolean isEnableCheckpointsAfterTasksFinish()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object