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(Runnable r) |
protected boolean |
isEventThread() |
protected boolean |
lock(ReentrantLock lock) |
void |
postOnEventThread(Runnable r) |
protected boolean |
unlock(ReentrantLock lock) |
getInvoker, setInvokerprotected boolean lock(ReentrantLock lock)
protected boolean unlock(ReentrantLock lock)
protected boolean isEventThread()
isEventThread in class Invokerpublic void checkEventThread()
InvokerIllegalStateException if the current thread is not
the event thread.checkEventThread in class Invokerpublic void invokeOnEventThread(Runnable r)
invokeOnEventThread in class Invokerpublic void postOnEventThread(Runnable r)
postOnEventThread in class InvokerCopyright © 2025. All rights reserved.