|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This interface represents the attributes of a measurement job that can be used to make queries for measurement jobs.
The attributes will be used to filter out the measurement jobs that match the values of the attributes. The attributes are concatenated using logical AND-operation.
Field Summary | |
static java.lang.String |
GRANULARITY_PERIOD
Constant for attribute granularity period. |
static java.lang.String |
NAME
Constant for attribute measurement name. |
static java.lang.String |
QUERY_TYPE
Constant that defines string representation of the query type. |
static java.lang.String |
STATE
Constant for attribute performance monitor state. |
static java.lang.String |
VALUE_TYPE
Constant for attribute performance monitor value type. |
Method Summary | |
int |
getGranularityPeriod()
Gets the query value of the measurement job granularity period. |
java.lang.String |
getName()
Returns the query value of the measurement job name. |
int |
getState()
Gets the query value of the measurement job state. |
java.lang.String |
getValueType()
Gets the query value of the measurement job value type. |
void |
setGranularityPeriod(int granularityPeriod)
Sets the query value of the measurement job granularity period. |
void |
setName(java.lang.String name)
Sets the query value of the measurement job name. |
void |
setState(int state)
Sets the query value of the measurement job state. |
void |
setValueType(java.lang.String type)
Sets the query value of the measurement job value type. |
Methods inherited from interface com.sun.management.oss.QueryValue |
clone |
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 |
Field Detail |
public static final java.lang.String QUERY_TYPE
public static final java.lang.String NAME
public static final java.lang.String GRANULARITY_PERIOD
public static final java.lang.String STATE
public static final java.lang.String VALUE_TYPE
Method Detail |
public java.lang.String getName() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- Is raised if the attribute is not populated.setName(java.lang.String)
public void setName(java.lang.String name) throws java.lang.IllegalArgumentException
The measurement job name can include a wild card ("*") in the end of the name.
name
- The query value of the measurement job name.
java.lang.IllegalArgumentException
- Is raised if the input parameters are not valid.getName()
public int getGranularityPeriod() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- Is raised if the attribute is not populated.setGranularityPeriod(int)
public void setGranularityPeriod(int granularityPeriod) throws java.lang.IllegalArgumentException
The granularity period is specified in seconds.
granularityPeriod
- The query value of the measurement job granularity period.
java.lang.IllegalArgumentException
- Is raised if the input parameters are not valid.getGranularityPeriod()
public int getState() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- Is raised if the attribute is not populated.PerformanceMonitorState
,
setState(int)
public void setState(int state) throws java.lang.IllegalArgumentException
state
- The query value of the measurement job state.
java.lang.IllegalArgumentException
- Is raised if the input parameters are not valid.PerformanceMonitorState
,
getState()
public java.lang.String getValueType() throws java.lang.IllegalStateException
java.lang.IllegalStateException
- Is raised if the attribute is not populated.setValueType(java.lang.String)
public void setValueType(java.lang.String type) throws java.lang.IllegalArgumentException
The measurement job value type can be a base type of the requested measurement jobs.
type
- The query value of the measurement job value type.
java.lang.IllegalArgumentException
- Is raised if the input parameters are not valid.getValueType()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |