Interface ClosedWorkload
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,Notifier
,PCMBaseClass
,PCMClass
,Workload
- All Known Implementing Classes:
ClosedWorkloadImpl
A representation of the model object 'Closed Workload'.
ClosedWorkload specifies directly the (constant) user population and a think time. It models
that a fixed number of users execute their scenario, then wait (or think) for the specified amount
of think time as a RandomVariable, and then reenter the system executing their scenario again.
Performance analysts use closed workloads to model scenarios, where the number of users is known
(e.g., a fixed number of users in a company).
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
- annotation="http://www.eclipse.org/emf/2002/Ecore constraints='populationInClosedWorkloadNeedsToBeGreaterZero thinkTimeInClosedWorkloadNeedsToBeSpecified'" annotation="http://www.eclipse.org/emf/2002/Ecore/OCL/LPG populationInClosedWorkloadNeedsToBeGreaterZero='not self.population.oclIsUndefined() and self.population > 0' thinkTimeInClosedWorkloadNeedsToBeSpecified='not self.thinkTime_ClosedWorkload.oclIsUndefined() and self.thinkTime_ClosedWorkload.specification <> \'\''"
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
Returns the value of the 'Population' attribute.Returns the value of the 'Think Time Closed Workload' containment reference.void
setPopulation
(int value) Sets the value of the 'Population
' attribute.void
Sets the value of the 'Think Time Closed Workload
' containment reference.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.pcm.usagemodel.Workload
getUsageScenario_Workload, setUsageScenario_Workload
-
Field Details
-
copyright
- See Also:
- Generated class or method.
-
-
Method Details
-
getPopulation
int getPopulation()Returns the value of the 'Population' attribute.- Returns:
- the value of the 'Population' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setPopulation
void setPopulation(int value) Sets the value of the 'Population
' attribute.- Parameters:
value
- the new value of the 'Population' attribute.- See Also:
- Generated class or method.
-
getThinkTime_ClosedWorkload
PCMRandomVariable getThinkTime_ClosedWorkload()Returns the value of the 'Think Time Closed Workload' containment reference. It is bidirectional and its opposite is 'Closed Workload PCM Random Variable
'.- Returns:
- the value of the 'Think Time Closed Workload' containment reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="closedWorkload_PCMRandomVariable" containment="true" required="true" ordered="false"
-
setThinkTime_ClosedWorkload
Sets the value of the 'Think Time Closed Workload
' containment reference.- Parameters:
value
- the new value of the 'Think Time Closed Workload' containment reference.- See Also:
- Generated class or method.
-