|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The performance data event defines the payload of the events that contains measurement reports.
The managed object instance field shall be set to the value of
pmKey.getOperationalStatusMonitorPrimaryKey()
if the event is related to a measurement job
with the report mode set to ReportMode.FILE_SINGLE or ReportMode.EVENT_SINGLE.
If the event is related to measurement jobs with the report mode set to
ReportMode.FILE_MULTIPLE or ReportMode.EVENT_MULTIPLE, the value of the managed object instance field
shall be set to the system DN.
The managed object class field shall be set to the value of
pmKey.getType()
if the event is related to a measurement job
with the report mode set to ReportMode.FILE_SINGLE or ReportMode.EVENT_SINGLE.
If the event is related to measurement jobs with the report mode set to
ReportMode.FILE_MULTIPLE or ReportMode.EVENT_MULTIPLE, the value of the managed object class field
shall be set to "JVTHome".
OperationalStatusDataEventDescriptor
Field Summary | |
static java.lang.String |
REPORT
Constant for attribute measurement report. |
static java.lang.String |
REPORT_FORMAT
Constant for attribute measurement key. |
Fields inherited from interface com.sun.management.oss.util.IRPEvent |
APPLICATION_DN, EVENT_TIME, MANAGED_OBJECT_CLASS, MANAGED_OBJECT_INSTANCE, NOTIFICATION_ID |
Method Summary | |
java.lang.Object |
getOperationalStatusMonitorReport()
Gets the measurement report. |
ReportFormat |
getReportFormat()
Gets the measurement report format. |
ReportFormat |
makeReportFormat()
Creates a new instance of the ReportFormat interface. |
void |
setOperationalStatusMonitorReport(java.lang.Object report)
Sets the measurement report. |
void |
setReportFormat(ReportFormat format)
Sets the report format of the measurement report. |
Methods inherited from interface com.sun.management.oss.util.IRPEvent |
getManagedObjectClass, getManagedObjectInstance, getNotificationId, setManagedObjectClass, setManagedObjectInstance, setNotificationId |
Methods inherited from interface com.sun.management.oss.Event |
clone, getApplicationDN, getEventTime, setApplicationDN, setEventTime |
Methods inherited from interface com.sun.management.oss.SerializerFactory |
getSupportedSerializerTypes, makeSerializer |
Methods inherited from interface com.sun.management.oss.AttributeAccess |
getAllPopulatedAttributes, getAttributeNames, getAttributeValue, getAttributeValues, getPopulatedAttributeNames, getSupportedOptionalAttributeNames, isFullyPopulated, isPopulated, setAttributeValue, setAttributeValues, unpopulateAllAttributes, unpopulateAttribute |
Field Detail |
public static final java.lang.String REPORT
public static final java.lang.String REPORT_FORMAT
Method Detail |
public java.lang.Object getOperationalStatusMonitorReport() throws java.lang.IllegalStateException
If the measurement result is in XML format a String object will be returned.
java.lang.IllegalStateException
- Is thrown if the attribute is supported,
and the attribute has not been populated.setOperationalStatusMonitorReport(java.lang.Object)
public void setOperationalStatusMonitorReport(java.lang.Object report) throws java.lang.IllegalArgumentException
If the measurement report is in XML format a String object will be provided.
report
- The measurement report object.
java.lang.IllegalArgumentException
- Is thrown to report that
a bad argument was provided to the method.getOperationalStatusMonitorReport()
public ReportFormat getReportFormat() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- Is thrown if the attribute is supported,
and the attribute has not been populated.setReportFormat(com.sun.management.oss.pm.opstatus.ReportFormat)
public void setReportFormat(ReportFormat format) throws java.lang.IllegalArgumentException
The supporting report format can be retrieved by using the OperationalStatusMonitorMethods.getReportFormats().
format
- The report format of the measurement report.
java.lang.IllegalArgumentException
- Is thrown to report that
a bad argument was provided to the method.getReportFormat()
public ReportFormat makeReportFormat()
ReportFormat
interface.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |