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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getWindowIncrement()
Returns the value of the 'Window Increment' attribute.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
.double
getWindowLength()
Returns the value of the 'Window Length' attribute.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
.void
setWindowIncrement(double value)
Sets the value of the 'Window Increment
' attribute.void
setWindowLength(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, cdoWriteOption
-
Methods inherited from interface org.eclipse.emf.ecore.EObject
eAllContents, eClass, eContainer, eContainingFeature, eContainmentFeature, eContents, eCrossReferences, eGet, eGet, eInvoke, eIsProxy, eIsSet, eResource, eSet, eUnset
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Methods inherited from interface org.palladiosimulator.monitorrepository.ProcessingType
getMeasurementSpecification, setMeasurementSpecification
-
-
-
-
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.
-
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:
setWindowIncrement(double)
,MonitorRepositoryPackage.getTimeDriven_WindowIncrement()
- 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:
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 aMeasure
.- 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 aMeasure
.- 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);'"
-
-