Package | Description |
---|---|
com.oracle.bmc.retrier | |
com.oracle.bmc.waiter |
Modifier and Type | Method and Description |
---|---|
<REQUEST,RESPONSE> |
BmcGenericRetrier.executeAsync(WaiterScheduler runner,
REQUEST requestToUse,
Function<REQUEST,CompletionStage<RESPONSE>> functionCall) |
Modifier and Type | Field and Description |
---|---|
static WaiterScheduler |
WaiterScheduler.SYNC
Scheduler implementation that blocks in the
schedule(java.lang.Runnable, long, java.util.concurrent.TimeUnit) method for the given time to
pass. |
static WaiterScheduler |
WaiterScheduler.UNSUPPORTED
A
WaiterScheduler where waiting is not supported. |
Modifier and Type | Method and Description |
---|---|
static WaiterScheduler |
WaiterScheduler.fromService(ScheduledExecutorService service)
Create a new instance from the given
ScheduledExecutorService . |
Modifier and Type | Method and Description |
---|---|
<T> CompletionStage<Optional<T>> |
GenericWaiter.executeAsync(WaiterScheduler runner,
Supplier<CompletionStage<T>> downstream,
Predicate<T> terminationPredicate) |
Copyright © 2016–2024. All rights reserved.