|
|
@ -52,8 +52,8 @@ public enum ForgeManager implements Runnable { |
|
|
|
|
|
|
|
|
|
|
|
while (true) { |
|
|
|
while (true) { |
|
|
|
|
|
|
|
|
|
|
|
// ForgeManager.forge is a delayQueue (priority queue using an epoc sort)
|
|
|
|
// .forge is a delayQueue (blocking priority queue using an epoc sort)
|
|
|
|
// workOrders are popped and processed when the completion time has passed.
|
|
|
|
// workOrders are popped and processed when their completion time has passed.
|
|
|
|
//
|
|
|
|
//
|
|
|
|
// workOrders can be enqueued from any thread such as from a db handler
|
|
|
|
// workOrders can be enqueued from any thread such as from a db handler
|
|
|
|
// however the interface is .submit(workOrder).
|
|
|
|
// however the interface is .submit(workOrder).
|
|
|
|