public interface JobCallback
JobExecutor| Modifier and Type | Method and Description |
|---|---|
void |
completed(JobResponse response)
Called when the executor has completed the processing of the job request.
|
void |
created(JobResponse response)
Called when a job has been created.
|
void |
exception(JobResponse response,
Exception e)
Called when an exception has occurred.
|
void |
failed(JobResponse response)
Called when a job has failed.
|
void |
interruption(JobResponse response)
Called when a job is being interrupted or has already been interrupted.
|
void |
processed(JobResponse response)
Called when a job has been processed.
|
void |
running(JobResponse response)
Called when a job has started to run.
|
void |
submitted(JobResponse response)
Called when a job has been submitted.
|
void created(JobResponse response)
response - The job response providing data about the executing job.JobExecutionStatus.CREATEDvoid submitted(JobResponse response)
response - The job response providing data about the executing job.JobExecutionStatus.NOT_STARTEDvoid running(JobResponse response)
response - The job response providing data about the executing job.JobExecutionStatus.RUNNINGvoid processed(JobResponse response)
response - The job response providing data about the executing job.JobExecutionStatus.PROCESSEDvoid failed(JobResponse response)
response - The job response providing data about the executing job.JobExecutionStatus.FAILEDvoid interruption(JobResponse response)
response - The job response providing data about the executing job.JobExecutionStatus.INTERRUPTING,
JobExecutionStatus.INTERRUPTEDvoid exception(JobResponse response, Exception e)
response - The job response providing data about the executing job.e - The raised exception.void completed(JobResponse response)
response - The job response providing data about the executing job.Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.