Interface WorkQueue.WorkUnitProcessor<T>
- Type Parameters:
T
- The type of work unit to process.
- All Known Implementing Classes:
Scanner.ClassfileScannerWorkUnitProcessor
public static interface WorkQueue.WorkUnitProcessor<T>
A work unit processor.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
processWorkUnit
(T workUnit, WorkQueue<T> workQueue, LogNode log) Process a work unit.
-
Method Details
-
processWorkUnit
Process a work unit.- Parameters:
workUnit
- The work unit.workQueue
- The work queue.log
- The log.- Throws:
InterruptedException
- If the worker thread is interrupted.
-