Core: Removed unused methods.

Original commit: elastic/x-pack-elasticsearch@1aac9a440e
This commit is contained in:
Martijn van Groningen 2014-11-12 22:11:45 +01:00
parent cd2c74a6a0
commit b731f84d68

View File

@ -86,13 +86,6 @@ public class AlertsStore extends AbstractComponent {
this.triggerManager = triggerManager;
}
/**
* Returns whether an alert with the specified name exists.
*/
public boolean hasAlert(String name) {
return alertMap.containsKey(name);
}
/**
* Returns the alert with the specified name otherwise <code>null</code> is returned.
*/
@ -145,14 +138,6 @@ public class AlertsStore extends AbstractComponent {
return deleteResponse;
}
/**
* Clears the in-memory representation of the alerts and loads the alerts from the .alerts index.
*/
public void reload() {
clear();
loadAlerts();
}
/**
* Clears the in-memory representation of the alerts
*/