Uses of Interface
io.github.lukehutch.fastclasspathscanner.utils.WorkQueue.WorkUnitProcessor
-
Packages that use WorkQueue.WorkUnitProcessor Package Description io.github.lukehutch.fastclasspathscanner.utils -
-
Uses of WorkQueue.WorkUnitProcessor in io.github.lukehutch.fastclasspathscanner.utils
Methods in io.github.lukehutch.fastclasspathscanner.utils with parameters of type WorkQueue.WorkUnitProcessor Modifier and Type Method Description static <U> void
WorkQueue. runWorkQueue(Collection<U> elements, ExecutorService executorService, int numParallelTasks, WorkQueue.WorkUnitProcessor<U> workUnitProcessor, InterruptionChecker interruptionChecker, LogNode log)
Start a work queue on the elements in the provided collection, blocking until all work units have been completed.static <U> void
WorkQueue. runWorkQueue(Collection<U> elements, ExecutorService executorService, int numParallelTasks, WorkQueue.WorkUnitProcessor<U> workUnitProcessor, WorkQueue.WorkQueuePreStartHook<U> workQueuePreStartHook, InterruptionChecker interruptionChecker, LogNode log)
Start a work queue on the elements in the provided collection, blocking until all work units have been completed.Constructors in io.github.lukehutch.fastclasspathscanner.utils with parameters of type WorkQueue.WorkUnitProcessor Constructor Description WorkQueue(Collection<T> initialWorkUnits, WorkQueue.WorkUnitProcessor<T> workUnitProcessor, InterruptionChecker interruptionChecker, LogNode log)
A parallel work queue.
-