@Generated(value="OracleSDKGenerator", comments="API Version: 20220509") public class CommonWaiters extends Object
Collection of helper methods to produce Waiter
s for different
resources of Common.
The default configuration used is defined by Waiters.Waiters
.
Constructor and Description |
---|
CommonWaiters(ExecutorService executorService,
Common 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 CommonWaiters(ExecutorService executorService, Common 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.