public class ExecutionQueue
extends java.lang.Object
Constructor and Description |
---|
ExecutionQueue(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
Task |
getBlockingTask() |
java.lang.String |
getName() |
Task |
getReadyTask() |
void |
putBlockingTask(Task task) |
void |
putReadyTask(Task task) |
public java.lang.String getName()
public void putBlockingTask(Task task) throws java.lang.InterruptedException
java.lang.InterruptedException
public Task getBlockingTask() throws java.lang.InterruptedException
java.lang.InterruptedException
public void putReadyTask(Task task) throws java.lang.InterruptedException
java.lang.InterruptedException
public Task getReadyTask() throws java.lang.InterruptedException
java.lang.InterruptedException