Class CheckpointCoordinatorDeActivator
- java.lang.Object
-
- org.apache.flink.runtime.checkpoint.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 Summary
Constructors Constructor Description CheckpointCoordinatorDeActivator(CheckpointCoordinator coordinator, boolean allTasksOutputNonBlocking)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidjobStatusChanges(org.apache.flink.api.common.JobID jobId, org.apache.flink.api.common.JobStatus newJobStatus, long timestamp)This method is called whenever the status of the job changes.
-
-
-
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:JobStatusListenerThis method is called whenever the status of the job changes.- Specified by:
jobStatusChangesin interfaceJobStatusListener- Parameters:
jobId- The ID of the job.newJobStatus- The status the job switched to.timestamp- The timestamp when the status transition occurred.
-
-