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