|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.sun.management.oss.impl.AttributeAccessImpl
com.sun.management.oss.impl.ManagedEntityValueImpl
com.sun.management.oss.impl.pm.measurement.PmManagedEntityValueImpl
com.sun.management.oss.impl.pm.measurement.PerformanceMonitorValueImpl
com.sun.management.oss.impl.pm.measurement.PerformanceMonitorByClassesValueImpl
Title: JSR090 Reference Implementation Description: Copyright: Copyright 2001 Ericsson Radio Systems AB Company: Ericsson
| Field Summary |
| Fields inherited from interface com.sun.management.oss.pm.measurement.PerformanceMonitorByClassesValue |
MEASUREMENT_ATTRIBUTES, OBSERVABLE_OBJECT_CLASSES, SCOPE, VALUE_TYPE |
| Fields inherited from interface com.sun.management.oss.pm.measurement.PerformanceMonitorValue |
GRANULARITY_PERIOD, NAME, REPORT_BY_EVENT, REPORT_BY_FILE, REPORT_FORMAT, REPORTING_PERIOD, SCHEDULE, STATE |
| Fields inherited from interface com.sun.management.oss.ManagedEntityValue |
KEY |
| Constructor Summary | |
PerformanceMonitorByClassesValueImpl()
|
|
| Method Summary | |
java.lang.Object |
clone()
Return a deep copy of this value. |
PerformanceAttributeDescriptor[] |
getMeasurementAttributes()
Returns a list of measurement attributes. |
java.lang.String[] |
getObservedObjectClasses()
Returns a list of observable object class names. |
javax.management.ObjectName |
getScope()
Returns the JMX pattern the job is using. |
PerformanceAttributeDescriptor |
makePerformanceAttributeDescriptor()
Creates a new instance of the PerformanceAttributeDescriptor interface. |
void |
setMeasurementAttributes(PerformanceAttributeDescriptor[] measurementAttributeNames)
Sets the measurement attributes to be monitored. |
void |
setObservedObjectClasses(java.lang.String[] observedObjectClasses)
Sets the observable object classes that shall be monitored. |
void |
setScope(javax.management.ObjectName base)
Sets the JMX pattern matching the object names the job must handle. |
| Methods inherited from class com.sun.management.oss.impl.pm.measurement.PerformanceMonitorValueImpl |
getGranularityPeriod, getName, getPerformanceMonitorKey, getReportByEvent, getReportByFile, getReportFormat, getReportPeriod, getSchedule, getState, makePerformanceMonitorKey, makeReportFormat, makeSchedule, setGranularityPeriod, setManagedEntityKey, setName, setPerformanceMonitorKey, setReportByEvent, setReportByFile, setReportFormat, setReportPeriod, setSchedule, setState |
| Methods inherited from class com.sun.management.oss.impl.pm.measurement.PmManagedEntityValueImpl |
getSupportedSerializerTypes, makeSerializer |
| Methods inherited from class com.sun.management.oss.impl.ManagedEntityValueImpl |
getLastUpdateVersionNumber, getManagedEntityKey, getSettableAttributeNames, makeManagedEntityKey, setLastUpdateVersionNumber |
| Methods inherited from class com.sun.management.oss.impl.AttributeAccessImpl |
getAllPopulatedAttributes, getAttributeNames, getAttributeValue, getAttributeValues, getPopulatedAttributeNames, getSupportedOptionalAttributeNames, isFullyPopulated, isPopulated, setAttributeValue, setAttributeValues, unpopulateAllAttributes, unpopulateAttribute |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.management.oss.pm.measurement.PerformanceMonitorValue |
getGranularityPeriod, getName, getPerformanceMonitorKey, getReportByEvent, getReportByFile, getReportFormat, getReportPeriod, getSchedule, getState, makePerformanceMonitorKey, makeReportFormat, makeSchedule, setGranularityPeriod, setName, setPerformanceMonitorKey, setReportByEvent, setReportByFile, setReportFormat, setReportPeriod, setSchedule, setState |
| Methods inherited from interface com.sun.management.oss.ManagedEntityValue |
getLastUpdateVersionNumber, getManagedEntityKey, getSettableAttributeNames, makeManagedEntityKey, setLastUpdateVersionNumber, setManagedEntityKey |
| Methods inherited from interface com.sun.management.oss.AttributeAccess |
getAllPopulatedAttributes, getAttributeNames, getAttributeValue, getAttributeValues, getPopulatedAttributeNames, getSupportedOptionalAttributeNames, isFullyPopulated, isPopulated, setAttributeValue, setAttributeValues, unpopulateAllAttributes, unpopulateAttribute |
| Methods inherited from interface com.sun.management.oss.SerializerFactory |
getSupportedSerializerTypes, makeSerializer |
| Constructor Detail |
public PerformanceMonitorByClassesValueImpl()
| Method Detail |
public java.lang.Object clone()
ManagedEntityValue
clone in interface ManagedEntityValueclone in class PerformanceMonitorValueImpl
public PerformanceAttributeDescriptor[] getMeasurementAttributes()
throws java.lang.IllegalStateException
getMeasurementAttributes in interface PerformanceMonitorByClassesValuejava.lang.IllegalStateException - Is raised if the attribute is not populated.PerformanceMonitorByClassesValue.setMeasurementAttributes(com.sun.management.oss.pm.measurement.PerformanceAttributeDescriptor[])
public void setMeasurementAttributes(PerformanceAttributeDescriptor[] measurementAttributeNames)
throws java.lang.IllegalArgumentException
The supplied measurement attribute must be supported of all monitored objects.
The measurement attributes will be validated when the value object is passed to the performance monitor bean.
setMeasurementAttributes in interface PerformanceMonitorByClassesValuemeasurementAttributeNames - List of measurement attribute.
java.lang.IllegalArgumentException - Is raised if the input parameters are not valid.PerformanceMonitorByClassesValue.getMeasurementAttributes()
public java.lang.String[] getObservedObjectClasses()
throws java.lang.IllegalStateException
getObservedObjectClasses in interface PerformanceMonitorByClassesValuejava.lang.IllegalStateException - Is raised if the attribute is not populated.PerformanceMonitorByClassesValue.setObservedObjectClasses(java.lang.String[])
public void setObservedObjectClasses(java.lang.String[] observedObjectClasses)
throws java.lang.IllegalArgumentException
The observable object classes will be validated when the value object is passed to the performance monitor bean.
setObservedObjectClasses in interface PerformanceMonitorByClassesValueobservedObjectClasses - List of observable object class names.
java.lang.IllegalArgumentException - Is raised if the input parameters are not valid.PerformanceMonitorByClassesValue.getObservedObjectClasses()
public javax.management.ObjectName getScope()
throws java.lang.IllegalStateException
getScope in interface PerformanceMonitorByClassesValuejava.lang.IllegalStateException - Is raised if the attribute is not populated.setScope(javax.management.ObjectName)
public void setScope(javax.management.ObjectName base)
throws java.lang.IllegalArgumentException
setScope in interface PerformanceMonitorByClassesValuebase - The JMX pattern for selecting objects.
java.lang.IllegalArgumentException - Is raised if the input parameters are not valid.getScope()public PerformanceAttributeDescriptor makePerformanceAttributeDescriptor()
PerformanceMonitorByClassesValue
makePerformanceAttributeDescriptor in interface PerformanceMonitorByClassesValue
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||