public final class RTCManager extends AbstractServiceDaemon
Maintains calculations for categories.
The RTCManager maintains data required so as to calculate availability for the different categories configured in categories.xml.
The RTC initializes its data from the database when it comes up. It then subscribes to the Events subsystem to receive events of interest to keep the data up-to-date.
Availability data is sent out to listeners who indicate that they are listening by sending an RTC 'subscribe' event. The subscribe event has an URL and user/passwd info. so RTC can post data to the URL.
A timer defaulting to two minutes determines the interval at which data is sent.
org.opennms.netmgt.rtc.RTCConstants,
DataSenderPAUSE_PENDING, PAUSED, RESUME_PENDINGRUNNING, START_PENDING, STARTING, STATUS_NAMES, STOP_PENDING, STOPPED| Constructor and Description |
|---|
RTCManager()
The constructor for the RTCManager
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
onInit()
onInit
|
protected void |
onStart()
onStart
|
protected void |
onStop()
onStop
|
afterPropertiesSet, destroy, getName, getStatus, getStatusText, init, isPaused, isRunning, isStarting, onPause, onResume, pause, resume, setStatus, start, status, stop, waitForStatus, waitForStatusprotected void onInit()
onInit
onInit in class AbstractServiceDaemonprotected void onStart()
onStart
onStart in class AbstractServiceDaemonprotected void onStop()
onStop
onStop in class AbstractServiceDaemonCopyright © 2020. All rights reserved.