Class SynchronisedResource
java.lang.Object
org.palladiosimulator.protocom.resourcestrategies.passiveresource.SynchronisedResource
- All Implemented Interfaces:
IPassiveResourceStrategy
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SynchronisedResource
public SynchronisedResource()
-
-
Method Details
-
acquire
public void acquire(int num) - Specified by:
acquire
in interfaceIPassiveResourceStrategy
-
release
public void release(int num) - Specified by:
release
in interfaceIPassiveResourceStrategy
-