Uses of Class
org.mycore.util.concurrent.processing.MCRProcessableSupplier
-
Uses of MCRProcessableSupplier in org.mycore.util.concurrent.processing
Modifier and TypeMethodDescriptionstatic <T> MCRProcessableSupplier<T>
MCRProcessableSupplier.of
(Callable<T> task, CompletableFuture<T> future) Creates a newMCRProcessableSupplier
by the already committed task and its future.static <T> MCRProcessableSupplier<T>
MCRProcessableSupplier.of
(Callable<T> task, ExecutorService executorService, Integer priority) Creates a newMCRProcessableSupplier
by submitting the task to the executorService with the given priority.default MCRProcessableSupplier<?>
Submits the runnable with priority zero (executed at last).default MCRProcessableSupplier<?>
Submits the runnable with the given priority.default <R> MCRProcessableSupplier<R>
Submits the callable with priority zero (executed at last).<R> MCRProcessableSupplier<R>
Submits the callable with the given priority.