Provides a cached list of alerts organized by element Id and event Id for fast lookup.
More...
|
| int | Count [get] |
| | Returns the number of alerts in the cache More...
|
| |
Provides a cached list of alerts organized by element Id and event Id for fast lookup.
◆ AlertCache()
| Apac.Monitoring.AlertCache.AlertCache |
( |
| ) |
|
|
inline |
Initializes a new instance of the AlertCache class.
◆ All()
| Alert [] Apac.Monitoring.AlertCache.All |
( |
| ) |
|
|
inline |
Returns all cached alerts.
- Returns
- Returns all cached alerts.
◆ Check()
| Alert Apac.Monitoring.AlertCache.Check |
( |
uint |
elementId, |
|
|
uint |
eventId |
|
) |
| |
|
inline |
Checks the cache.
- Parameters
-
| elementId | The element id. |
| eventId | The event id. |
- Returns
- Returns a Alert from the cache, or
null on a cache miss.
◆ Clear()
| void Apac.Monitoring.AlertCache.Clear |
( |
| ) |
|
|
inline |
◆ FindAll()
| Alert [] Apac.Monitoring.AlertCache.FindAll |
( |
Predicate< Alert > |
match | ) |
|
|
inline |
Finds all alerts that match according to match .
- Parameters
-
- Returns
- Returns a T:Alert[] containing all matching alerts.
◆ Reload()
| void Apac.Monitoring.AlertCache.Reload |
( |
Alerts |
alerts | ) |
|
|
inline |
Reloads the cache with the specified alerts.
- Parameters
-
◆ Remove()
| void Apac.Monitoring.AlertCache.Remove |
( |
Alert |
alert | ) |
|
|
inline |
Removes from cache.
- Parameters
-
◆ Update()
| void Apac.Monitoring.AlertCache.Update |
( |
Alert |
alert | ) |
|
|
inline |
Updates the cache, if a matching alert does not exist in the cache.
- Parameters
-
◆ Count
| int Apac.Monitoring.AlertCache.Count |
|
get |
Returns the number of alerts in the cache
The documentation for this class was generated from the following file:
- /var/lib/jenkins/workspace/apac/APAC/APACCore/Monitoring/AlertCache.cs