Class StateToUtilizationAdapter

  • All Implemented Interfaces:
    IAdapter

    public class StateToUtilizationAdapter
    extends DataAdapter
    Deprecated.
    Superseded by EDP2.
    Adapter converting StateMeasurement, e.g. for CPU Resource consumption, to Utilization measurements.
    • 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