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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
processWorkUnit(T workUnit, WorkQueue<T> workQueue, LogNode log)
Process a work unit.
-
-
-
Method Detail
-
processWorkUnit
void processWorkUnit(T workUnit, WorkQueue<T> workQueue, LogNode log) throws java.lang.InterruptedException
Process a work unit.- Parameters:
workUnit
- The work unit.workQueue
- The work queue.log
- The log.- Throws:
java.lang.InterruptedException
- If the worker thread is interrupted.
-
-