javax.management.monitor

Interface GaugeMonitorMBean

  • All Superinterfaces:
    MonitorMBean
    All Known Implementing Classes:
    GaugeMonitor

    public interface GaugeMonitorMBean
    extends MonitorMBean
    Exposes the remote management interface of the gauge monitor MBean.
    Since:
    1.5
    • Method Detail

      • getDerivedGauge

        Number getDerivedGauge(ObjectName object)
        Gets the derived gauge for the specified MBean.
        Parameters:
        object - the MBean for which the derived gauge is to be returned
        Returns:
        The derived gauge for the specified MBean if this MBean is in the set of observed MBeans, or null otherwise.
      • getDerivedGaugeTimeStamp

        long getDerivedGaugeTimeStamp(ObjectName object)
        Gets the derived gauge timestamp for the specified MBean.
        Parameters:
        object - the MBean for which the derived gauge timestamp is to be returned
        Returns:
        The derived gauge timestamp for the specified MBean if this MBean is in the set of observed MBeans, or null otherwise.
      • getHighThreshold

        Number getHighThreshold()
        Gets the high threshold value.
        Returns:
        The high threshold value.
      • getLowThreshold

        Number getLowThreshold()
        Gets the low threshold value.
        Returns:
        The low threshold value.
      • setThresholds

        void setThresholds(Number highValue,
                         Number lowValue)
                           throws IllegalArgumentException
        Sets the high and the low threshold values.
        Parameters:
        highValue - The high threshold value.
        lowValue - The low threshold value.
        Throws:
        IllegalArgumentException - The specified high/low threshold is null or the low threshold is greater than the high threshold or the high threshold and the low threshold are not of the same type.
      • getNotifyHigh

        boolean getNotifyHigh()
        Gets the high notification's on/off switch value.
        Returns:
        true if the gauge monitor notifies when exceeding the high threshold, false otherwise.
        See Also:
        setNotifyHigh(boolean)
      • setNotifyHigh

        void setNotifyHigh(boolean value)
        Sets the high notification's on/off switch value.
        Parameters:
        value - The high notification's on/off switch value.
        See Also:
        getNotifyHigh()
      • getNotifyLow

        boolean getNotifyLow()
        Gets the low notification's on/off switch value.
        Returns:
        true if the gauge monitor notifies when exceeding the low threshold, false otherwise.
        See Also:
        setNotifyLow(boolean)
      • setNotifyLow

        void setNotifyLow(boolean value)
        Sets the low notification's on/off switch value.
        Parameters:
        value - The low notification's on/off switch value.
        See Also:
        getNotifyLow()
      • getDifferenceMode

        boolean getDifferenceMode()
        Gets the difference mode flag value.
        Returns:
        true if the difference mode is used, false otherwise.
        See Also:
        setDifferenceMode(boolean)
      • setDifferenceMode

        void setDifferenceMode(boolean value)
        Sets the difference mode flag value.
        Parameters:
        value - The difference mode flag value.
        See Also:
        getDifferenceMode()

Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-javax/management/monitor/gaugemonitormbean.html

The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.

References

  1. View the html document Language of the document:fr Manuel PHP : https://docs.oracle.com

These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.

Contents Haut