StateObjectType - The type of the maintained state object.V - The value type of the basic measure (as needed by the superclass).Q - The quantity type of the basic measure (as needed by the superclass).public abstract class BasicObjectStateProbe<StateObjectType,V,Q extends javax.measure.quantity.Quantity> extends BasicTriggeredProbe<V,Q>
observeredStateObject member variable.
It leaves the implementation of the template method getBasicMeasure to its
subclasses.| Constructor and Description |
|---|
BasicObjectStateProbe(StateObjectType stateObject,
org.palladiosimulator.metricspec.BaseMetricDescription metricDesciption)
Default constructor.
|
takeMeasurement, takeMeasurementaddObserver, getMetricDesciption, isCompatibleWith, removeObserverpublic BasicObjectStateProbe(StateObjectType stateObject, org.palladiosimulator.metricspec.BaseMetricDescription metricDesciption)
stateObject - The state object to be maintained, e.g., a CPU state object.metricDesciption - The metric description as needed by the superclass.IllegalArgumentException - If the state object is null.