Module  java.management

Interface StringMonitorMBean

  • All Superinterfaces:
    MonitorMBean
    所有已知实现类:
    StringMonitor


    public interface StringMonitorMBean
    extends MonitorMBean
    暴露字符串监视器MBean的远程管理界面。
    从以下版本开始:
    1.5
    • 方法详细信息

      • getDerivedGauge

        String getDerivedGauge​(ObjectName object)
        获取指定MBean的派生量规。
        参数
        object - 要返回派生量规的MBean
        结果
        如果这个MBean在一组观察到的MBean中,则指定MBean的派生量规,否则为 null
      • getDerivedGaugeTimeStamp

        long getDerivedGaugeTimeStamp​(ObjectName object)
        获取指定MBean的派生标尺时间戳。
        参数
        object - 要为其返回派生标尺时间戳的MBean
        结果
        如果此MBean在所观察的MBean集合中,则指定MBean的派生量规时间戳,否则为 null
      • getNotifyMatch

        boolean getNotifyMatch​()
        获取匹配通知的开/关开关值。
        结果
        true如果字符串监视器在匹配时通知,否则为 false
        另请参见:
        setNotifyMatch(boolean)
      • setNotifyMatch

        void setNotifyMatch​(boolean value)
        设置匹配通知的开/关开关值。
        参数
        value - 匹配通知的开/关开关值。
        另请参见:
        getNotifyMatch()
      • getNotifyDiffer

        boolean getNotifyDiffer​()
        获取不同通知的开/关开关值。
        结果
        true如果字符串监视器通知不同的话,其他情况下是 false
        另请参见:
        setNotifyDiffer(boolean)
      • setNotifyDiffer

        void setNotifyDiffer​(boolean value)
        设置不同通知的开/关开关值。
        参数
        value - 不同通知的开/关开关值。
        另请参见:
        getNotifyDiffer()