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
null。
long getDerivedGaugeTimeStamp(ObjectName object)
object
- 要为其返回派生标尺时间戳的MBean
null
null。
String getStringToCompare()
setStringToCompare(java.lang.String)
void setStringToCompare(String value) throws IllegalArgumentException
value
- 字符串值。
IllegalArgumentException
- 要比较的指定字符串为null。
getStringToCompare()
boolean getNotifyMatch()
true
如果字符串监视器通知何时匹配,
false
false。
setNotifyMatch(boolean)
void setNotifyMatch(boolean value)
value
- 匹配通知的开/关开关值。
getNotifyMatch()
boolean getNotifyDiffer()
true
如果字符串监视器通知不同,
false
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.