Class Telemetryd
- java.lang.Object
-
- org.opennms.netmgt.telemetry.daemon.Telemetryd
-
- All Implemented Interfaces:
SpringServiceDaemon
,TelemetryManager
,org.springframework.beans.factory.DisposableBean
,org.springframework.beans.factory.InitializingBean
public class Telemetryd extends java.lang.Object implements SpringServiceDaemon, TelemetryManager
telemetryd is responsible for managing the life cycle ofListener
s,Connector
s andAdapter
s as well as connecting these to the Sink API.- Author:
- jwhite
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LOG_PREFIX
static java.lang.String
NAME
-
Constructor Summary
Constructors Constructor Description Telemetryd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
void
destroy()
java.util.List<Adapter>
getAdapters()
Get the list of currently configured and enabled adapters.java.util.List<Listener>
getListeners()
Get the list of currently configured and enabled listeners.void
handleReloadEvent(IEvent e)
void
start()
start
-
-
-
Field Detail
-
NAME
public static final java.lang.String NAME
- See Also:
- Constant Field Values
-
LOG_PREFIX
public static final java.lang.String LOG_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start() throws java.lang.Exception
Description copied from interface:SpringServiceDaemon
start
- Specified by:
start
in interfaceSpringServiceDaemon
- Throws:
java.lang.Exception
- if any.
-
destroy
public void destroy()
- Specified by:
destroy
in interfaceorg.springframework.beans.factory.DisposableBean
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
-
handleReloadEvent
public void handleReloadEvent(IEvent e)
-
getListeners
public java.util.List<Listener> getListeners()
Description copied from interface:TelemetryManager
Get the list of currently configured and enabled listeners.- Specified by:
getListeners
in interfaceTelemetryManager
- Returns:
- the listeners
-
getAdapters
public java.util.List<Adapter> getAdapters()
Description copied from interface:TelemetryManager
Get the list of currently configured and enabled adapters.- Specified by:
getAdapters
in interfaceTelemetryManager
- Returns:
- the adapters
-
-