|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.runtime.internal.adaptor.Semaphore
public class Semaphore
Internal class.
| Field Summary | |
|---|---|
protected long |
notifications
|
| Constructor Summary | |
|---|---|
Semaphore(int count)
|
|
| Method Summary | |
|---|---|
void |
acquire()
Attempts to acquire this semaphore. |
boolean |
acquire(long delay)
Attempts to acquire this semaphore. |
void |
release()
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected long notifications
| Constructor Detail |
|---|
public Semaphore(int count)
| Method Detail |
|---|
public void acquire()
public boolean acquire(long delay)
public void release()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||