Uses of Class
org.cojen.tupl.util.Worker
Packages that use Worker
Package
Description
Low-level utility classes for managing concurrency, caching, and task scheduling.
-
Uses of Worker in org.cojen.tupl.util
Methods in org.cojen.tupl.util that return WorkerModifier and TypeMethodDescriptionabstract WorkerWorkerGroup.enqueue(Worker.Task task) Enqueue a task, blocking if necessary until space is available.static WorkerWorker.make(int maxSize, long keepAliveTime, TimeUnit unit, ThreadFactory threadFactory) abstract WorkerWorkerGroup.tryEnqueue(Worker.Task task) Attempts to select an available worker and enqueues a task without blocking.