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

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

      • 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()