public abstract class InvokeThread<E extends PrioritizedTask>
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
InvokeThread.WorkerThreadRequest<E extends PrioritizedTask> |
Modifier and Type | Field and Description |
---|---|
protected EventQueue<E> |
myEvents |
protected Project |
myProject |
Constructor and Description |
---|
InvokeThread(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
protected static InvokeThread |
currentThread() |
InvokeThread.WorkerThreadRequest |
getCurrentRequest() |
static InvokeThread.WorkerThreadRequest |
getCurrentThreadRequest() |
protected abstract void |
processEvent(E e) |
boolean |
pushBack(E r) |
boolean |
schedule(E r) |
protected void |
startNewWorkerThread() |
protected void |
switchToRequest(InvokeThread.WorkerThreadRequest newRequest) |
protected final Project myProject
protected final EventQueue<E extends PrioritizedTask> myEvents
public InvokeThread(Project project)
protected abstract void processEvent(E e)
protected void startNewWorkerThread()
protected static InvokeThread currentThread()
public boolean schedule(E r)
public boolean pushBack(E r)
protected void switchToRequest(InvokeThread.WorkerThreadRequest newRequest)
public InvokeThread.WorkerThreadRequest getCurrentRequest()
public static InvokeThread.WorkerThreadRequest getCurrentThreadRequest()
public void close()