All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ibm.optim.oaas.client.job.JobCallback.html Maven / Gradle / Ivy

The newest version!






JobCallback (Java Client for DOcplexcloud 1.0 API)











com.ibm.optim.oaas.client.job

Interface JobCallback

  • All Known Implementing Classes:
    AbstractJobCallback


    public interface JobCallback
    Provides notifications when a job is executed and monitored by an executor.
    See Also:
    JobExecutor
    • Method Detail

      • created

        void created(JobResponse response)
        Called when a job has been created.
        Parameters:
        response - The job response providing data about the executing job.
        See Also:
        JobExecutionStatus.CREATED
      • submitted

        void submitted(JobResponse response)
        Called when a job has been submitted.
        Parameters:
        response - The job response providing data about the executing job.
        See Also:
        JobExecutionStatus.NOT_STARTED
      • running

        void running(JobResponse response)
        Called when a job has started to run. Note that this call can be skipped if the job execution is very short.
        Parameters:
        response - The job response providing data about the executing job.
        See Also:
        JobExecutionStatus.RUNNING
      • processed

        void processed(JobResponse response)
        Called when a job has been processed.
        Parameters:
        response - The job response providing data about the executing job.
        See Also:
        JobExecutionStatus.PROCESSED
      • failed

        void failed(JobResponse response)
        Called when a job has failed.
        Parameters:
        response - The job response providing data about the executing job.
        See Also:
        JobExecutionStatus.FAILED
      • exception

        void exception(JobResponse response,
                     Exception e)
        Called when an exception has occurred.
        Parameters:
        response - The job response providing data about the executing job.
        e - The raised exception.
      • completed

        void completed(JobResponse response)
        Called when the executor has completed the processing of the job request.
        Parameters:
        response - The job response providing data about the executing job.

Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.





© 2015 - 2025 Weber Informatics LLC | Privacy Policy