Java™ Platform
Standard Ed. 8
compact3
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()
Java™ Platform
Standard Ed. 8

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2022, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.

微信小程序

微信扫一扫体验

微信公众账号

微信扫一扫加关注

发表
评论
返回
顶部