- invokeLater
Schedules the given Runnable object for a later invocation, and returns. An
exception is thrown if t
- preemptLater
Schedules the given Runnable object for a later invocation, and returns. The
given runnable preempts
- createRunnableQueue
Creates a new RunnableQueue started in a new thread.
- getIteratorLock
Returns iterator lock to use to work with the iterator returned by iterator().
- getThread
Returns the thread in which the RunnableQueue is currently running.
- invokeAndWait
Waits until the given Runnable's run() has returned.Note: invokeAndWait() must
not be called from th
- iterator
Returns an iterator over the runnables.
- resumeExecution
Resumes the execution of this queue.
- suspendExecution
Suspends the execution of this queue after the current runnable completes.
- executionResumed
Called when execution is being resumed. Currently just notifies runHandler
- executionSuspended
Called when execution is being suspended. Currently just notifies runHandler
- getQueueState