Package com.swiftmq.tools.concurrent
Class Semaphore
java.lang.Object
com.swiftmq.tools.concurrent.Semaphore
-
Constructor Details
-
Semaphore
public Semaphore(boolean interruptable) -
Semaphore
public Semaphore()
-
-
Method Details
-
waitHere
public void waitHere() -
waitHere
public void waitHere(long ms) -
notifySingleWaiter
public void notifySingleWaiter() -
notifyAllWaiters
public void notifyAllWaiters() -
isNotified
public boolean isNotified() -
reset
public void reset()
-