public interface JobStatusListener
|Modifier and Type||Method and Description|
This method is called whenever the status of the job changes.
void jobStatusChanges(JobID jobId, JobStatus newJobStatus, long timestamp, Throwable error)
jobId- 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.