|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.demac.impl.util.Semaphore
public class Semaphore
A standard sempahore.
| Constructor Summary | |
|---|---|
Semaphore()
|
|
Semaphore(int initial)
|
|
| Method Summary | |
|---|---|
void |
acquire()
|
void |
release()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Semaphore()
public Semaphore(int initial)
| Method Detail |
|---|
public void acquire()
throws java.lang.InterruptedException
java.lang.InterruptedExceptionpublic void release()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||