Interface CooldownConstraint
- All Superinterfaces:
AbstractConstraint
,org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,Notifier
,PolicyConstraint
,TemporalConstraint
- All Known Implementing Classes:
CooldownConstraintImpl
A representation of the model object 'Cooldown Constraint'.
The CoolDown constraint defines a quiescence period in which the target group is not enacted by the policy.
In addition one can specify the maximum number of scaling operations that can occur in the defined quiescence period.
Contrary to the IntervalConstraint, the CooldownConstraint determines the future enactment of the policy after an adjustment has happened.
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Method Summary
Modifier and TypeMethodDescriptiondouble
Returns the value of the 'Cooldown Time' attribute.int
Returns the value of the 'Max Scaling Operations' attribute.void
setCooldownTime
(double value) Sets the value of the 'Cooldown Time
' attribute.void
setMaxScalingOperations
(int value) Sets the value of the 'Max Scaling Operations
' 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 de.uka.ipd.sdq.identifier.Identifier
getId, setId
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Method Details
-
getCooldownTime
double getCooldownTime()Returns the value of the 'Cooldown Time' attribute.- Returns:
- the value of the 'Cooldown Time' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true"
-
setCooldownTime
void setCooldownTime(double value) Sets the value of the 'Cooldown Time
' attribute.- Parameters:
value
- the new value of the 'Cooldown Time' attribute.- See Also:
- Generated class or method.
-
getMaxScalingOperations
int getMaxScalingOperations()Returns the value of the 'Max Scaling Operations' attribute. The default value is"0"
.- Returns:
- the value of the 'Max Scaling Operations' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="0" required="true"
-
setMaxScalingOperations
void setMaxScalingOperations(int value) Sets the value of the 'Max Scaling Operations
' attribute.- Parameters:
value
- the new value of the 'Max Scaling Operations' attribute.- See Also:
- Generated class or method.
-