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 java.lang.Object implements org.springframework.beans.factory.InitializingBean
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
LOG_PREFIX
-
Constructor Summary
Constructors Constructor Description MinionStatusTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
java.util.Collection<OnmsMinion>
getMinions()
long
getRefresh()
MinionStatus
getStatus(java.lang.String foreignId)
MinionStatus
getStatus(OnmsMinion minion)
void
onMonitoringSystemAdded(IEvent e)
void
onMonitoringSystemDeleted(IEvent e)
void
onNodeDeleted(IEvent e)
void
onNodeGainedService(IEvent e)
void
onOutageEvent(IEvent e)
void
refresh()
void
setRefresh(long refresh)
-
-
-
Field Detail
-
LOG_PREFIX
public static final java.lang.String LOG_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
-
getRefresh
public long getRefresh()
-
setRefresh
public void setRefresh(long refresh)
-
getMinions
public java.util.Collection<OnmsMinion> getMinions()
-
getStatus
public MinionStatus getStatus(java.lang.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()
-
-