Package com.globalmentor.model
Class OperationManager.ScheduledOperationWorker
- java.lang.Object
-
- com.globalmentor.model.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 Summary
Constructors Constructor Description ScheduledOperationWorker(java.util.concurrent.BlockingQueue<OperationManager.ScheduledOperation> blockingQueue)
Blocking queue constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run()
-
-
-
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 isnull
.
-
-