public class IntegerSemaphore extends java.lang.Object implements PrecipiceSemaphore
| Constructor and Description |
|---|
IntegerSemaphore(int concurrencyLevel) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
acquirePermit() |
void |
releasePermit() |
public boolean acquirePermit()
acquirePermit in interface PrecipiceSemaphorepublic void releasePermit()
releasePermit in interface PrecipiceSemaphoreCopyright © 2014 Tim Brooks. All Rights Reserved.