de.grogra.imp
public final class IMPJobManager extends java.lang.Object implements JobManager, java.lang.Runnable, XAListener, java.util.concurrent.Executor
JobManager.ExecutionListenerXAListener.WeakDelegateACTION_FLAGS, PRIORITY_MASK, QUIET, RENDER_FLAGS, RENDER_PRIORITY, UI_PRIORITY, UPDATE_FLAGS, UPDATE_PRIORITY| Modifier and Type | Method and Description |
|---|---|
void |
addExecutionListener(JobManager.ExecutionListener listener) |
void |
cancelQueuedJob(Command object) |
void |
cancelTimedJob(Command object) |
void |
execute(Command cmd,
java.lang.Object info,
Context ctx,
int flags) |
void |
execute(java.lang.Runnable r) |
java.lang.Object |
getComponent()
Determines the GUI component of this GUI context.
|
java.lang.Thread |
getMainThread() |
long |
getNextInvocationTime() |
Panel |
getPanel()
Determines the panel of this GUI context.
|
ThreadContext |
getThreadContext() |
Window |
getWindow()
Determines the window of this GUI context.
|
Workbench |
getWorkbench()
Determines the workbench of this GUI context.
|
boolean |
hasJobQueued(int minPriority) |
boolean |
hasTimedJobQueued() |
void |
removeExecutionListener(JobManager.ExecutionListener listener) |
void |
run() |
void |
runAt(long time,
Command object,
java.lang.Object info,
Context ctx) |
void |
runBlocking(java.lang.Runnable r) |
void |
runLater(Command command,
java.lang.Object info,
Context ctx,
int flags) |
void |
runLater(long delay,
Command object,
java.lang.Object info,
Context ctx) |
void |
transactionApplied(Transaction.Data xa,
boolean rollback) |
public void addExecutionListener(JobManager.ExecutionListener listener)
addExecutionListener in interface JobManagerpublic void cancelQueuedJob(Command object)
cancelQueuedJob in interface JobManagerpublic void cancelTimedJob(Command object)
cancelTimedJob in interface JobManagerpublic final void execute(Command cmd, java.lang.Object info, Context ctx, int flags)
execute in interface JobManagerpublic void execute(java.lang.Runnable r)
execute in interface java.util.concurrent.Executorpublic java.lang.Object getComponent()
ContextgetComponent in interface Contextpublic java.lang.Thread getMainThread()
getMainThread in interface JobManagerpublic long getNextInvocationTime()
public Panel getPanel()
Contextpublic ThreadContext getThreadContext()
getThreadContext in interface JobManagerpublic Window getWindow()
Contextpublic Workbench getWorkbench()
ContextgetWorkbench in interface Contextpublic boolean hasJobQueued(int minPriority)
hasJobQueued in interface JobManagerpublic boolean hasTimedJobQueued()
hasTimedJobQueued in interface JobManagerpublic void removeExecutionListener(JobManager.ExecutionListener listener)
removeExecutionListener in interface JobManagerpublic void run()
run in interface java.lang.Runnablepublic void runAt(long time,
Command object,
java.lang.Object info,
Context ctx)
runAt in interface JobManagerpublic void runBlocking(java.lang.Runnable r)
runBlocking in interface JobManagerpublic void runLater(Command command, java.lang.Object info, Context ctx, int flags)
runLater in interface JobManagerpublic void runLater(long delay,
Command object,
java.lang.Object info,
Context ctx)
runLater in interface JobManagerpublic void transactionApplied(Transaction.Data xa, boolean rollback)
transactionApplied in interface XAListener