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, setInvoker
protected boolean lock(ReentrantLock lock)
protected boolean unlock(ReentrantLock lock)
protected boolean isEventThread()
isEventThread
in class Invoker
public void checkEventThread()
Invoker
IllegalStateException
if the current thread is not
the event thread.checkEventThread
in class Invoker
public void invokeOnEventThread(Runnable r)
invokeOnEventThread
in class Invoker
public void postOnEventThread(Runnable r)
postOnEventThread
in class Invoker
Copyright © 2020. All rights reserved.