This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.


javax.management.monitor
interface StringMonitorMBean

All Superinterfaces:
MonitorMBean
All Known Implementing Classes:
StringMonitor

public interface StringMonitorMBean
extends MonitorMBean

Exposes the remote management interface of the string monitor MBean.


Method Summary
 String

          Gets the derived gauge.
 String

          Gets the derived gauge for the specified MBean.
 long

          Gets the derived gauge timestamp.
 long

          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

          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

getDerivedGauge

public String getDerivedGauge()
Gets the derived gauge.

Returns:
The derived gauge.

getDerivedGauge

public String getDerivedGauge(ObjectName object)
Gets the derived gauge for the specified MBean.

Parameters:
object - the MBean for which the derived gauge is to be returned
Returns:
The derived gauge for the specified MBean if this MBean is in the set of observed MBeans, or null otherwise.

getDerivedGaugeTimeStamp

public long getDerivedGaugeTimeStamp()
Gets the derived gauge timestamp.

Returns:
The derived gauge timestamp.

getDerivedGaugeTimeStamp

public long getDerivedGaugeTimeStamp(ObjectName object)
Gets the derived gauge timestamp for the specified MBean.

Parameters:
object - the MBean for which the derived gauge timestamp is to be returned
Returns:
The derived gauge timestamp for the specified MBean if this MBean is in the set of observed MBeans, or null otherwise.

getNotifyDiffer

public boolean getNotifyDiffer()
Gets the differing notification's on/off switch value.

Returns:
true if the string monitor notifies when differing, false otherwise.

getNotifyMatch

public boolean getNotifyMatch()
Gets the matching notification's on/off switch value.

Returns:
true if the string monitor notifies when matching, false otherwise.

getStringToCompare

public String getStringToCompare()
Gets the string to compare with the observed attribute.

Returns:
The string value.

setNotifyDiffer

public void setNotifyDiffer(boolean value)
Sets the differing notification's on/off switch value.

Parameters:
value - The differing notification's on/off switch value.

setNotifyMatch

public void setNotifyMatch(boolean value)
Sets the matching notification's on/off switch value.

Parameters:
value - The matching notification's on/off switch value.

setStringToCompare

public void setStringToCompare(String value)
                        throws IllegalArgumentException
Sets the string to compare with the observed attribute.

Parameters:
value - The string value.
Throws:
IllegalArgumentException - The specified string to compare is null.


This documentation differs from the official API. Jadeite adds extra features to the API including: variable font sizes, constructions examples, placeholders for classes and methods, and auto-generated “See Also” links. Additionally it is missing some items found in standard Javadoc documentation, including: generics type information, “Deprecated” tags and comments, “See Also” links, along with other minor differences. Please send any questions or feedback to bam@cs.cmu.edu.
This page displays the Jadeite version of the documention, which is derived from the offical documentation that contains this copyright notice:
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.
The official Sun™ documentation can be found here at http://java.sun.com/javase/6/docs/api/.