Class CheckpointCoordinatorDeActivator
java.lang.Object
org.apache.flink.runtime.checkpoint.CheckpointCoordinatorDeActivator
- All Implemented Interfaces:
JobStatusListener
This actor listens to changes in the JobStatus and activates or deactivates the periodic
checkpoint scheduler.
-
Constructor Summary
ConstructorsConstructorDescriptionCheckpointCoordinatorDeActivator(CheckpointCoordinator coordinator, boolean allTasksOutputNonBlocking) -
Method Summary
Modifier and TypeMethodDescriptionvoidjobStatusChanges(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 Details
-
CheckpointCoordinatorDeActivator
public CheckpointCoordinatorDeActivator(CheckpointCoordinator coordinator, boolean allTasksOutputNonBlocking)
-
-
Method Details
-
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.
-