public interface StringMonitorMBean
     公开字符串监视器 MBean 的远程管理接口。
| 方法摘要 | |
|---|---|
  String |  
     getDerivedGauge() 已过时。 从 JMX 1.2 开始,由 getDerivedGauge(ObjectName) 取代 |  
    
  String |  
     getDerivedGauge(ObjectName object) 获取指定 MBean 的派生尺度。  |  
    
  long |  
     getDerivedGaugeTimeStamp() 已过时。 从 JMX 1.2 开始,由 getDerivedGaugeTimeStamp(ObjectName) 取代 |  
    
  long |  
     getDerivedGaugeTimeStamp(ObjectName object) 获取指定 MBean 的派生尺度时间戳。  |  
    
  boolean |  
     getNotifyDiffer() 获取不同通知的开/关切换值。  |  
    
  boolean |  
     getNotifyMatch() 获取匹配的通知的开/关切换值。  |  
    
  String |  
     getStringToCompare() 获取要与 observed 属性进行比较的字符串。  |  
    
  void |  
     setNotifyDiffer(boolean value) 设置不同通知的开/关切换值。  |  
    
  void |  
     setNotifyMatch(boolean value) 设置匹配的通知的开/关切换值。  |  
    
  void |  
     setStringToCompare(String value) 设置要与 observed 属性进行比较的字符串。  |  
    
| 从接口 javax.management.monitor.MonitorMBean 继承的方法 | 
|---|
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop |  
    
| 方法详细信息 | 
|---|
@Deprecated String getDerivedGauge()
getDerivedGauge(ObjectName) 取代 
    
@Deprecated long getDerivedGaugeTimeStamp()
getDerivedGaugeTimeStamp(ObjectName) 取代 
    
String getDerivedGauge(ObjectName object)
object - 将为其返回派生的尺度的 MBean 
     null。
     long getDerivedGaugeTimeStamp(ObjectName object)
object - 将为其返回派生的尺度时间戳的 MBean 
     null。
     String getStringToCompare()
setStringToCompare(java.lang.String)
     void setStringToCompare(String value) throws IllegalArgumentException
value - 字符串值。 
     IllegalArgumentException - 如果要比较的指定字符串为 null。
     getStringToCompare()
     boolean getNotifyMatch()
true,否则返回 
      false。
     setNotifyMatch(boolean)
     void setNotifyMatch(boolean value)
value - 匹配通知的开/关切换值。
     getNotifyMatch()
     boolean getNotifyDiffer()
true,否则返回 
      false。
     setNotifyDiffer(boolean)
     void setNotifyDiffer(boolean value)
value - 不同通知的开/关切换值。
     getNotifyDiffer()