public class

AlertsHolder

extends Object
java.lang.Object
   ↳ org.apache.helix.alerts.AlertsHolder

Summary

Public Constructors
AlertsHolder(HelixManager manager, HealthDataCache cache)
AlertsHolder(HelixManager manager, HealthDataCache cache, StatsHolder statHolder)
Public Methods
void addAlert(String alert)
void addAlertStatusSet(Map<StringMap<StringAlertValueAndStatus>> statusSet)
List<Alert> getAlertList()
AlertValueAndStatus getAlertValueAndStatus(String alertName)
Map<StringMap<StringString>> getAlertsMap()
static void parseAlert(String alert, StringBuilder statsName, Map<StringString> alertFields)
void persistAlertStatus()
void persistAlerts()
void refreshAlertStatus()
void refreshAlerts()
void updateCache(HealthDataCache cache)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public AlertsHolder (HelixManager manager, HealthDataCache cache)

public AlertsHolder (HelixManager manager, HealthDataCache cache, StatsHolder statHolder)

Public Methods

public void addAlert (String alert)

public void addAlertStatusSet (Map<StringMap<StringAlertValueAndStatus>> statusSet)

public List<Alert> getAlertList ()

public AlertValueAndStatus getAlertValueAndStatus (String alertName)

public Map<StringMap<StringString>> getAlertsMap ()

public static void parseAlert (String alert, StringBuilder statsName, Map<StringString> alertFields)

public void persistAlertStatus ()

public void persistAlerts ()

public void refreshAlertStatus ()

public void refreshAlerts ()

public void updateCache (HealthDataCache cache)