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 Worker
WorkerGroup.enqueue
(Worker.Task task) Enqueue a task, blocking if necessary until space is available.static Worker
Worker.make
(int maxSize, long keepAliveTime, TimeUnit unit, ThreadFactory threadFactory) abstract Worker
WorkerGroup.tryEnqueue
(Worker.Task task) Attempts to select an available worker and enqueues a task without blocking.