| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface StringMonitorMBean extends MonitorMBean
Exposes the remote management interface of the string monitor MBean.
Method Summary | |
---|---|
String |
Gets the derived gauge. |
String |
getDerivedGauge(ObjectName object) Gets the derived gauge for the specified MBean. |
long |
Gets the derived gauge timestamp. |
long |
getDerivedGaugeTimeStamp(ObjectName object) Gets the derived gauge timestamp for the specified MBean. |
boolean |
Gets the differing notification's on/off switch value. |
boolean |
Gets the matching notification's on/off switch value. |
String |
Gets the string to compare with the observed attribute. |
void |
setNotifyDiffer(boolean value) Sets the differing notification's on/off switch value. |
void |
setNotifyMatch(boolean value) Sets the matching notification's on/off switch value. |
void |
setStringToCompare(String value) Sets the string to compare with the observed attribute. |
Methods inherited from class javax.management.monitor.MonitorMBean |
---|
addObservedObject, containsObservedObject, getGranularityPeriod, getObservedAttribute, getObservedObject, getObservedObjects, isActive, removeObservedObject, setGranularityPeriod, setObservedAttribute, setObservedObject, start, stop |
Method Detail |
---|
public String getDerivedGauge()
public String getDerivedGauge(ObjectName object)
object
- the MBean for which the derived gauge is to be returnednull
otherwise.public long getDerivedGaugeTimeStamp()
public long getDerivedGaugeTimeStamp(ObjectName object)
object
- the MBean for which the derived gauge timestamp is to be returnednull
otherwise.public boolean getNotifyDiffer()
true
if the string monitor notifies when
differing, false
otherwise.public boolean getNotifyMatch()
true
if the string monitor notifies when
matching, false
otherwise.public String getStringToCompare()
public void setNotifyDiffer(boolean value)
value
- The differing notification's on/off switch value.public void setNotifyMatch(boolean value)
value
- The matching notification's on/off switch value.public void setStringToCompare(String value) throws IllegalArgumentException
value
- The string value.IllegalArgumentException
- The specified
string to compare is null.
| |||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |