Interface ProcessingResourceSpecification
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,Notifier
,PCMBaseClass
,PCMClass
- All Known Subinterfaces:
HDDProcessingResourceSpecification
- All Known Implementing Classes:
HDDProcessingResourceSpecificationImpl
,ProcessingResourceSpecificationImpl
The following features are supported:
- See Also:
- Generated class or method.
- EMF model class or method.
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionReturns the value of the 'Active Resource Type Active Resource Specification' reference.double
getMTTF()
Returns the value of the 'MTTF' attribute.double
getMTTR()
Returns the value of the 'MTTR' attribute.int
Returns the value of the 'Number Of Replicas' attribute.Returns the value of the 'Processing Rate Processing Resource Specification' containment reference.Returns the value of the 'Resource Container Processing Resource Specification' container reference.Returns the value of the 'Scheduling Policy' reference.boolean
Returns the value of the 'Required By Container' attribute.void
Sets the value of the 'Active Resource Type Active Resource Specification
' reference.void
setMTTF
(double value) Sets the value of the 'MTTF
' attribute.void
setMTTR
(double value) Sets the value of the 'MTTR
' attribute.void
setNumberOfReplicas
(int value) Sets the value of the 'Number Of Replicas
' attribute.void
Sets the value of the 'Processing Rate Processing Resource Specification
' containment reference.void
setRequiredByContainer
(boolean value) Sets the value of the 'Required By Container
' attribute.void
Sets the value of the 'Resource Container Processing Resource Specification
' container reference.void
Sets the value of the 'Scheduling Policy
' 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 de.uka.ipd.sdq.identifier.Identifier
getId, setId
Methods inherited from interface org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
Field Details
-
copyright
- See Also:
- Generated class or method.
-
-
Method Details
-
getMTTR
double getMTTR()Returns the value of the 'MTTR' attribute. The default value is"0.0"
. The Mean Time To Repair (MTTR) of a physical resource is the expected timespan from breakdown of this physical resource to its repair or replacement.- Returns:
- the value of the 'MTTR' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="0.0" required="true" ordered="false"
-
setMTTR
void setMTTR(double value) Sets the value of the 'MTTR
' attribute.- Parameters:
value
- the new value of the 'MTTR' attribute.- See Also:
- Generated class or method.
-
getMTTF
double getMTTF()Returns the value of the 'MTTF' attribute. The default value is"0.0"
. The Mean Time To Failure (MTTF) of a physical resource is the expected timespan from the start of its usage until breakdown.- Returns:
- the value of the 'MTTF' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="0.0" required="true" ordered="false"
-
setMTTF
void setMTTF(double value) Sets the value of the 'MTTF
' attribute.- Parameters:
value
- the new value of the 'MTTF' attribute.- See Also:
- Generated class or method.
-
isRequiredByContainer
boolean isRequiredByContainer()Returns the value of the 'Required By Container' attribute.This attribute controls the handling of the resource by the reliability prediction.
If set to TRUE, the unavailability of the resource automatically leads to the unavailability of the surrounding resource container. Every attempt to execute a SEFF on an unavailable resource container leads to a corresponding resource failure.
If set to FALSE, the unavailability of the resource does not make the container unavailable. An attempt to execute a SEFF on a container with an unavailable resource leads to a resource failure ONLY IF the SEFF contains an InternalAction that accesses the resource.
- Returns:
- the value of the 'Required By Container' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setRequiredByContainer
void setRequiredByContainer(boolean value) Sets the value of the 'Required By Container
' attribute.- Parameters:
value
- the new value of the 'Required By Container' attribute.- See Also:
- Generated class or method.
-
getSchedulingPolicy
SchedulingPolicy getSchedulingPolicy()Returns the value of the 'Scheduling Policy' reference.- Returns:
- the value of the 'Scheduling Policy' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setSchedulingPolicy
Sets the value of the 'Scheduling Policy
' reference.- Parameters:
value
- the new value of the 'Scheduling Policy' reference.- See Also:
- Generated class or method.
-
getActiveResourceType_ActiveResourceSpecification
ProcessingResourceType getActiveResourceType_ActiveResourceSpecification()Returns the value of the 'Active Resource Type Active Resource Specification' reference.- Returns:
- the value of the 'Active Resource Type Active Resource Specification' reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setActiveResourceType_ActiveResourceSpecification
Sets the value of the 'Active Resource Type Active Resource Specification
' reference.- Parameters:
value
- the new value of the 'Active Resource Type Active Resource Specification' reference.- See Also:
- Generated class or method.
-
getProcessingRate_ProcessingResourceSpecification
PCMRandomVariable getProcessingRate_ProcessingResourceSpecification()Returns the value of the 'Processing Rate Processing Resource Specification' containment reference. It is bidirectional and its opposite is 'Processing Resource Specification processing Rate PCM Random Variable
'.- Returns:
- the value of the 'Processing Rate Processing Resource Specification' containment reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="processingResourceSpecification_processingRate_PCMRandomVariable" containment="true" required="true" ordered="false"
-
setProcessingRate_ProcessingResourceSpecification
Sets the value of the 'Processing Rate Processing Resource Specification
' containment reference.- Parameters:
value
- the new value of the 'Processing Rate Processing Resource Specification' containment reference.- See Also:
- Generated class or method.
-
getNumberOfReplicas
int getNumberOfReplicas()Returns the value of the 'Number Of Replicas' attribute. The default value is"1"
.Specifies the actual number of processors of the processing resource.
In terms of the queueing theory, the number of processors corresponds to the number of servers of a service center. Thus, the attribute allows to specify a multi-server queue, i.e., one queue with multiple servers.
- Returns:
- the value of the 'Number Of Replicas' attribute.
- See Also:
- Generated class or method.
- EMF model class or method.
- default="1" required="true" ordered="false"
-
setNumberOfReplicas
void setNumberOfReplicas(int value) Sets the value of the 'Number Of Replicas
' attribute.- Parameters:
value
- the new value of the 'Number Of Replicas' attribute.- See Also:
- Generated class or method.
-
getResourceContainer_ProcessingResourceSpecification
ResourceContainer getResourceContainer_ProcessingResourceSpecification()Returns the value of the 'Resource Container Processing Resource Specification' container reference. It is bidirectional and its opposite is 'Active Resource Specifications Resource Container
'.- Returns:
- the value of the 'Resource Container Processing Resource Specification' container reference.
- See Also:
- Generated class or method.
- EMF model class or method.
- opposite="activeResourceSpecifications_ResourceContainer" required="true" transient="false" ordered="false"
-
setResourceContainer_ProcessingResourceSpecification
Sets the value of the 'Resource Container Processing Resource Specification
' container reference.- Parameters:
value
- the new value of the 'Resource Container Processing Resource Specification' container reference.- See Also:
- Generated class or method.
-