de.uka.ipd.sdq.pcm.seff
Interface AcquireAction
- All Superinterfaces:
- AbstractAction, AbstractInternalControlFlowAction, Entity, Identifier, NamedElement
- All Known Implementing Classes:
- AcquireActionImpl
public interface AcquireAction
- extends AbstractInternalControlFlowAction
A representation of the model object 'Acquire Action'.
In an RDSEFF, component developers can specify an AcquireAction, which references a passive resource types. Once analysis tools execute this action, they decrease the amount of items available from the referenced passive resource type by one, if at least one item is available. If none item is available, because other, concurrently executed requests have acquired all of them, analysis tools enqueue the current request (first-come
first-serve scheduling policy) and block it�s further execution.
Acquisition and release of passive resources happen instantaneously and do not consume any time except for waiting delays before actual acquisition. Resource locking may introduce deadlocks when simulating the model, however, for performance analysis with the PCM it is assumed that no deadlocks occur. Otherwise, the model first needs to be fixed accordingly before carrying out the performance prediction.
The following features are supported:
- See Also:
SeffPackage.getAcquireAction()
copyright
static final String copyright
-
- See Also:
- Constant Field Values
getPassiveresource_AcquireAction
PassiveResource getPassiveresource_AcquireAction()
- Returns the value of the 'Passiveresource Acquire Action' reference.
If the meaning of the 'Passiveresource Acquire Action' reference isn't clear,
there really should be more of a description here...
- Returns:
- the value of the 'Passiveresource Acquire Action' reference.
- See Also:
setPassiveresource_AcquireAction(PassiveResource),
SeffPackage.getAcquireAction_Passiveresource_AcquireAction()
setPassiveresource_AcquireAction
void setPassiveresource_AcquireAction(PassiveResource value)
- Sets the value of the '
Passiveresource Acquire Action' reference.
- Parameters:
value - the new value of the 'Passiveresource Acquire Action' reference.- See Also:
getPassiveresource_AcquireAction()