Uses of Interface
ratpack.func.BiAction
-
Packages that use BiAction Package Description ratpack.exec The execution management.ratpack.exec.util ratpack.func -
-
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(RetryPolicy retryPolicy, BiAction<? super Integer,? super Throwable> onError)Causesthisyielding the promised value to be retried on error, under the rules of providedretryPolicy.default Promise<T>Promise. retryIf(Predicate<? super Throwable> predicate, RetryPolicy retryPolicy, BiAction<? super Integer,? super 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 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 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 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 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(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.Methods in ratpack.func 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.
-