Class CheckpointCoordinatorDeActivator

  • All Implemented Interfaces:
    JobStatusListener

    public class CheckpointCoordinatorDeActivator
    extends Object
    implements JobStatusListener
    This actor listens to changes in the JobStatus and activates or deactivates the periodic checkpoint scheduler.
    • Constructor Detail

      • CheckpointCoordinatorDeActivator

        public CheckpointCoordinatorDeActivator​(CheckpointCoordinator coordinator,
                                                boolean allTasksOutputNonBlocking)
    • Method Detail

      • jobStatusChanges

        public void jobStatusChanges​(org.apache.flink.api.common.JobID jobId,
                                     org.apache.flink.api.common.JobStatus newJobStatus,
                                     long timestamp)
        Description copied from interface: JobStatusListener
        This method is called whenever the status of the job changes.
        Specified by:
        jobStatusChanges in interface JobStatusListener
        Parameters:
        jobId - The ID of the job.
        newJobStatus - The status the job switched to.
        timestamp - The timestamp when the status transition occurred.