| Package | Description |
|---|---|
| com.ibm.optim.oaas.client.job |
This package contains the classes to create and handle jobs.
|
| Modifier and Type | Method and Description |
|---|---|
static JobExecutorBuilder |
JobExecutorFactory.custom()
Returns a job executor builder to configure a job executor.
|
JobExecutorBuilder |
JobExecutorBuilder.interval(long interval,
TimeUnit unit)
Sets the time interval used to check the job status.
|
JobExecutorBuilder |
JobExecutorBuilder.retry(int retry)
Sets maximum retry attempts on calls to servers, when applicable.
|
JobExecutorBuilder |
JobExecutorBuilder.retryDelay(long delay,
TimeUnit unit)
Sets the initial retry delay.
|
JobExecutorBuilder |
JobExecutorBuilder.service(ExecutorService service)
Sets the executor service used to manage threads and tasks within the job
executor.
|
JobExecutorBuilder |
JobExecutorBuilder.threads(int threads)
Sets the number of threads.
|
JobExecutorBuilder |
JobExecutorBuilder.timeout(long timeout,
TimeUnit unit)
Sets the timeout for the job monitoring in milliseconds.
|
Copyright © 2015–2017 IBM Corporation. Licensed under the Apache License, Version 2.0.