public class MinionStatusTracker extends Object implements org.springframework.beans.factory.InitializingBean
Modifier and Type | Field and Description |
---|---|
static String |
LOG_PREFIX |
Constructor and Description |
---|
MinionStatusTracker() |
Modifier and Type | Method and Description |
---|---|
void |
afterPropertiesSet() |
Collection<OnmsMinion> |
getMinions() |
long |
getRefresh() |
MinionStatus |
getStatus(OnmsMinion minion) |
MinionStatus |
getStatus(String foreignId) |
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) |
public static final String LOG_PREFIX
public void afterPropertiesSet() throws Exception
afterPropertiesSet
in interface org.springframework.beans.factory.InitializingBean
Exception
public long getRefresh()
public void setRefresh(long refresh)
public Collection<OnmsMinion> getMinions()
public MinionStatus getStatus(String foreignId)
public MinionStatus getStatus(OnmsMinion minion)
public void onMonitoringSystemAdded(IEvent e)
public void onMonitoringSystemDeleted(IEvent e)
public void onNodeGainedService(IEvent e)
public void onNodeDeleted(IEvent e)
public void onOutageEvent(IEvent e)
public void refresh()
Copyright © 2021. All rights reserved.