public class TimeOutSemaphore
extends java.lang.Object
Constructor and Description |
---|
TimeOutSemaphore(int numPermits) |
Modifier and Type | Method and Description |
---|---|
void |
acquire() |
void |
drainPermits() |
void |
release() |
void |
setException(java.lang.Throwable t)
Set an Exception to indicate an Exception that should be raised occurred that should be
communicated to whoever is acquiring this semaphore.
|
public void acquire()
public void release()
public void drainPermits()
public void setException(java.lang.Throwable t)