| Package | Description |
|---|---|
| com.ibm.optim.oaas.client.job |
This package contains the classes to create and handle jobs.
|
| Modifier and Type | Method and Description |
|---|---|
Future<JobResponse> |
JobRequestBuilder.create(JobExecutor executor)
Builds the request and creates the job using a given job executor.
|
Future<JobResponse> |
JobRequest.create(JobExecutor executor)
Creates the job as defined in this request.
|
Future<JobResponse> |
JobExecutor.create(JobRequest request,
JobCallback callback)
Creates a job request but does not submit the job.
|
Future<JobResponse> |
JobRequestBuilder.execute(JobExecutor executor)
Builds the request and executes it using a given job executor
|
Future<JobResponse> |
JobRequest.execute(JobExecutor executor)
Executes this request by submitting it to a job executor.
|
Future<JobResponse> |
JobExecutor.execute(JobRequest request)
Executes a job request.
|
Future<JobResponse> |
JobExecutor.execute(JobRequest request,
JobCallback callback)
Executes a job request and calls a callback at major steps of the
execution.
|
Future<JobResponse> |
JobExecutor.monitor(JobRequest request,
String jobid,
JobCallback callback)
Monitor a job request that was submitted.
|
Future<JobResponse> |
JobExecutor.submit(JobRequest request,
JobCallback callback)
Submits a job request but does not monitor the execution nor process the outputs and logs.
|
| Modifier and Type | Method and Description |
|---|---|
void |
JobCallback.completed(JobResponse response)
Called when the executor has completed the processing of the job request.
|
void |
AbstractJobCallback.completed(JobResponse response) |
void |
JobCallback.created(JobResponse response)
Called when a job has been created.
|
void |
AbstractJobCallback.created(JobResponse response) |
void |
JobCallback.exception(JobResponse response,
Exception e)
Called when an exception has occurred.
|
void |
AbstractJobCallback.exception(JobResponse response,
Exception e) |
void |
JobCallback.failed(JobResponse response)
Called when a job has failed.
|
void |
AbstractJobCallback.failed(JobResponse response) |
void |
JobCallback.interruption(JobResponse response)
Called when a job is being interrupted or has already been interrupted.
|
void |
AbstractJobCallback.interruption(JobResponse response) |
void |
JobCallback.processed(JobResponse response)
Called when a job has been processed.
|
void |
AbstractJobCallback.processed(JobResponse response) |
void |
JobCallback.running(JobResponse response)
Called when a job has started to run.
|
void |
AbstractJobCallback.running(JobResponse response) |
void |
JobCallback.submitted(JobResponse response)
Called when a job has been submitted.
|
void |
AbstractJobCallback.submitted(JobResponse response) |
Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.