javax.management.monitor

Interface CounterMonitorMBean

  • All Superinterfaces:
    MonitorMBean
    All Known Implementing Classes:
    CounterMonitor

    public interface CounterMonitorMBean
    extends MonitorMBean
    Exposes the remote management interface of the counter 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.
      • getThreshold

        Number getThreshold(ObjectName object)
        Gets the threshold value for the specified MBean.
        Parameters:
        object - the MBean for which the threshold value is to be returned
        Returns:
        The threshold value for the specified MBean if this MBean is in the set of observed MBeans, or null otherwise.
        See Also:
        setThreshold(java.lang.Number)
      • getNotify

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

        void setNotify(boolean value)
        Sets the notification's on/off switch value.
        Parameters:
        value - The notification's on/off switch value.
        See Also:
        getNotify()
      • 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()

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 07/12/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-javax/management/monitor/CounterMonitorMBean.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, CounterMonitorMBean

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut