Uses of Interface
ratpack.func.BiAction
-
Packages that use BiAction Package Description ratpack.exec The execution management.ratpack.exec.util ratpack.func General functional (i.e. Single Abstract Method) types.ratpack.util General purpose types and utilities. -
-
Uses of BiAction in ratpack.exec
Methods in ratpack.exec with parameters of type BiAction Modifier and Type Method Description default Promise<T>Promise. retry(int maxAttempts, java.time.Duration delay, BiAction<? super java.lang.Integer,? super java.lang.Throwable> onError)Deprecated.since 1.7, usePromise.retry(RetryPolicy, BiAction)default Promise<T>Promise. retry(RetryPolicy retryPolicy, BiAction<? super java.lang.Integer,? super java.lang.Throwable> onError)Causesthisyielding the promised value to be retried on error, under the rules of providedretryPolicy.default Promise<T>Promise. retryIf(Predicate<? super java.lang.Throwable> predicate, RetryPolicy retryPolicy, BiAction<? super java.lang.Integer,? super java.lang.Throwable> onError)Causesthisyielding the promised value to be retried on error, under the rules of providedretryPolicy, and if the givenPredicatematches the error thrown.default Promise<T>Promise. timeResult(BiAction<? super ExecResult<T>,? super java.time.Duration> action)Emits the time taken from when the promise is subscribed to to when the result is available. -
Uses of BiAction in ratpack.exec.util
Methods in ratpack.exec.util with parameters of type BiAction Modifier and Type Method Description OperationBatch. forEach(BiAction<? super java.lang.Integer,? super T> consumer)Processes the promises of the batch, stopping at the first error, emitting results to the given callback.OperationParallelBatch. forEach(BiAction<? super java.lang.Integer,? super T> consumer)Processes the promises of the batch, stopping at the first error, emitting results to the given callback.OperationSerialBatch. forEach(BiAction<? super java.lang.Integer,? super T> consumer)Processes the promises of the batch, stopping at the first error, emitting results to the given callback. -
Uses of BiAction in ratpack.func
Methods in ratpack.func that return BiAction Modifier and Type Method Description static <T,U>
BiAction<T,U>BiAction. from(java.util.function.BiConsumer<T,U> consumer)Creates an bi-action from a JDK bi-consumer.static <T,U>
BiAction<T,U>BiAction. noop()Returns a bi-action that does precisely nothing. -
Uses of BiAction in ratpack.util
Methods in ratpack.util with parameters of type BiAction Modifier and Type Method Description static <T,U>
voidExceptions. uncheck(T input1, U input2, BiAction<T,U> action)Executes the given action with the provided input arguments, unchecking any exceptions it throws.
-