Interface Monitor

All Superinterfaces:
Serializable
All Known Subinterfaces:
ApplicationContextMonitor
All Known Implementing Classes:
AbstractMonitor, BeanPropertyMonitor

public interface Monitor extends Serializable
A monitor bean. Used to monitor different beans within a processing unit.
Author:
kimchy
  • Method Summary

    Modifier and Type
    Method
    Description
    int
    The size of the history of values saved.
    Returns the name of the monitor.
    long
    A period (in milliseconds) when this value will be checked.
    double
    The value of the monitor.
  • Method Details

    • getName

      String getName()
      Returns the name of the monitor. Used in different UI handlers and SLA references.
    • getPeriod

      long getPeriod()
      A period (in milliseconds) when this value will be checked.
    • getValue

      double getValue()
      The value of the monitor.
    • getHistorySize

      int getHistorySize()
      The size of the history of values saved.