public abstract class TimeoutDetectorRT extends PointEventDetectorRT implements TimeoutClient
| Modifier and Type | Field and Description |
|---|---|
private com.serotonin.web.i18n.LocalizableMessage |
durationDescription
Internal configuration field.
|
private long |
durationMS
Internal configuration field.
|
private com.serotonin.timer.TimerTask |
task
Internal configuration field.
|
vo| Constructor and Description |
|---|
TimeoutDetectorRT() |
| Modifier and Type | Method and Description |
|---|---|
private void |
cancelTask() |
protected com.serotonin.web.i18n.LocalizableMessage |
getDurationDescription() |
protected long |
getDurationMS() |
void |
initialize() |
protected boolean |
isJobScheduled() |
protected void |
scheduleJob(long timeout) |
void |
scheduleTimeout(long fireTime) |
protected abstract void |
scheduleTimeoutImpl(long fireTime) |
void |
terminate() |
protected void |
unscheduleJob() |
createEventContext, getEventDetectorKey, getEventType, getMessage, joinTermination, pointBackdated, pointChanged, pointInitialized, pointSet, pointTerminated, pointUpdated, raiseEvent, returnToNormaladdListener, fireEventDetectorStateChanged, fireEventDetectorTerminated, hasListeners, removeListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisEventActiveprivate long durationMS
private com.serotonin.web.i18n.LocalizableMessage durationDescription
private com.serotonin.timer.TimerTask task
public void initialize()
initialize in interface com.serotonin.util.ILifecycleinitialize in class PointEventDetectorRTprotected boolean isJobScheduled()
public void terminate()
terminate in interface com.serotonin.util.ILifecycleterminate in class PointEventDetectorRTprotected com.serotonin.web.i18n.LocalizableMessage getDurationDescription()
protected long getDurationMS()
protected void scheduleJob(long timeout)
protected void unscheduleJob()
public final void scheduleTimeout(long fireTime)
scheduleTimeout in interface TimeoutClientprotected abstract void scheduleTimeoutImpl(long fireTime)
private void cancelTask()