public final class PrismInvoker extends Invoker
Constructor and Description |
---|
PrismInvoker() |
Modifier and Type | Method and Description |
---|---|
void |
checkEventThread()
Throws
IllegalStateException if the current thread is not
the event thread. |
void |
invokeOnEventThread(java.lang.Runnable r) |
(package private) static void |
invokeOnRenderThread(java.lang.Runnable r) |
protected boolean |
isEventThread() |
private static boolean |
isEventThreadPrivate() |
protected boolean |
lock(java.util.concurrent.locks.ReentrantLock lock) |
void |
postOnEventThread(java.lang.Runnable r) |
(package private) static void |
runOnRenderThread(java.lang.Runnable r) |
protected boolean |
unlock(java.util.concurrent.locks.ReentrantLock lock) |
getInvoker, setInvoker
protected boolean lock(java.util.concurrent.locks.ReentrantLock lock)
protected boolean unlock(java.util.concurrent.locks.ReentrantLock lock)
protected boolean isEventThread()
isEventThread
in class Invoker
private static boolean isEventThreadPrivate()
public void checkEventThread()
Invoker
IllegalStateException
if the current thread is not
the event thread.checkEventThread
in class Invoker
public void invokeOnEventThread(java.lang.Runnable r)
invokeOnEventThread
in class Invoker
public void postOnEventThread(java.lang.Runnable r)
postOnEventThread
in class Invoker
static void invokeOnRenderThread(java.lang.Runnable r)
static void runOnRenderThread(java.lang.Runnable r)