Uses of Interface
software.amazon.awssdk.core.waiters.WaiterAcceptor
Packages that use WaiterAcceptor
Package
Description
-
Uses of WaiterAcceptor in software.amazon.awssdk.core.internal.waiters
Methods in software.amazon.awssdk.core.internal.waiters that return types with arguments of type WaiterAcceptorModifier and TypeMethodDescriptionOptional<WaiterAcceptor<? super T>>WaiterExecutorHelper.firstWaiterAcceptorIfMatched(Either<T, Throwable> responseOrException) Methods in software.amazon.awssdk.core.internal.waiters with parameters of type WaiterAcceptorModifier and TypeMethodDescriptionDefaultAsyncWaiter.DefaultBuilder.addAcceptor(WaiterAcceptor<? super T> waiterAcceptor) DefaultWaiter.DefaultBuilder.addAcceptor(WaiterAcceptor<? super T> waiterAcceptor) WaiterExecutorHelper.waiterFailureException(WaiterAcceptor<? super T> acceptor) Method parameters in software.amazon.awssdk.core.internal.waiters with type arguments of type WaiterAcceptorModifier and TypeMethodDescriptionDefaultAsyncWaiter.DefaultBuilder.acceptors(List<WaiterAcceptor<? super T>> waiterAcceptors) DefaultWaiter.DefaultBuilder.acceptors(List<WaiterAcceptor<? super T>> waiterAcceptors) Constructor parameters in software.amazon.awssdk.core.internal.waiters with type arguments of type WaiterAcceptorModifierConstructorDescriptionAsyncWaiterExecutor(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) -
Uses of WaiterAcceptor in software.amazon.awssdk.core.waiters
Methods in software.amazon.awssdk.core.waiters that return WaiterAcceptorModifier and TypeMethodDescriptionstatic <T> WaiterAcceptor<T>WaiterAcceptor.errorOnExceptionAcceptor(Predicate<Throwable> errorPredicate) Creates an error waiter acceptor which determines if the exception should transition the waiter to failure statestatic <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 statestatic <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 statestatic <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 statestatic <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 statestatic <T> WaiterAcceptor<T>WaiterAcceptor.successOnExceptionAcceptor(Predicate<Throwable> errorPredicate) Creates an error waiter acceptor which determines if the exception should transition the waiter to success statestatic <T> WaiterAcceptor<T>WaiterAcceptor.successOnResponseAcceptor(Predicate<T> responsePredicate) Creates a success waiter acceptor which determines if the exception should transition the waiter to success stateMethods in software.amazon.awssdk.core.waiters with parameters of type WaiterAcceptorModifier and TypeMethodDescriptionWaiterBuilder.addAcceptor(WaiterAcceptor<? super T> waiterAcceptors) Adds aWaiterAcceptorto the end of the ordered waiterAcceptors list.Method parameters in software.amazon.awssdk.core.waiters with type arguments of type WaiterAcceptorModifier and TypeMethodDescriptionWaiterBuilder.acceptors(List<WaiterAcceptor<? super T>> waiterAcceptors) Defines a list ofWaiterAcceptors to check whether an expected state has met after executing an operation.