|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectDeskDaemon
@ThreadSafe public final class DeskDaemon
The desk daemon as a whole. The single instance of DeskDaemon is available via DeskDaemon.i().
Constructor Summary | |
---|---|
DeskDaemon()
Creates the single instance of DeskDaemon, and makes it available via i(). |
Method Summary | |
---|---|
ScheduledExecutorService |
executor()
The general-purpose desk executor, an asynchronous executor that employs a single thread, the "desk executor" thread. |
static DeskDaemon |
i()
The single instance of DeskDaemon. |
boolean |
isExecutorThread()
Returns true if the calling thread is the desk executor thread. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
DeskDaemon()
Method Detail |
---|
public static DeskDaemon i()
public ScheduledExecutorService executor()
Most of its activity consists of dispatching events to other processes on the host. Parallel dispatch helps to avoid distributed deadlock during event handling. And the buffering provided by the executor's queue helps to keep other processes unblocked during bursts of activity.
isExecutorThread()
public boolean isExecutorThread()
|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |