More work fleshing out new ForgeManager
This commit is contained in:
@@ -10,10 +10,16 @@ public enum ForgeManager implements Runnable {
|
|||||||
FORGE_MANAGER;
|
FORGE_MANAGER;
|
||||||
|
|
||||||
private BlockingQueue<WorkOrder> workQueue = new DelayQueue();
|
private BlockingQueue<WorkOrder> workQueue = new DelayQueue();
|
||||||
;
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
|
|
||||||
|
try {
|
||||||
|
WorkOrder workOrder = workQueue.take();
|
||||||
|
|
||||||
|
} catch (InterruptedException e) {
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user