java.lang.Object | |||
↳ | javax.management.NotificationBroadcasterSupport | ||
↳ | javax.management.monitor.Monitor | ||
↳ | javax.management.monitor.StringMonitor |
Defines a monitor MBean designed to observe the values of a string attribute.
A string monitor sends notifications as follows:
match notification
is sent.
The notify match flag must be set to true
.
differ notification
is sent.
The notify differ flag must be set to true
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Default constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
This method is deprecated.
As of JMX 1.2, replaced by
getDerivedGauge(ObjectName)
| |||||||||||
Gets the derived gauge of the specified object, if this object is
contained in the set of observed MBeans, or
null otherwise. | |||||||||||
Gets the derived gauge timestamp of the specified object, if
this object is contained in the set of observed MBeans, or
0 otherwise. | |||||||||||
This method is deprecated.
As of JMX 1.2, replaced by
getDerivedGaugeTimeStamp(ObjectName)
| |||||||||||
Returns a
NotificationInfo object containing the name of
the Java class of the notification and the notification types sent by
the string monitor. | |||||||||||
Gets the differing notification's on/off switch value common to
all observed MBeans.
| |||||||||||
Gets the matching notification's on/off switch value common to
all observed MBeans.
| |||||||||||
Gets the string to compare with the observed attribute common
to all observed MBeans.
| |||||||||||
Sets the differing notification's on/off switch value common to
all observed MBeans.
| |||||||||||
Sets the matching notification's on/off switch value common to
all observed MBeans.
| |||||||||||
Sets the string to compare with the observed attribute common
to all observed MBeans.
| |||||||||||
Starts the string monitor.
| |||||||||||
Stops the string monitor.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Default constructor.
This method is deprecated.
As of JMX 1.2, replaced by
getDerivedGauge(ObjectName)
Returns the derived gauge of the first object in the set of observed MBeans.
Gets the derived gauge of the specified object, if this object is
contained in the set of observed MBeans, or null
otherwise.
object | the name of the MBean whose derived gauge is required. |
---|
Gets the derived gauge timestamp of the specified object, if
this object is contained in the set of observed MBeans, or
0
otherwise.
object | the name of the object whose derived gauge timestamp is to be returned. |
---|
This method is deprecated.
As of JMX 1.2, replaced by
getDerivedGaugeTimeStamp(ObjectName)
Gets the derived gauge timestamp of the first object in the set of observed MBeans.
Returns a NotificationInfo
object containing the name of
the Java class of the notification and the notification types sent by
the string monitor.
Gets the differing notification's on/off switch value common to all observed MBeans.
true
if the string monitor notifies when
differing from the string to compare, false
otherwise.Gets the matching notification's on/off switch value common to all observed MBeans.
true
if the string monitor notifies when
matching the string to compare, false
otherwise.Gets the string to compare with the observed attribute common to all observed MBeans.
Sets the differing notification's on/off switch value common to all observed MBeans.
value | The differing notification's on/off switch value. |
---|
Sets the matching notification's on/off switch value common to all observed MBeans.
value | The matching notification's on/off switch value. |
---|
Sets the string to compare with the observed attribute common to all observed MBeans.
value | The string value. |
---|
IllegalArgumentException | The specified string to compare is null. |
---|
Starts the string monitor.
Stops the string monitor.