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