public class CommentPushController extends AbstractPushController
Thread.State, Thread.UncaughtExceptionHandlerDEFAULT_DELAY, PARAM_UPDATE_INTERVAL, paramsMAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY| Constructor and Description |
|---|
CommentPushController() |
CommentPushController(int updateInterval) |
CommentPushController(PushComponent component) |
CommentPushController(PushComponent component,
int updateInterval) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
after() |
protected void |
before() |
protected CockpitCommentService |
getCockpitCommentService() |
TypeService |
getCockpitTypeService() |
boolean |
isUpdateNeeded()
Returns whether an update is required or not.
|
protected void |
loadParameters() |
void |
update()
Called whenever an update is needed i.e.
|
addEvent, getComponent, getDesktop, getParameters, getSession, getUpdateInterval, getWebApplicationContext, isDone, run, setComponent, setDone, setParameters, setUpdateInterval, startController, toStringactiveCount, checkAccess, clone, 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, start, stop, stop, suspend, yieldpublic CommentPushController()
public CommentPushController(int updateInterval)
public CommentPushController(PushComponent component)
public CommentPushController(PushComponent component, int updateInterval)
protected void after()
after in class AbstractPushControllerprotected void before()
before in class AbstractPushControllerpublic boolean isUpdateNeeded()
PushControllertrue if an update is needed, false otherwisePushController.update()public void update()
PushControllerPushController.isUpdateNeeded() has returned true.
Typically creates CockpitEvents and adds them to a special event queue by calling the
PushComponent.addEvent(CockpitEvent) method on the PushComponent returned by PushController.getComponent().protected void loadParameters()
loadParameters in class AbstractPushControllerprotected CockpitCommentService getCockpitCommentService()
public TypeService getCockpitTypeService()
Copyright © 2017 SAP SE. All Rights Reserved.