mirror of
https://github.com/honeymoose/OpenSearch.git
synced 2025-02-25 06:16:40 +00:00
Core: Removed unused methods.
Original commit: elastic/x-pack-elasticsearch@1aac9a440e
This commit is contained in:
parent
cd2c74a6a0
commit
b731f84d68
@ -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
|
||||
*/
|
||||
|
Loading…
x
Reference in New Issue
Block a user