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
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:
- 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 Summary
Modifier and TypeMethodDescriptiondoubleReturns the value of the 'Window Increment' attribute.javax.measure.Measure<Double,javax.measure.quantity.Duration> Convenience method to retrieve the property 'windowIncrement' (interpreted as given in seconds) in terms of aMeasure.doubleReturns the value of the 'Window Length' attribute.javax.measure.Measure<Double,javax.measure.quantity.Duration> Convenience method to retrieve the property 'windowLength' (interpreted as given in seconds) in terms of aMeasure.voidsetWindowIncrement(double value) Sets the value of the 'Window Increment' attribute.voidsetWindowLength(double value) Sets the value of the 'Window Length' attribute.Methods inherited from interface org.eclipse.emf.cdo.CDOObject
cdoConflict, cdoDirectResource, cdoHistory, cdoID, cdoInvalid, cdoLockState, cdoPermission, cdoPrefetch, cdoReadLock, cdoReload, cdoResource, cdoRevision, cdoRevision, cdoState, cdoView, cdoWriteLock, cdoWriteOptionMethods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnsetMethods inherited from interface de.uka.ipd.sdq.identifier.Identifier
getId, setIdMethods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliverMethods inherited from interface org.palladiosimulator.monitorrepository.ProcessingType
getMeasurementSpecification, setMeasurementSpecification
-
Method Details
-
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:
- 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:
- Generated class or method.
-
getWindowIncrement
double getWindowIncrement()Returns the value of the 'Window Increment' attribute. The default value is"10.0". The increment of the sliding window, in seconds.- Returns:
- the value of the 'Window Increment' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="10.0"
-
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:
- 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 aMeasure.- Generated class or method.
- EMF model class or method.
- kind="operation" dataType="org.palladiosimulator.edp2.models.ExperimentData.EJSMeasure<org.eclipse.emf.ecore.EDoubleObject, org.palladiosimulator.monitorrepository.util.Duration>"
-
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 aMeasure.- Generated class or method.
- EMF model class or method.
- kind="operation" dataType="org.palladiosimulator.edp2.models.ExperimentData.EJSMeasure<org.eclipse.emf.ecore.EDoubleObject, org.palladiosimulator.monitorrepository.util.Duration>"
-