Interface TimeDriven

  • All Superinterfaces:
    org.eclipse.emf.cdo.CDOObject, org.eclipse.emf.cdo.common.id.CDOWithID, EObject, de.uka.ipd.sdq.identifier.Identifier, Notifier, ProcessingType
    All Known Subinterfaces:
    TimeDrivenAggregation
    All Known Implementing Classes:
    TimeDrivenAggregationImpl, TimeDrivenImpl

    public interface TimeDriven
    extends ProcessingType
    A representation of the model object 'Time Driven'. ProcessingType suitable for measurement specifications that demand a sliding window (e.g., before being recorded) but are not based on statistical aggregation. Examples for such measurement specifications are the window-based utilization calculation or the power and energy calculation that bases thereof.

    The following features are supported:

    See Also:
    MonitorRepositoryPackage.getTimeDriven()
    Generated class or method.
    EMF model class or method.
    annotation= "http://www.eclipse.org/emf/2002/Ecore/OCL windowLength='self.windowLength > 0.0' windowIncrement='self.windowIncrement > 0.0'" annotation= "http://www.eclipse.org/emf/2002/Ecore constraints='windowLength windowIncrement'"
    • Method Detail

      • getWindowLength

        double getWindowLength()
        Returns the value of the 'Window Length' attribute. The default value is "10.0". The length of the sliding window, in seconds.
        Returns:
        the value of the 'Window Length' attribute.
        See Also:
        setWindowLength(double), MonitorRepositoryPackage.getTimeDriven_WindowLength()
        Generated class or method.
        EMF model class or method.
        default="10.0"
      • setWindowLength

        void setWindowLength​(double value)
        Sets the value of the ' Window Length' attribute.
        Parameters:
        value - the new value of the 'Window Length' attribute.
        See Also:
        getWindowLength()
        Generated class or method.
      • setWindowIncrement

        void setWindowIncrement​(double value)
        Sets the value of the ' Window Increment' attribute.
        Parameters:
        value - the new value of the 'Window Increment' attribute.
        See Also:
        getWindowIncrement()
        Generated class or method.
      • getWindowLengthAsMeasure

        javax.measure.Measure<Double,​javax.measure.quantity.Duration> getWindowLengthAsMeasure()
        Convenience method to retrieve the property 'windowLength' (interpreted as given in seconds) in terms of a Measure.
        Generated class or method.
        EMF model class or method.
        kind="operation" dataType= "org.palladiosimulator.edp2.models.ExperimentData.EJSMeasure" annotation= "http://www.eclipse.org/emf/2002/GenModel body=' return Measure .valueOf(getWindowLength(), javax.measure.unit.SI.SECOND);'"
      • getWindowIncrementAsMeasure

        javax.measure.Measure<Double,​javax.measure.quantity.Duration> getWindowIncrementAsMeasure()
        Convenience method to retrieve the property 'windowIncrement' (interpreted as given in seconds) in terms of a Measure.
        Generated class or method.
        EMF model class or method.
        kind="operation" dataType= "org.palladiosimulator.edp2.models.ExperimentData.EJSMeasure" annotation= "http://www.eclipse.org/emf/2002/GenModel body=' return Measure .valueOf(getWindowIncrement(), javax.measure.unit.SI.SECOND);'"