frysk.hpd
Class QuitCommand.KillRequest
java.lang.Object
frysk.event.Request
frysk.hpd.QuitCommand.KillRequest
- All Implemented Interfaces:
- Event
- Enclosing class:
- QuitCommand
private static class QuitCommand.KillRequest
- extends Request
Method Summary |
void |
execute()
|
void |
request()
Make a request to run execute() on the eventLoop thread. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cli
private final CLI cli
quitLatch
private final CountDownLatch quitLatch
QuitCommand.KillRequest
QuitCommand.KillRequest(CLI cli,
CountDownLatch quitLatch)
execute
public final void execute()
request
public void request()
- Description copied from class:
Request
- Make a request to run execute() on the eventLoop thread.
The sub-class will look something like:
if (isEventLoopThread())
execute(with, args)
else {
synchronized(this) {
super.request();
}
}
- Overrides:
request
in class Request