Interface IAlertCache

All Known Implementing Classes:
AlertCache

public interface IAlertCache
Definition of a simple cache for alerts, storing only alerts that are currently running.
Author:
ActiveViam
  • Method Details Link icon

    • getAlerts Link icon

      Retrieve all the alerts cached.
      Returns:
      collection of ISentinelAlert in this cache
    • addAlerts Link icon

      void addAlerts(Collection<? extends ISentinelAlert> alerts)
      Add a series of alerts to the cache.
      Parameters:
      alerts - alerts to add
    • stopAlerts Link icon

      void stopAlerts(Collection<? extends ISentinelAlert> stoppedAlerts)
      Process a series of stopped alerts, removing them from the cache.
      Parameters:
      stoppedAlerts - alerts that were stopped
    • stopAllAlerts Link icon

      void stopAllAlerts()
      Stops all alerts.
    • clear Link icon

      void clear()
      Empty this cache.