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