jade.core.sam
Class SAMInfo

java.lang.Object
  extended by jade.core.sam.SAMInfo
All Implemented Interfaces:
java.io.Serializable

public class SAMInfo
extends java.lang.Object
implements java.io.Serializable

An instance of this class is passed to all configured SAMInfoHandler-s at each polling time and groups together all information collected by the SAM Service at that polling time.

See Also:
Serialized Form

Method Summary
 java.util.Map<java.lang.String,java.lang.Long> getCounterValues()
          Provides the differential values of all monitored counters in form of a Map.
 java.util.Map<java.lang.String,AverageMeasure> getEntityMeasures()
          Provides the measures of all monitored entities in form of a Map.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getEntityMeasures

public java.util.Map<java.lang.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 java.util.Map<java.lang.String,java.lang.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


These are the official JADE API. For these API backward compatibility is guaranteed accross JADE versions