Interface ProcessingResourceSpecification
-
- All Superinterfaces:
org.eclipse.emf.cdo.CDOObject
,org.eclipse.emf.cdo.common.id.CDOWithID
,EObject
,de.uka.ipd.sdq.identifier.Identifier
,Notifier
- All Known Subinterfaces:
HDDProcessingResourceSpecification
- All Known Implementing Classes:
HDDProcessingResourceSpecificationImpl
,ProcessingResourceSpecificationImpl
public interface ProcessingResourceSpecification extends de.uka.ipd.sdq.identifier.Identifier
A representation of the model object ' Processing Resource Specification'. Performance specification of processing resources (e.g. processing rate, scheduling policy)The following features are supported:
- See Also:
ResourceenvironmentPackage.getProcessingResourceSpecification()
- Generated class or method.
- EMF model class or method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ProcessingResourceType
getActiveResourceType_ActiveResourceSpecification()
Returns 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
getNumberOfReplicas()
Returns the value of the 'Number Of Replicas' attribute.PCMRandomVariable
getProcessingRate_ProcessingResourceSpecification()
Returns the value of the 'Processing Rate Processing Resource Specification' containment reference.ResourceContainer
getResourceContainer_ProcessingResourceSpecification()
Returns the value of the 'Resource Container Processing Resource Specification' container reference.SchedulingPolicy
getSchedulingPolicy()
Returns the value of the 'Scheduling Policy' reference.boolean
isRequiredByContainer()
Returns the value of the 'Required By Container' attribute.void
setActiveResourceType_ActiveResourceSpecification(ProcessingResourceType value)
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
setProcessingRate_ProcessingResourceSpecification(PCMRandomVariable value)
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
setResourceContainer_ProcessingResourceSpecification(ResourceContainer value)
Sets the value of the 'Resource Container Processing Resource Specification
' container reference.void
setSchedulingPolicy(SchedulingPolicy value)
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 org.eclipse.emf.common.notify.Notifier
eAdapters, eDeliver, eNotify, eSetDeliver
-
-
-
-
Field Detail
-
copyright
static final String copyright
- See Also:
- Constant Field Values
- Generated class or method.
-
-
Method Detail
-
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:
setMTTR(double)
,ResourceenvironmentPackage.getProcessingResourceSpecification_MTTR()
- Generated class or method.
- EMF model class or method.
- default="0.0" required="true"
-
setMTTR
void setMTTR(double value)
Sets the value of the 'MTTR
' attribute.- Parameters:
value
- the new value of the 'MTTR' attribute.- See Also:
getMTTR()
- 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:
setMTTF(double)
,ResourceenvironmentPackage.getProcessingResourceSpecification_MTTF()
- Generated class or method.
- EMF model class or method.
- default="0.0" required="true"
-
setMTTF
void setMTTF(double value)
Sets the value of the 'MTTF
' attribute.- Parameters:
value
- the new value of the 'MTTF' attribute.- See Also:
getMTTF()
- 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:
setRequiredByContainer(boolean)
,ResourceenvironmentPackage.getProcessingResourceSpecification_RequiredByContainer()
- Generated class or method.
- EMF model class or method.
- required="true"
-
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:
isRequiredByContainer()
- Generated class or method.
-
getSchedulingPolicy
SchedulingPolicy getSchedulingPolicy()
Returns the value of the 'Scheduling Policy' reference.If the meaning of the 'Scheduling Policy' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Scheduling Policy' reference.
- See Also:
setSchedulingPolicy(SchedulingPolicy)
,ResourceenvironmentPackage.getProcessingResourceSpecification_SchedulingPolicy()
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setSchedulingPolicy
void setSchedulingPolicy(SchedulingPolicy value)
Sets the value of the 'Scheduling Policy
' reference.- Parameters:
value
- the new value of the 'Scheduling Policy' reference.- See Also:
getSchedulingPolicy()
- Generated class or method.
-
getActiveResourceType_ActiveResourceSpecification
ProcessingResourceType getActiveResourceType_ActiveResourceSpecification()
Returns the value of the 'Active Resource Type Active Resource Specification' reference.If the meaning of the 'Active Resource Type Active Resource Specification' reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Active Resource Type Active Resource Specification' reference.
- See Also:
setActiveResourceType_ActiveResourceSpecification(ProcessingResourceType)
,ResourceenvironmentPackage.getProcessingResourceSpecification_ActiveResourceType_ActiveResourceSpecification()
- Generated class or method.
- EMF model class or method.
- required="true" ordered="false"
-
setActiveResourceType_ActiveResourceSpecification
void setActiveResourceType_ActiveResourceSpecification(ProcessingResourceType value)
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:
getActiveResourceType_ActiveResourceSpecification()
- 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
'.If the meaning of the 'Processing Rate Processing Resource Specification' containment reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Processing Rate Processing Resource Specification' containment reference.
- See Also:
setProcessingRate_ProcessingResourceSpecification(PCMRandomVariable)
,ResourceenvironmentPackage.getProcessingResourceSpecification_ProcessingRate_ProcessingResourceSpecification()
,PCMRandomVariable.getProcessingResourceSpecification_processingRate_PCMRandomVariable()
- Generated class or method.
- EMF model class or method.
- opposite="processingResourceSpecification_processingRate_PCMRandomVariable" containment="true" required="true"
-
setProcessingRate_ProcessingResourceSpecification
void setProcessingRate_ProcessingResourceSpecification(PCMRandomVariable value)
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:
getProcessingRate_ProcessingResourceSpecification()
- 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:
setNumberOfReplicas(int)
,ResourceenvironmentPackage.getProcessingResourceSpecification_NumberOfReplicas()
- Generated class or method.
- EMF model class or method.
- default="1" required="true"
-
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:
getNumberOfReplicas()
- 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
'.If the meaning of the 'Resource Container Processing Resource Specification' container reference isn't clear, there really should be more of a description here...
- Returns:
- the value of the 'Resource Container Processing Resource Specification' container reference.
- See Also:
setResourceContainer_ProcessingResourceSpecification(ResourceContainer)
,ResourceenvironmentPackage.getProcessingResourceSpecification_ResourceContainer_ProcessingResourceSpecification()
,ResourceContainer.getActiveResourceSpecifications_ResourceContainer()
- Generated class or method.
- EMF model class or method.
- opposite="activeResourceSpecifications_ResourceContainer" required="true" transient="false" ordered="false"
-
setResourceContainer_ProcessingResourceSpecification
void setResourceContainer_ProcessingResourceSpecification(ResourceContainer value)
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:
getResourceContainer_ProcessingResourceSpecification()
- Generated class or method.
-
-