Package com._1c.g5.aef2.engines
Interface IRunnableQueue
-
-
Field Summary
Fields Modifier and Type Field Description static IRunnableQueueIMMEDIATERunnable queue with the immediate execution of runnables.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidqueueAndWaitRunnable(Runnable runnable)Queues the runnable for execution and waits for its completion.voidqueueRunnable(Runnable runnable)Queues the runnable for execution.
-
-
-
Field Detail
-
IMMEDIATE
static final IRunnableQueue IMMEDIATE
Runnable queue with the immediate execution of runnables.
-
-
Method Detail
-
queueRunnable
void queueRunnable(Runnable runnable)
Queues the runnable for execution.- Parameters:
runnable- the runnable to queue.- See Also:
queueAndWaitRunnable(Runnable)
-
queueAndWaitRunnable
void queueAndWaitRunnable(Runnable runnable)
Queues the runnable for execution and waits for its completion. The runnables queued during the passed runnable execution are also executed before this method returns. Typically, runnables created as a result of the user interaction with the UI should be executed synchronously using this method.- Parameters:
runnable- the runnable to queue and wait for.- See Also:
queueRunnable(Runnable)
-
-