Interface CheckpointRecoveryFactory

    • Method Detail

      • createRecoveredCompletedCheckpointStore

        CompletedCheckpointStore createRecoveredCompletedCheckpointStore​(org.apache.flink.api.common.JobID jobId,
                                                                         int maxNumberOfCheckpointsToRetain,
                                                                         SharedStateRegistryFactory sharedStateRegistryFactory,
                                                                         Executor ioExecutor,
                                                                         org.apache.flink.core.execution.RecoveryClaimMode recoveryClaimMode)
                                                                  throws Exception
        Creates a RECOVERED CompletedCheckpointStore instance for a job. In this context, RECOVERED means, that if we already have completed checkpoints from previous runs, we should use them as the initial state.
        Parameters:
        jobId - Job ID to recover checkpoints for
        maxNumberOfCheckpointsToRetain - Maximum number of checkpoints to retain
        sharedStateRegistryFactory - Simple factory to produce SharedStateRegistry objects.
        ioExecutor - Executor used to run (async) deletes.
        recoveryClaimMode - the claim mode with which the job is restoring.
        Returns:
        CompletedCheckpointStore instance for the job
        Throws:
        Exception