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
public class StateToUtilizationAdapter extends DataAdapter
Deprecated.Superseded by EDP2.Adapter convertingStateMeasurement, e.g. for CPU Resource consumption, to Utilization measurements.
-
-
Field Summary
Fields Modifier and Type Field Description static StringIDLE_STATE_REPRESENTATIONDeprecated.The textual identifier used in the state description to determine an idling resource.static StringUTILIZATION_WIDTHDeprecated.The identifier for the property "Utilization Width".-
Fields inherited from class de.uka.ipd.sdq.sensorframework.adapter.DataAdapter
adapterProperties, SETTINGS_CHANGED
-
-
Constructor Summary
Constructors Constructor Description StateToUtilizationAdapter(SensorAndMeasurements sensorAndMeasurements)Deprecated.Initializes a new adapter for the provided TimeSpanSensor.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ObjectgetAdaptedObject()Deprecated.Return the computed visualisation data structure, e.g., a time series, a histogram, etc.protected voidinitializeUtilizationInterval()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 Detail
-
IDLE_STATE_REPRESENTATION
public static final String 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:
- Constant Field Values
-
UTILIZATION_WIDTH
public static final String UTILIZATION_WIDTH
Deprecated.The identifier for the property "Utilization Width".- See Also:
- Constant Field Values
-
-
Constructor Detail
-
StateToUtilizationAdapter
public StateToUtilizationAdapter(SensorAndMeasurements sensorAndMeasurements)
Deprecated.Initializes a new adapter for the provided TimeSpanSensor.- Parameters:
sensorAndMeasurements- Information about the TimeSpanSensor and the measurements.
-
-
Method Detail
-
initializeUtilizationInterval
protected void initializeUtilizationInterval()
Deprecated.Sets the initial size of a bucket for which a utilization value is calculated.
-
getAdaptedObject
public Object getAdaptedObject()
Deprecated.Return the computed visualisation data structure, e.g., a time series, a histogram, etc.- Returns:
- The adapted object
-
-