Interface WorkQueue.WorkQueuePreStartHook<T>

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

    public static interface WorkQueue.WorkQueuePreStartHook<T>
    A hook that is called once a WorkQueue is created, inside its try-with-resources block, before the workers are started.
    • Method Detail

      • processWorkQueueRef

        void processWorkQueueRef​(WorkQueue<T> workQueue)
        Parameters:
        workQueue - The work queue.