Uses of Interface
io.activej.async.function.AsyncSupplier
Packages that use AsyncSupplier
Package
Description
-
Uses of AsyncSupplier in io.activej.async.function
Methods in io.activej.async.function that return AsyncSupplierModifier and TypeMethodDescriptionstatic <T> AsyncSupplier<T>AsyncSuppliers.buffer(int maxParallelCalls, int maxBufferedCalls, AsyncSupplier<T> actualSupplier) static <T> AsyncSupplier<T>AsyncSuppliers.buffer(AsyncSupplier<T> actual) static <T> AsyncSupplier<T>AsyncSuppliers.coalesce(AsyncSupplier<T> actual) static <T> AsyncSupplier<T>AsyncSupplier.of(io.activej.common.function.SupplierEx<T> supplier) Wraps aSupplierExinterface.static <T> AsyncSupplier<T>AsyncSuppliers.ofExecutor(AsyncExecutor executor, AsyncSupplier<T> supplier) static <T> AsyncSupplier<T>AsyncSuppliers.prefetch(int count, AsyncSupplier<? extends T> supplier) static <T> AsyncSupplier<T>AsyncSuppliers.prefetch(int count, AsyncSupplier<? extends T> actualSupplier, AsyncSupplier<? extends T> prefetchSupplier) static <T> AsyncSupplier<T>AsyncSuppliers.reuse(AsyncSupplier<? extends T> actual) static <T> AsyncSupplier<T>AsyncSupplier.sanitize(AsyncSupplierEx<T> supplier) Methods in io.activej.async.function with parameters of type AsyncSupplierModifier and TypeMethodDescriptionstatic <T> AsyncSupplier<T>AsyncSuppliers.buffer(int maxParallelCalls, int maxBufferedCalls, AsyncSupplier<T> actualSupplier) static <T> AsyncSupplier<T>AsyncSuppliers.buffer(AsyncSupplier<T> actual) static <T> AsyncSupplier<T>AsyncSuppliers.coalesce(AsyncSupplier<T> actual) static <T> AsyncSupplier<T>AsyncSuppliers.ofExecutor(AsyncExecutor executor, AsyncSupplier<T> supplier) static <T> AsyncSupplier<T>AsyncSuppliers.prefetch(int count, AsyncSupplier<? extends T> supplier) static <T> AsyncSupplier<T>AsyncSuppliers.prefetch(int count, AsyncSupplier<? extends T> actualSupplier, AsyncSupplier<? extends T> prefetchSupplier) static <T> AsyncSupplier<T>AsyncSuppliers.reuse(AsyncSupplier<? extends T> actual) -
Uses of AsyncSupplier in io.activej.async.process
Methods in io.activej.async.process with parameters of type AsyncSupplierModifier and TypeMethodDescription<T> Promise<T>AsyncExecutor.execute(AsyncSupplier<T> supplier) -
Uses of AsyncSupplier in io.activej.async.service
Methods in io.activej.async.service with parameters of type AsyncSupplierModifier and TypeMethodDescriptionstatic <T> TaskScheduler.BuilderTaskScheduler.builder(Reactor reactor, AsyncSupplier<T> task) -
Uses of AsyncSupplier in io.activej.promise
Methods in io.activej.promise with parameters of type AsyncSupplierModifier and TypeMethodDescriptionPromises.asPromises(AsyncSupplier<? extends T>... tasks) static <T> Promise<T>Promises.first(AsyncSupplier<? extends T>... promises) Picks the firstPromisethat was completed without exception.static <T> Promise<T>Promises.first(BiPredicate<? super T, ? super Exception> predicate, AsyncSupplier<? extends T>... promises) Promises.repeat(AsyncSupplier<Boolean> supplier) Repeats the operations of providedAsyncSupplier<Boolean>infinitely, until one of thePromises completes exceptionally or supplier returns a promise offalse.static <T> Promise<T>Promises.retry(AsyncSupplier<T> supplier) static <T> Promise<T>Promises.retry(AsyncSupplier<T> supplier, RetryPolicy<?> retryPolicy) static <T> Promise<T>Promises.retry(AsyncSupplier<T> supplier, BiPredicate<T, Exception> breakCondition, RetryPolicy<?> retryPolicy) static <T> Promise<T>Promises.retry(BiPredicate<? super T, Exception> breakCondition, AsyncSupplier<T> supplier) Method parameters in io.activej.promise with type arguments of type AsyncSupplierModifier and TypeMethodDescriptionPromises.asPromises(Iterable<? extends AsyncSupplier<? extends T>> tasks) Promises.asPromises(Iterator<? extends AsyncSupplier<? extends T>> tasks) Promises.asPromises(Stream<? extends AsyncSupplier<? extends T>> tasks) static <T> Promise<T>Promises.first(Iterable<? extends AsyncSupplier<? extends T>> promises) static <T> Promise<T>Promises.first(BiPredicate<? super T, ? super Exception> predicate, Iterable<? extends AsyncSupplier<? extends T>> promises) static <T> Promise<T>Promises.first(BiPredicate<? super T, ? super Exception> predicate, Stream<? extends AsyncSupplier<? extends T>> promises) static <T> Promise<T>Promises.first(Stream<? extends AsyncSupplier<? extends T>> promises) -
Uses of AsyncSupplier in io.activej.promise.jmx
Methods in io.activej.promise.jmx that return AsyncSupplierModifier and TypeMethodDescription<T> AsyncSupplier<T>PromiseStats.wrapper(AsyncSupplier<T> supplier) Methods in io.activej.promise.jmx with parameters of type AsyncSupplierModifier and TypeMethodDescription<T> AsyncSupplier<T>PromiseStats.wrapper(AsyncSupplier<T> supplier)