Package org.opennms.minion.status
Class MinionStatusTracker
- java.lang.Object
-
- org.opennms.minion.status.MinionStatusTracker
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class MinionStatusTracker extends Object implements org.springframework.beans.factory.InitializingBean
-
-
Field Summary
Fields Modifier and Type Field Description static StringLOG_PREFIX
-
Constructor Summary
Constructors Constructor Description MinionStatusTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()Collection<OnmsMinion>getMinions()longgetRefresh()MinionStatusgetStatus(String foreignId)MinionStatusgetStatus(OnmsMinion minion)voidonMonitoringSystemAdded(IEvent e)voidonMonitoringSystemDeleted(IEvent e)voidonNodeDeleted(IEvent e)voidonNodeGainedService(IEvent e)voidonOutageEvent(IEvent e)voidrefresh()voidsetRefresh(long refresh)
-
-
-
Field Detail
-
LOG_PREFIX
public static final String LOG_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
getRefresh
public long getRefresh()
-
setRefresh
public void setRefresh(long refresh)
-
getMinions
public Collection<OnmsMinion> getMinions()
-
getStatus
public MinionStatus getStatus(String foreignId)
-
getStatus
public MinionStatus getStatus(OnmsMinion minion)
-
onMonitoringSystemAdded
public void onMonitoringSystemAdded(IEvent e)
-
onMonitoringSystemDeleted
public void onMonitoringSystemDeleted(IEvent e)
-
onNodeGainedService
public void onNodeGainedService(IEvent e)
-
onNodeDeleted
public void onNodeDeleted(IEvent e)
-
onOutageEvent
public void onOutageEvent(IEvent e)
-
refresh
public void refresh()
-
-