Package jade.core.sam
Class SAMInfo
- java.lang.Object
-
- jade.core.sam.SAMInfo
-
- All Implemented Interfaces:
Serializable
public class SAMInfo extends Object implements Serializable
An instance of this class is passed to all configuredSAMInfoHandler-s at each polling time and groups together all information collected by the SAM Service at that polling time.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSAMInfo.AggregationInfoInner class AggregationInfo
-
Field Summary
Fields Modifier and Type Field Description static intAVG_AGGREGATIONstatic StringAVG_AGGREGATION_SEPARATORstatic charAVG_AGGREGATION_SEPARATOR_CHARstatic StringDEFAULT_AGGREGATION_SEPARATORstatic charDEFAULT_AGGREGATION_SEPARATOR_CHARstatic intSUM_AGGREGATIONstatic StringSUM_AGGREGATION_SEPARATORstatic charSUM_AGGREGATION_SEPARATOR_CHAR
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SAMInfo.AggregationInfogetAggregationInfo(String name, int defaultAggregation)Map<String,Long>getCounterValues()Provides the differential values of all monitored counters in form of a Map.Map<String,AverageMeasure>getEntityMeasures()Provides the measures of all monitored entities in form of a Map.
-
-
-
Field Detail
-
DEFAULT_AGGREGATION_SEPARATOR
public static final String DEFAULT_AGGREGATION_SEPARATOR
- See Also:
- Constant Field Values
-
DEFAULT_AGGREGATION_SEPARATOR_CHAR
public static final char DEFAULT_AGGREGATION_SEPARATOR_CHAR
- See Also:
- Constant Field Values
-
SUM_AGGREGATION_SEPARATOR
public static final String SUM_AGGREGATION_SEPARATOR
- See Also:
- Constant Field Values
-
SUM_AGGREGATION_SEPARATOR_CHAR
public static final char SUM_AGGREGATION_SEPARATOR_CHAR
- See Also:
- Constant Field Values
-
AVG_AGGREGATION_SEPARATOR
public static final String AVG_AGGREGATION_SEPARATOR
- See Also:
- Constant Field Values
-
AVG_AGGREGATION_SEPARATOR_CHAR
public static final char AVG_AGGREGATION_SEPARATOR_CHAR
- See Also:
- Constant Field Values
-
AVG_AGGREGATION
public static final int AVG_AGGREGATION
- See Also:
- Constant Field Values
-
SUM_AGGREGATION
public static final int SUM_AGGREGATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
getEntityMeasures
public Map<String,AverageMeasure> getEntityMeasures()
Provides the measures of all monitored entities in form of a Map.- Returns:
- A Map mapping monitored entity names to their measures
-
getCounterValues
public Map<String,Long> getCounterValues()
Provides the differential values of all monitored counters in form of a Map.- Returns:
- A Map mapping monitored counter names to their differential values
-
getAggregationInfo
public static final SAMInfo.AggregationInfo getAggregationInfo(String name, int defaultAggregation)
-
-