public void
addNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback)
[Inherited From NotificationBroadcasterSupport]
publicsynchronized void
addObservedObject
(ObjectName object)
throws
IllegalArgumentException
[Inherited From Monitor]
pack-privatesynchronized MonitorNotification
buildAlarmNotification
(ObjectName object, String attribute, Comparable<Object> value)
[Overrides Monitor]
pack-private String
buildErrorNotification
(ObjectName object, String attribute, Comparable<Object> value)
[Inherited From Monitor]
pack-privatesynchronized int
computeAlreadyNotifiedIndex
(ObservedObject o, int index, int[] an)
[Inherited From Monitor]
Check if the Monitor.alreadyNotifieds array has been modified.
pack-privatesynchronized void
createAlreadyNotified
()
[Inherited From Monitor]
Monitor.alreadyNotified array from
the ObservedObject array list.
pack-private Object
getAttribute
(MBeanServerConnection mbsc, ObjectName object, String attribute)
throws
AttributeNotFoundException
InstanceNotFoundException
MBeanException
ReflectionException
IOException
[Inherited From Monitor]
pack-private Comparable<Object>
getComparableFromAttribute
(ObjectName object, String attribute, Object value)
throws
AttributeNotFoundException
[Inherited From Monitor]
publicsynchronized String
getDerivedGauge
(ObjectName object)
[Overrides Monitor]
[Specified in StringMonitorMBean]
pack-private Comparable<Object>
getDerivedGaugeFromComparable
(ObjectName object, String attribute, Comparable<Object> value)
[Inherited From Monitor]
publicsynchronized long
getDerivedGaugeTimeStamp
(ObjectName object)
[Overrides Monitor]
[Specified in StringMonitorMBean]
public MBeanNotificationInfo
getNotificationInfo
()
[Overrides NotificationBroadcasterSupport]
NotificationInfo object containing the name of
the Java class of the notification and the notification types sent by
the string monitor.
pack-privatesynchronized ObservedObject
getObservedObject
(ObjectName object)
[Inherited From Monitor]
protected void
handleNotification
(NotificationListener listener, Notification notif, Object handback)
[Inherited From NotificationBroadcasterSupport]
This method is called by sendNotification for each listener in order to send the
notification to that listener.
pack-private Object
introspect
(ObjectName object, String attribute, Object value)
throws
AttributeNotFoundException
[Inherited From Monitor]
pack-privatesynchronized boolean
isAlreadyNotified
(ObservedObject o, int mask)
[Inherited From Monitor]
Monitor.alreadyNotifieds
are set.
pack-privatesynchronized boolean
isComparableTypeValid
(ObjectName object, String attribute, Comparable<Object> value)
[Overrides Monitor]
pack-private boolean
isThresholdTypeValid
(ObjectName object, String attribute, Comparable<Object> value)
[Inherited From Monitor]
pack-privatesynchronized void
onErrorNotification
(MonitorNotification notification)
[Overrides Monitor]
public ObjectName
preRegister
(MBeanServer server, ObjectName name)
throws
Exception
[Inherited From Monitor]
public void
removeNotificationListener
(NotificationListener listener)
throws
ListenerNotFoundException
[Inherited From NotificationBroadcasterSupport]
public void
removeNotificationListener
(NotificationListener listener, NotificationFilter filter, Object handback)
throws
ListenerNotFoundException
[Inherited From NotificationBroadcasterSupport]
pack-privatesynchronized void
resetAllAlreadyNotified
(ObservedObject o, int index, int[] an)
[Inherited From Monitor]
Reset all bits in the given element of Monitor.alreadyNotifieds.
pack-privatesynchronized void
resetAlreadyNotified
(ObservedObject o, int index, int mask)
[Inherited From Monitor]
Reset the given bits in the given element of Monitor.alreadyNotifieds.
public void
sendNotification
(Notification notification)
[Inherited From NotificationBroadcasterSupport]
pack-privatesynchronized void
setAlreadyNotified
(ObservedObject o, int index, int mask, int[] an)
[Inherited From Monitor]
Set the given bits in the given element of Monitor.alreadyNotifieds.
publicsynchronized void
setGranularityPeriod
(long period)
throws
IllegalArgumentException
[Inherited From Monitor]
public void
setObservedAttribute
(String attribute)
throws
IllegalArgumentException
[Inherited From Monitor]
publicsynchronized void
publicsynchronized void
setStringToCompare
(String value)
throws
IllegalArgumentException
[Specified in StringMonitorMBean]
pack-privatesynchronized void
updateAlreadyNotified
(ObservedObject o, int index)
[Inherited From Monitor]
Update the Monitor.alreadyNotifieds array element at the given index
with the already notified flag in the given ObservedObject.
pack-privatesynchronized void
updateDeprecatedAlreadyNotified
()
[Inherited From Monitor]
Monitor.alreadyNotified field.
protected
protectedfinalstatic
int capacityIncrement
= "16"
[Inherited From Monitor]
protected
protected
int elementCount
[Inherited From Monitor]
pack-privatefinal
List<ObservedObject> observedObjects
[Inherited From Monitor]
protectedfinalstatic
int RESET_FLAGS_ALREADY_NOTIFIED
= "0"
[Inherited From Monitor]
alreadyNotifieds monitor attribute.