Uses of Class
com.google.mu.util.concurrent.Parallelizer
Package
Description
Parallelizer (parallel stream using Executor), Retryer.
-
Uses of Parallelizer in com.google.mu.util.concurrent
Modifier and TypeMethodDescriptionstatic Parallelizer
Parallelizer.newDaemonParallelizer
(int maxInFlight) Returns a newParallelizer
based on an ExecutorService that exits when the application is complete.static Parallelizer
Parallelizer.virtualThreadParallelizer
(int maxInFlight) Returns aParallelizer
using virtual threads for running tasks, with at mostmaxInFlight
tasks running concurrently.static Parallelizer
Fanout.withMaxConcurrency
(int maxConcurrency) Returns a concurrency-limitedParallelizer
that can be used to run a potentially large number of fanout concurrent tasks using the currently configured standard (virtual thread) executor.