Class StateSensorToUtilizationFactory

java.lang.Object
de.uka.ipd.sdq.sensorframework.adapter.StateSensorToUtilizationFactory
All Implemented Interfaces:
IAdapterFactory

public class StateSensorToUtilizationFactory extends Object implements IAdapterFactory
Deprecated.
Superseded by EDP2.
  • Constructor Details

    • StateSensorToUtilizationFactory

      public StateSensorToUtilizationFactory()
      Deprecated.
  • Method Details

    • canAdapt

      public boolean canAdapt(Object adaptee, Class<?> targetClass)
      Deprecated.
      Description copied from interface: IAdapterFactory
      Check whether this adapter factory can adapt the given object to the given class
      Specified by:
      canAdapt in interface IAdapterFactory
      Parameters:
      adaptee - The object to adapt
      targetClass - The class of the required adapter output
      Returns:
      true if this factory can create adapters of the required type, false otherwise
    • getAdapter

      public DataAdapter getAdapter(Object adaptee)
      Deprecated.
      Description copied from interface: IAdapterFactory
      Factory method. Creates a new adapter of this factory's type
      Specified by:
      getAdapter in interface IAdapterFactory
      Parameters:
      adaptee - The data source to adapt
      Returns:
      A data adapter which adapts the given data source
    • getMetricLabel

      public String getMetricLabel()
      Deprecated.
      Description copied from interface: IAdapterFactory
      Get a descriptive label of the metric computed by adapters created by this factory, e.g., ResponseTime or Throughput
      Specified by:
      getMetricLabel in interface IAdapterFactory
      Returns:
      A label describing the calculated metric
    • getAdapterFactoryID

      public String getAdapterFactoryID()
      Deprecated.
      Specified by:
      getAdapterFactoryID in interface IAdapterFactory
      Returns:
      A unique id for this adapter factory
    • createsAdaptersFor

      public boolean createsAdaptersFor(Class<?> targetClass)
      Deprecated.
      Specified by:
      createsAdaptersFor in interface IAdapterFactory