Interface Monitor<T>

Type Parameters:
T - Type of monitor
All Known Implementing Classes:
CountMonitor, DiskSpaceMonitor, IsolatedHealthMonitor, PingCheckMonitor, RotationStatusMonitor

public interface Monitor<T>
An generic interface to monitor any entity
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    trigger a single check of the monitor service
  • Method Details

    • monitor

      T monitor()
      trigger a single check of the monitor service
      Returns:
      status of check
    • isDisabled

      boolean isDisabled()
      Returns:
      true if the monitor is disabled, else false