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 String
LOG_PREFIX
-
Constructor Summary
Constructors Constructor Description MinionStatusTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
Collection<OnmsMinion>
getMinions()
long
getRefresh()
MinionStatus
getStatus(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 String LOG_PREFIX
- See Also:
- Constant Field Values
-
-
Method Detail
-
afterPropertiesSet
public void afterPropertiesSet() throws Exception
- Specified by:
afterPropertiesSet
in 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()
-
-