@Generated(value="OracleSDKGenerator", comments="API Version: 20230801") public class WorkRequestWaiters extends Object
Collection of helper methods to produce Waiter
s for different
resources of WorkRequest.
The default configuration used is defined by Waiters.Waiters
.
Constructor and Description |
---|
WorkRequestWaiters(ExecutorService executorService,
WorkRequest client) |
Modifier and Type | Method and Description |
---|---|
Waiter<GetWorkRequestRequest,GetWorkRequestResponse> |
forWorkRequest(GetWorkRequestRequest request)
Creates a new
Waiter using default configuration. |
Waiter<GetWorkRequestRequest,GetWorkRequestResponse> |
forWorkRequest(GetWorkRequestRequest request,
TerminationStrategy terminationStrategy,
DelayStrategy delayStrategy)
Creates a new
Waiter using the provided configuration. |
public WorkRequestWaiters(ExecutorService executorService, WorkRequest client)
public Waiter<GetWorkRequestRequest,GetWorkRequestResponse> forWorkRequest(GetWorkRequestRequest request)
Creates a new Waiter
using default configuration.
request
- the request to sendWaiter
instancepublic Waiter<GetWorkRequestRequest,GetWorkRequestResponse> forWorkRequest(GetWorkRequestRequest request, TerminationStrategy terminationStrategy, DelayStrategy delayStrategy)
Creates a new Waiter
using the provided configuration.
request
- the request to sendterminationStrategy
- the TerminationStrategy
to usedelayStrategy
- the to usecom.oracle.bmc.waiter.Waiter
instanceCopyright © 2016–2024. All rights reserved.