Interface WorkQueue.WorkUnitProcessor<T>

    • 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.