Class JobCheckpointingSettings

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

public class JobCheckpointingSettings extends Object implements Serializable
The JobCheckpointingSettings are attached to a JobGraph and describe the settings for the asynchronous checkpoints of the JobGraph, such as interval.
See Also:
  • Constructor Details

    • JobCheckpointingSettings

      @VisibleForTesting public JobCheckpointingSettings(CheckpointCoordinatorConfiguration checkpointCoordinatorConfiguration, @Nullable org.apache.flink.util.SerializedValue<StateBackend> defaultStateBackend)
    • JobCheckpointingSettings

      @VisibleForTesting public JobCheckpointingSettings(CheckpointCoordinatorConfiguration checkpointCoordinatorConfiguration, @Nullable org.apache.flink.util.SerializedValue<StateBackend> defaultStateBackend, @Nullable org.apache.flink.util.TernaryBoolean changelogStateBackendEnabled, @Nullable org.apache.flink.util.SerializedValue<CheckpointStorage> defaultCheckpointStorage, @Nullable org.apache.flink.util.SerializedValue<MasterTriggerRestoreHook.Factory[]> masterHooks)
    • JobCheckpointingSettings

      public JobCheckpointingSettings(CheckpointCoordinatorConfiguration checkpointCoordinatorConfiguration, @Nullable org.apache.flink.util.SerializedValue<StateBackend> defaultStateBackend, @Nullable org.apache.flink.util.TernaryBoolean changelogStateBackendEnabled, @Nullable org.apache.flink.util.SerializedValue<CheckpointStorage> defaultCheckpointStorage, @Nullable org.apache.flink.util.SerializedValue<MasterTriggerRestoreHook.Factory[]> masterHooks, org.apache.flink.util.TernaryBoolean stateBackendUseManagedMemory)
  • Method Details

    • getCheckpointCoordinatorConfiguration

      public CheckpointCoordinatorConfiguration getCheckpointCoordinatorConfiguration()
    • getDefaultStateBackend

      @Nullable public org.apache.flink.util.SerializedValue<StateBackend> getDefaultStateBackend()
    • isChangelogStateBackendEnabled

      public org.apache.flink.util.TernaryBoolean isChangelogStateBackendEnabled()
    • isStateBackendUseManagedMemory

      public org.apache.flink.util.TernaryBoolean isStateBackendUseManagedMemory()
    • getDefaultCheckpointStorage

      @Nullable public org.apache.flink.util.SerializedValue<CheckpointStorage> getDefaultCheckpointStorage()
    • getMasterHooks

      @Nullable public org.apache.flink.util.SerializedValue<MasterTriggerRestoreHook.Factory[]> getMasterHooks()
    • toString

      public String toString()
      Overrides:
      toString in class Object