Interface UtilisationResult
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,org.palladiosimulator.pcm.core.entity.NamedElement
,Notifier
- All Known Subinterfaces:
ActiveResourceUtilisationResult
,LinkingResourceResults
,PassiveResourceResult
,ProcessingResourceSpecificationResult
,ResourceContainerResults
- All Known Implementing Classes:
ActiveResourceUtilisationResultImpl
,LinkingResourceResultsImpl
,PassiveResourceResultImpl
,ProcessingResourceSpecificationResultImpl
,ResourceContainerResultsImpl
,UtilisationResultImpl
public interface UtilisationResult extends EObject, org.palladiosimulator.pcm.core.entity.NamedElement
A representation of the model object 'Utilisation Result '.The following features are supported:
- See Also:
ResourceenvironmentdecoratorPackage.getUtilisationResult()
- Generated class or method.
- EMF model class or method.
- abstract="true"
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getAverageQueueLength()
Returns the value of the 'Average Queue Length' attribute.double
getAverageWaitTime()
Returns the value of the 'Average Wait Time' attribute.int
getMaxQueueLength()
Returns the value of the 'Max Queue Length' attribute.double
getNormalisedResourceUtilisation()
Returns the value of the 'Normalised Resource Utilisation' attribute.double
getNormalisedWaitTime()
Returns the value of the 'Normalised Wait Time' attribute.double
getResourceUtilisation()
Returns the value of the 'Resource Utilisation' attribute.void
setAverageQueueLength(double value)
Sets the value of the 'Average Queue Length
' attribute.void
setAverageWaitTime(double value)
Sets the value of the 'Average Wait Time
' attribute.void
setMaxQueueLength(int value)
Sets the value of the 'Max Queue Length
' attribute.void
setNormalisedResourceUtilisation(double value)
Sets the value of the 'Normalised Resource Utilisation
' attribute.void
setNormalisedWaitTime(double value)
Sets the value of the 'Normalised Wait Time
' attribute.void
setResourceUtilisation(double value)
Sets the value of the 'Resource Utilisation
' 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.palladiosimulator.pcm.core.entity.NamedElement
getEntityName, setEntityName
-
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Method Detail
-
getNormalisedResourceUtilisation
double getNormalisedResourceUtilisation()
Returns the value of the 'Normalised Resource Utilisation' attribute. The resource utilisation relative to all resource utilisations in this system.- Returns:
- the value of the 'Normalised Resource Utilisation' attribute.
- See Also:
setNormalisedResourceUtilisation(double)
,ResourceenvironmentdecoratorPackage.getUtilisationResult_NormalisedResourceUtilisation()
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setNormalisedResourceUtilisation
void setNormalisedResourceUtilisation(double value)
Sets the value of the 'Normalised Resource Utilisation
' attribute.- Parameters:
value
- the new value of the 'Normalised Resource Utilisation' attribute.- See Also:
getNormalisedResourceUtilisation()
- Generated class or method.
-
getNormalisedWaitTime
double getNormalisedWaitTime()
Returns the value of the 'Normalised Wait Time' attribute. The wait time relative to all resource utilisations in this system.- Returns:
- the value of the 'Normalised Wait Time' attribute.
- See Also:
setNormalisedWaitTime(double)
,ResourceenvironmentdecoratorPackage.getUtilisationResult_NormalisedWaitTime()
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setNormalisedWaitTime
void setNormalisedWaitTime(double value)
Sets the value of the 'Normalised Wait Time
' attribute.- Parameters:
value
- the new value of the 'Normalised Wait Time' attribute.- See Also:
getNormalisedWaitTime()
- Generated class or method.
-
getResourceUtilisation
double getResourceUtilisation()
Returns the value of the 'Resource Utilisation' attribute. The default value is"0"
. The resource utilisation of this resource between 0 and 1.- Returns:
- the value of the 'Resource Utilisation' attribute.
- See Also:
setResourceUtilisation(double)
,ResourceenvironmentdecoratorPackage.getUtilisationResult_ResourceUtilisation()
- Generated class or method.
- EMF model class or method.
- default="0" required="true" ordered="false"
-
setResourceUtilisation
void setResourceUtilisation(double value)
Sets the value of the 'Resource Utilisation
' attribute.- Parameters:
value
- the new value of the 'Resource Utilisation' attribute.- See Also:
getResourceUtilisation()
- Generated class or method.
-
getAverageWaitTime
double getAverageWaitTime()
Returns the value of the 'Average Wait Time' attribute. The default value is"0"
. The average time that each job has to wait before (FIFO) or while (processor sharing) accessing the resource.- Returns:
- the value of the 'Average Wait Time' attribute.
- See Also:
setAverageWaitTime(double)
,ResourceenvironmentdecoratorPackage.getUtilisationResult_AverageWaitTime()
- Generated class or method.
- EMF model class or method.
- default="0" required="true" ordered="false"
-
setAverageWaitTime
void setAverageWaitTime(double value)
Sets the value of the 'Average Wait Time
' attribute.- Parameters:
value
- the new value of the 'Average Wait Time' attribute.- See Also:
getAverageWaitTime()
- Generated class or method.
-
getAverageQueueLength
double getAverageQueueLength()
Returns the value of the 'Average Queue Length' attribute. The default value is"0"
. The average length of the queue at this resource. For processor sharing, this is the number of busy jobs - 1.- Returns:
- the value of the 'Average Queue Length' attribute.
- See Also:
setAverageQueueLength(double)
,ResourceenvironmentdecoratorPackage.getUtilisationResult_AverageQueueLength()
- Generated class or method.
- EMF model class or method.
- default="0" required="true" ordered="false"
-
setAverageQueueLength
void setAverageQueueLength(double value)
Sets the value of the 'Average Queue Length
' attribute.- Parameters:
value
- the new value of the 'Average Queue Length' attribute.- See Also:
getAverageQueueLength()
- Generated class or method.
-
getMaxQueueLength
int getMaxQueueLength()
Returns the value of the 'Max Queue Length' attribute. The default value is"0"
. The maximum length of the queue at this resource that has been observed during a simulation or that has been analytically determined, if possible. For processor sharing, this is the maximum number of busy jobs - 1.- Returns:
- the value of the 'Max Queue Length' attribute.
- See Also:
setMaxQueueLength(int)
,ResourceenvironmentdecoratorPackage.getUtilisationResult_MaxQueueLength()
- Generated class or method.
- EMF model class or method.
- default="0" required="true" ordered="false"
-
setMaxQueueLength
void setMaxQueueLength(int value)
Sets the value of the 'Max Queue Length
' attribute.- Parameters:
value
- the new value of the 'Max Queue Length' attribute.- See Also:
getMaxQueueLength()
- Generated class or method.
-
-