Class StateToUtilizationAdapter
java.lang.Object
java.util.Observable
de.uka.ipd.sdq.sensorframework.adapter.DataAdapter
de.uka.ipd.sdq.sensorframework.adapter.StateToUtilizationAdapter
- All Implemented Interfaces:
IAdapter
Deprecated.
Superseded by EDP2.
Adapter converting
StateMeasurement
, e.g. for CPU Resource consumption, to Utilization
measurements.-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Deprecated.The textual identifier used in the state description to determine an idling resource.static final String
Deprecated.The identifier for the property "Utilization Width".Fields inherited from class de.uka.ipd.sdq.sensorframework.adapter.DataAdapter
adapterProperties, SETTINGS_CHANGED
-
Constructor Summary
ConstructorDescriptionStateToUtilizationAdapter
(SensorAndMeasurements sensorAndMeasurements) Deprecated.Initializes a new adapter for the provided TimeSpanSensor. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Return the computed visualisation data structure, e.g., a time series, a histogram, etc.protected void
Deprecated.Sets the initial size of a bucket for which a utilization value is calculated.Methods inherited from class de.uka.ipd.sdq.sensorframework.adapter.DataAdapter
getProperties, setProperties
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Field Details
-
IDLE_STATE_REPRESENTATION
Deprecated.The textual identifier used in the state description to determine an idling resource. Please note that any other state is considered non-idling.- See Also:
-
UTILIZATION_WIDTH
Deprecated.The identifier for the property "Utilization Width".- See Also:
-
-
Constructor Details
-
StateToUtilizationAdapter
Deprecated.Initializes a new adapter for the provided TimeSpanSensor.- Parameters:
sensorAndMeasurements
- Information about the TimeSpanSensor and the measurements.
-
-
Method Details
-
initializeUtilizationInterval
protected void initializeUtilizationInterval()Deprecated.Sets the initial size of a bucket for which a utilization value is calculated. -
getAdaptedObject
Deprecated.Return the computed visualisation data structure, e.g., a time series, a histogram, etc.- Returns:
- The adapted object
-