public class CheckpointCoordinatorDeActivator extends Object implements JobStatusListener
| Constructor and Description |
|---|
CheckpointCoordinatorDeActivator(CheckpointCoordinator coordinator) |
| Modifier and Type | Method and Description |
|---|---|
void |
jobStatusChanges(org.apache.flink.api.common.JobID jobId,
org.apache.flink.api.common.JobStatus newJobStatus,
long timestamp,
Throwable error)
This method is called whenever the status of the job changes.
|
public CheckpointCoordinatorDeActivator(CheckpointCoordinator coordinator)
public void jobStatusChanges(org.apache.flink.api.common.JobID jobId,
org.apache.flink.api.common.JobStatus newJobStatus,
long timestamp,
Throwable error)
JobStatusListenerjobStatusChanges in interface JobStatusListenerjobId - The ID of the job.newJobStatus - The status the job switched to.timestamp - The timestamp when the status transition occurred.error - In case the job status switches to a failure state, this is the
exception that caused the failure.Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.