| Package | Description |
|---|---|
| com.ibm.cos.v2.core.internal.waiters | |
| com.ibm.cos.v2.core.waiters | |
| com.ibm.cos.v2.services.s3.waiters.internal |
| Modifier and Type | Method and Description |
|---|---|
Optional<WaiterAcceptor<? super T>> |
WaiterExecutorHelper.firstWaiterAcceptorIfMatched(Either<T,Throwable> responseOrException) |
| Modifier and Type | Method and Description |
|---|---|
Waiter.Builder<T> |
DefaultWaiter.DefaultBuilder.addAcceptor(WaiterAcceptor<? super T> waiterAcceptor) |
AsyncWaiter.Builder<T> |
DefaultAsyncWaiter.DefaultBuilder.addAcceptor(WaiterAcceptor<? super T> waiterAcceptor) |
SdkClientException |
WaiterExecutorHelper.waiterFailureException(WaiterAcceptor<? super T> acceptor) |
| Modifier and Type | Method and Description |
|---|---|
Waiter.Builder<T> |
DefaultWaiter.DefaultBuilder.acceptors(List<WaiterAcceptor<? super T>> waiterAcceptors) |
AsyncWaiter.Builder<T> |
DefaultAsyncWaiter.DefaultBuilder.acceptors(List<WaiterAcceptor<? super T>> waiterAcceptors) |
| Constructor and Description |
|---|
AsyncWaiterExecutor(WaiterConfiguration configuration,
List<WaiterAcceptor<? super T>> waiterAcceptors,
ScheduledExecutorService executorService) |
WaiterExecutor(WaiterConfiguration configuration,
List<WaiterAcceptor<? super T>> waiterAcceptors) |
WaiterExecutorHelper(List<WaiterAcceptor<? super T>> waiterAcceptors,
WaiterConfiguration configuration) |
| Modifier and Type | Method and Description |
|---|---|
static <T> WaiterAcceptor<T> |
WaiterAcceptor.errorOnExceptionAcceptor(Predicate<Throwable> errorPredicate)
Creates an error waiter acceptor which determines if the exception should transition the waiter to failure state
|
static <T> WaiterAcceptor<T> |
WaiterAcceptor.errorOnExceptionAcceptor(Predicate<Throwable> errorPredicate,
String errorMessage)
Creates an error waiter acceptor which determines if the exception should transition the waiter to failure state
Overloaded method with errorMessage.
|
static <T> WaiterAcceptor<T> |
WaiterAcceptor.errorOnResponseAcceptor(Predicate<T> responsePredicate)
Creates a success waiter acceptor which determines if the exception should transition the waiter to success state
|
static <T> WaiterAcceptor<T> |
WaiterAcceptor.errorOnResponseAcceptor(Predicate<T> responsePredicate,
String message)
Creates a success waiter acceptor which determines if the exception should transition the waiter to success state
|
static <T> WaiterAcceptor<T> |
WaiterAcceptor.retryOnExceptionAcceptor(Predicate<Throwable> errorPredicate)
Creates a retry on exception waiter acceptor which determines if the exception should transition the waiter to retry state
|
static <T> WaiterAcceptor<T> |
WaiterAcceptor.retryOnResponseAcceptor(Predicate<T> responsePredicate)
Creates a retry on exception waiter acceptor which determines if the exception should transition the waiter to retry state
|
static <T> WaiterAcceptor<T> |
WaiterAcceptor.successOnExceptionAcceptor(Predicate<Throwable> errorPredicate)
Creates an error waiter acceptor which determines if the exception should transition the waiter to success state
|
static <T> WaiterAcceptor<T> |
WaiterAcceptor.successOnResponseAcceptor(Predicate<T> responsePredicate)
Creates a success waiter acceptor which determines if the exception should transition the waiter to success state
|
| Modifier and Type | Method and Description |
|---|---|
B |
WaiterBuilder.addAcceptor(WaiterAcceptor<? super T> waiterAcceptors)
Adds a
WaiterAcceptor to the end of the ordered waiterAcceptors list. |
| Modifier and Type | Method and Description |
|---|---|
B |
WaiterBuilder.acceptors(List<WaiterAcceptor<? super T>> waiterAcceptors)
Defines a list of
WaiterAcceptors to check whether an expected state has met after executing an operation. |
| Modifier and Type | Class and Description |
|---|---|
static class |
WaitersRuntime.ResponseStatusAcceptor
A
WaiterAcceptor implementation that checks for a specific HTTP response status, regardless of whether
it's reported by a response or an exception. |
| Modifier and Type | Field and Description |
|---|---|
static List<WaiterAcceptor<Object>> |
WaitersRuntime.DEFAULT_ACCEPTORS
The default acceptors that should be matched *last* in the list of acceptors used by the SDK client waiters.
|
Copyright © 2026. All rights reserved.