Interface WorkQueue.WorkUnitProcessor<T>

  • Type Parameters:
    T - The type of work unit to process.
    Enclosing class:
    WorkQueue<T>

    public static interface WorkQueue.WorkUnitProcessor<T>
    A work unit processor.
    • Method Detail

      • processWorkUnit

        void processWorkUnit​(T workUnit)
                      throws Exception
        Parameters:
        workUnit - The work unit.
        Throws:
        Exception - If something goes wrong while processing the work unit.