public class PresentsInvoker extends ReportingInvoker implements Lifecycle.ShutdownComponent
Invoker and integrates it a bit more into the Presents system.ReportingInvoker.StatsInvoker.UnitThread.State, Thread.UncaughtExceptionHandlerRunQueue.AsExecutorMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
PresentsInvoker(PresentsDObjectMgr omgr,
Lifecycle cycle,
ReportManager repmgr) |
| Modifier and Type | Method and Description |
|---|---|
void |
addInterdependentInvoker(Invoker invoker)
Adds an invoker that may post to the PresentsInvoker and the DObjectManager and may be
posted to by the PresentsInvoker and DObjectManager.
|
void |
postRunnableWhenEmpty(Runnable onEmpty)
Posts the given runnable to this invoker when it, the DObjectManager and any interdependent
invokers are all empty.
|
void |
shutdown() |
void |
start() |
void |
start(PresentsServer server)
Causes the invoker to begin execution for the PresentsServer.
|
getStatsexecute, getPendingUnits, isDispatchThread, iterate, postRunnable, postUnit, setDefaultLongThreshold, setLongThreshold, setProfilingParametersisRunning, runactiveCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, stop, stop, suspend, toString, yield@Inject public PresentsInvoker(PresentsDObjectMgr omgr, Lifecycle cycle, ReportManager repmgr)
public void addInterdependentInvoker(Invoker invoker)
postRunnableWhenEmpty(Runnable) and in waiting for invokers to
empty out on shutdown.public void postRunnableWhenEmpty(Runnable onEmpty)
public void start(PresentsServer server)
public void shutdown()
shutdown in interface Lifecycle.ShutdownComponentshutdown in class InvokerCopyright © 2015. All rights reserved.