public interface StringMonitorMBean extends MonitorMBean
Modifier and Type | Method and Description |
---|---|
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()
获取字符串以与所观察到的属性进行比较。
|
void |
setNotifyDiffer(boolean value)
设置不同的通知的打开/关闭开关值。
|
void |
setNotifyMatch(boolean value)
设置匹配通知的打开/关闭开关值。
|
void |
setStringToCompare(String value)
设置字符串与所观察到的属性进行比较。
|
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
-指定字符串比较是无效的。
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()
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, 2014, Oracle and/or its affiliates. All rights reserved.