| 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface Semaphore
| Method Summary | |
|---|---|
 void | 
release()
 | 
 void | 
releaseAllWaiters()
 | 
 void | 
reserve()
 | 
 boolean | 
reserve(long timeout_millis)
reserve a semaphore subject to timeout  | 
 boolean | 
reserveIfAvailable()
 | 
| Method Detail | 
|---|
void reserve()
boolean reserveIfAvailable()
boolean reserve(long timeout_millis)
timeout_millis - time to wait
void release()
void releaseAllWaiters()
  | 
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||