com.adventnet.services.monitor
Class TableMonitorNotification
java.lang.Object
java.util.EventObject
javax.management.Notification
com.adventnet.services.monitor.TableMonitorNotification
- All Implemented Interfaces:
- java.io.Serializable
public class TableMonitorNotification
- extends javax.management.Notification
This class defines the Table Monitor Notifications sent
by the MBeans
- See Also:
- Serialized Form
| Fields inherited from class javax.management.Notification |
source |
|
Constructor Summary |
TableMonitorNotification(java.lang.String type,
java.lang.Object source,
javax.management.ObjectName objectName,
java.lang.String attributeName,
java.lang.String columnName,
java.lang.Object userData,
long sequenceNumber)
Creates a TableMonitorNotification object |
|
Method Summary |
java.lang.String |
getObservedAttribute()
Gets the observed attribute of this monitor notification. |
java.lang.String |
getObservedColumnName()
Returns the observed Column name |
javax.management.ObjectName |
getObservedObject()
Gets the observed object of this monitor notification. |
java.lang.Object |
getUserData()
Gets the threshold/string (depending on the monitor type) that triggered off this
monitor notification. |
| Methods inherited from class javax.management.Notification |
getMessage, getSequenceNumber, getTimeStamp, getType, setSequenceNumber, setSource, setTimeStamp, setUserData, toString |
| Methods inherited from class java.util.EventObject |
getSource |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
THRESHOLD_CROSSED
public static java.lang.String THRESHOLD_CROSSED
TableMonitorNotification
public TableMonitorNotification(java.lang.String type,
java.lang.Object source,
javax.management.ObjectName objectName,
java.lang.String attributeName,
java.lang.String columnName,
java.lang.Object userData,
long sequenceNumber)
- Creates a TableMonitorNotification object
- Parameters:
type - The type of the observed Attributesource - The Notification ProducerobjectName - The objectName of the MBean the observed attribute belongs toattributeName - The name of the observed attributecolumnName - The column name of the observed attributeuserData - The user data objectsequenceNumber - The sequence number
getObservedObject
public javax.management.ObjectName getObservedObject()
- Gets the observed object of this monitor notification.
- Returns:
- - The Observed Object.
getObservedAttribute
public java.lang.String getObservedAttribute()
- Gets the observed attribute of this monitor notification.
- Returns:
- - The Observed Attribute.
getUserData
public java.lang.Object getUserData()
- Gets the threshold/string (depending on the monitor type) that triggered off this
monitor notification.
- Overrides:
getUserData in class javax.management.Notification
- Returns:
- - The trigger value.
getObservedColumnName
public java.lang.String getObservedColumnName()
- Returns the observed Column name