| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Represent a measurement attribute that can be monitored in the observable object class.
The measurement attribute name is short form of the measurement name and it is used to identify the measurement attribute in the measurement result reports.
The type of the measurement can be:
Each measurement job will be collecting result data at a particular frequency, known as the granularity period of the measurement. At the end of the granularity period a scheduled result report shall be generated for each measurement job that is actively collecting performance measurement data. The measurement data can be collected in a number of ways:
| Field Summary | |
| static int | BIGDECIMALConstant that indicates if the attribute is of big decimal type ( java.math.BigDecimal). | 
| static int | BIGINTEGERConstant that indicates if the attribute is of type ( java.math.BigInteger). | 
| static int | BOOLEANConstant that indicates if the attribute is of type ( java.lang.Boolean). | 
| static int | BYTEConstant that indicates if the attribute is of type ( java.lang.Byte). | 
| static int | CHARACTERConstant that indicates if the attribute is of type ( java.lang.Character). | 
| static int | COMPOSITE_DATAConstant that indicates if the attribute is of main open statistic type | 
| static java.lang.String | CUMULATIVE_COUNTERThe node maintains a running count of the event being counted. | 
| static java.lang.String | DISCRETE_EVENT_REGISTRATIONThis is a measurement of a specified event where every Nth event would be taken into account. | 
| static int | DOUBLEConstant that indicates if the attribute is of type ( java.lang.Double). | 
| static int | FLOATConstant that indicates if the attribute is of type ( java.lang.Float). | 
| static java.lang.String | GAUGEGauges represent dynamic variables that may change in either direction. | 
| static int | INTEGERConstant that indicates if the attribute is of type ( java.lang.Integer). | 
| static int | LONGConstant that indicates if the attribute is of type ( java.lang.Long). | 
| static int | SHORTConstant that indicates if the attribute is of type ( java.lang.Short). | 
| static java.lang.String | STATUS_INSPECTIONNodes maintain internal counts for resource management purposes. | 
| static int | STRINGConstant that indicates if the attribute is of type ( java.lang.String). | 
| Method Summary | |
|  java.lang.Object | clone()Deep copy of this instance. | 
|  java.lang.String | getCollectionMethod()Returns the collection method. | 
|  java.lang.String | getName()Returns the performance attribute name. | 
|  int | getType()Returns the type of attribute. | 
|  boolean | isArray()Checks if the attribute is an array. | 
|  void | setCollectionMethod(java.lang.String cm)Sets the collection method. | 
|  void | setIsArray(boolean isarr)Sets if the attribute is an array. | 
|  void | setName(java.lang.String name)Sets the performance attribute name. | 
|  void | setType(int type)Sets the type of attribute. | 
| Methods inherited from interface com.sun.management.oss.SerializerFactory | 
| getSupportedSerializerTypes, makeSerializer | 
| Field Detail | 
public static final int BIGDECIMAL
java.math.BigDecimal).
public static final int BIGINTEGER
java.math.BigInteger).
public static final int BOOLEAN
java.lang.Boolean).
public static final int BYTE
java.lang.Byte).
public static final int CHARACTER
java.lang.Character).
public static final int DOUBLE
java.lang.Double).
public static final int FLOAT
java.lang.Float).
public static final int INTEGER
java.lang.Integer).
public static final int LONG
java.lang.Long).
public static final int SHORT
java.lang.Short).
public static final int STRING
java.lang.String).
public static final int COMPOSITE_DATA
public static final java.lang.String CUMULATIVE_COUNTER
public static final java.lang.String GAUGE
public static final java.lang.String DISCRETE_EVENT_REGISTRATION
public static final java.lang.String STATUS_INSPECTION
| Method Detail | 
public java.lang.Object clone()
public java.lang.String getName()
setName(java.lang.String)
public void setName(java.lang.String name)
             throws java.lang.IllegalArgumentException
name - The name of the attribute.
java.lang.IllegalArgumentException - Is raised if the input parameter is invalid.getName()public int getType()
setType(int)
public void setType(int type)
             throws java.lang.IllegalArgumentException
Valid values are:
PerformanceAttributeDescriptor.BIGDECIMAL
 PerformanceAttributeDescriptor.BIGINTEGER
 PerformanceAttributeDescriptor.BOOLEAN
 PerformanceAttributeDescriptor.BYTE
 PerformanceAttributeDescriptor.CHARACTER
 PerformanceAttributeDescriptor.DOUBLE
 PerformanceAttributeDescriptor.FLOAT
 PerformanceAttributeDescriptor.INTEGER
 PerformanceAttributeDescriptor.LONG
 PerformanceAttributeDescriptor.SHORT
 PerformanceAttributeDescriptor.STRING
 PerformanceAttributeDescriptor.COMPOSITE_DATA
 
type - The id of type.
java.lang.IllegalArgumentException - Is raised if the input parameter is invalid.getType()public java.lang.String getCollectionMethod()
setCollectionMethod(java.lang.String)
public void setCollectionMethod(java.lang.String cm)
                         throws java.lang.IllegalArgumentException
Valid values are:
PerformanceAttributeDescriptor.CUMULATIVE_COUNTER
 PerformanceAttributeDescriptor.GAUGE
 PerformanceAttributeDescriptor.DISCRETE_EVENT_REGISTRATION
 PerformanceAttributeDescriptor.STATUS_INSPECTION
 
cm - The id of collection method.
java.lang.IllegalArgumentException - Is raised if the input parameter is invalid.getCollectionMethod()public boolean isArray()
setIsArray(boolean)public void setIsArray(boolean isarr)
isarr - Is true if the attribute is an array..isArray()| 
 | |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||