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 Object implements SpringServiceDaemon, TelemetryManager
telemetryd is responsible for managing the life cycle ofListeners,Connectors andAdapters as well as connecting these to the Sink API.- Author:
- jwhite
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOG_PREFIXstatic StringNAME
-
Constructor Summary
Constructors Constructor Description Telemetryd()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()voiddestroy()List<Adapter>getAdapters()Get the list of currently configured and enabled adapters.List<Listener>getListeners()Get the list of currently configured and enabled listeners.voidhandleReloadEvent(IEvent e)voidstart()start
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
LOG_PREFIX
public static final String LOG_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
start
public void start() throws ExceptionDescription copied from interface:SpringServiceDaemonstart
- Specified by:
startin interfaceSpringServiceDaemon- Throws:
Exception- if any.
-
destroy
public void destroy()
- Specified by:
destroyin interfaceorg.springframework.beans.factory.DisposableBean
-
afterPropertiesSet
public void afterPropertiesSet()
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean
-
handleReloadEvent
public void handleReloadEvent(IEvent e)
-
getListeners
public List<Listener> getListeners()
Description copied from interface:TelemetryManagerGet the list of currently configured and enabled listeners.- Specified by:
getListenersin interfaceTelemetryManager- Returns:
- the listeners
-
getAdapters
public List<Adapter> getAdapters()
Description copied from interface:TelemetryManagerGet the list of currently configured and enabled adapters.- Specified by:
getAdaptersin interfaceTelemetryManager- Returns:
- the adapters
-
-