|
|||||||||||
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 supported by Operational Status monitoring jobs 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 java.lang.String |
CUMULATIVE_COUNTER
The node maintains a running count of the event being counted. |
static java.lang.String |
DISCRETE_EVENT_REGISTRATION
This is a measurement of a specified event where every Nth event would be taken into account. |
static java.lang.String |
GAUGE
Gauges represent dynamic variables that may change in either direction. |
static int |
INTEGER
Constant that indicates if the attribute is of integer type ( java.lang.Integer ). |
static int |
LONG
Constant that indicates if the attribute is of long type ( java.lang.Long ). |
static java.lang.String |
STATUS_INSPECTION
Nodes maintain internal counts for resource management purposes. |
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 INTEGER
java.lang.Integer
).
public static final int LONG
java.lang.Long
).
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:
OperationalStatusAttributeDescriptor.INTEGER
OperationalStatusAttributeDescriptor.REAL
OperationalStatusAttributeDescriptor.STRING
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:
OperationalStatusAttributeDescriptor.CUMULATIVE_COUNTER
OperationalStatusAttributeDescriptor.GAUGE
OperationalStatusAttributeDescriptor.DISCRETE_EVENT_REGISTRATION
OperationalStatusAttributeDescriptor.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 |