Package org.eclipse.aether.util.concurrency
Utilities for concurrent task processing.
-
Interface Summary Interface Description SmartExecutor Utilities for executors and sizing them. -
Class Summary Class Description ConcurrentWeakCache<K,V> A concurrent cache with weak keys and weak values, inspired by maven-impl's Cache class but stripped down and optimized for hot-path performance.ExecutorUtils Deprecated. for removal.RunnableErrorForwarder A utility class to forward any uncaughtErrororRuntimeExceptionfrom aRunnableexecuted in a worker thread back to the parent thread.SmartExecutor.Direct Direct executor (caller executes).SmartExecutor.Limited Limited executor, where the actual goal is to protect accessed resource, like when virtual threads are being used, so the "pool" itself does not provide any kind of back-pressure.SmartExecutor.NonClosing Wrapper to prevent closing.SmartExecutor.Pooled Pooled executor backed byExecutorService.SmartExecutorUtils Utilities for executors and sizing them.WorkerThreadFactory A factory to create worker threads with a given name prefix.