Class RTCManager

  • All Implemented Interfaces:
    Fiber, PausableFiber, SpringServiceDaemon, ServiceDaemon, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.InitializingBean

    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.

    Author:
    Sowmya Kumaraswamy , OpenNMS.org
    See Also:
    org.opennms.netmgt.rtc.RTCConstants, DataSender