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
,
DataSender
PAUSE_PENDING, PAUSED, RESUME_PENDING
RUNNING, 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, waitForStatus
protected void onInit()
onInit
onInit
in class AbstractServiceDaemon
protected void onStart()
onStart
onStart
in class AbstractServiceDaemon
protected void onStop()
onStop
onStop
in class AbstractServiceDaemon
Copyright © 2021. All rights reserved.