Class OperationManager.ScheduledOperationWorker

  • All Implemented Interfaces:
    java.lang.Runnable
    Enclosing class:
    OperationManager

    public static class OperationManager.ScheduledOperationWorker
    extends java.lang.Object
    implements java.lang.Runnable
    Worker for processing scheduled operations. This implementation ignores canceled operations and logs any errors.
    Author:
    Garret Wilson
    • Constructor Detail

      • ScheduledOperationWorker

        public ScheduledOperationWorker​(java.util.concurrent.BlockingQueue<OperationManager.ScheduledOperation> blockingQueue)
        Blocking queue constructor.
        Parameters:
        blockingQueue - The blocking queue from which scheduled operations will be processed.
        Throws:
        java.lang.NullPointerException - if the given blocking queue is null.
    • Method Detail

      • run

        public void run()
        Specified by:
        run in interface java.lang.Runnable