public class DebuggerManagerThreadImpl extends InvokeAndWaitThread<DebuggerCommandImpl> implements DebuggerManagerThread, Disposable
InvokeThread.WorkerThreadRequest<E extends PrioritizedTask>
Disposable.Parent
myEvents, myProject
Modifier and Type | Method and Description |
---|---|
static void |
assertIsManagerThread() |
static DebuggerManagerThreadImpl |
createTestInstance(Disposable parent,
Project project) |
void |
dispose()
Usually not invoked directly, see class javadoc.
|
void |
invoke(DebuggerCommandImpl managerCommand) |
void |
invoke(PrioritizedTask.Priority priority,
java.lang.Runnable runnable) |
void |
invokeAndWait(DebuggerCommandImpl managerCommand) |
void |
invokeCommand(DebuggerCommand command)
executes command in DebuggerManagerThread
|
static boolean |
isManagerThread() |
void |
processEvent(DebuggerCommandImpl managerCommand) |
boolean |
pushBack(DebuggerCommandImpl managerCommand) |
boolean |
schedule(DebuggerCommandImpl managerCommand) |
void |
schedule(PrioritizedTask.Priority priority,
java.lang.Runnable runnable) |
void |
startProgress(DebuggerCommandImpl command,
ProgressWindow progressWindow) |
void |
terminateAndInvoke(DebuggerCommandImpl command,
int terminateTimeoutMillis)
waits COMMAND_TIMEOUT milliseconds
if worker thread is still processing the same command
calls terminateCommand
|
close, currentThread, getCurrentRequest, getCurrentThreadRequest, startNewWorkerThread, switchToRequest
public void dispose()
Disposable
dispose
in interface Disposable
public static DebuggerManagerThreadImpl createTestInstance(Disposable parent, Project project)
public static boolean isManagerThread()
public static void assertIsManagerThread()
public void invokeAndWait(DebuggerCommandImpl managerCommand)
invokeAndWait
in class InvokeAndWaitThread<DebuggerCommandImpl>
public void invoke(DebuggerCommandImpl managerCommand)
public void invoke(PrioritizedTask.Priority priority, java.lang.Runnable runnable)
public boolean pushBack(DebuggerCommandImpl managerCommand)
pushBack
in class InvokeThread<DebuggerCommandImpl>
public void schedule(PrioritizedTask.Priority priority, java.lang.Runnable runnable)
public boolean schedule(DebuggerCommandImpl managerCommand)
schedule
in class InvokeThread<DebuggerCommandImpl>
public void terminateAndInvoke(DebuggerCommandImpl command, int terminateTimeoutMillis)
public void processEvent(DebuggerCommandImpl managerCommand)
processEvent
in class InvokeThread<DebuggerCommandImpl>
public void startProgress(DebuggerCommandImpl command, ProgressWindow progressWindow)
public void invokeCommand(DebuggerCommand command)
DebuggerManagerThread
invokeCommand
in interface DebuggerManagerThread