|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.apgrid.grpc.util.CondWait
Provides condition variable for Java.
| Constructor Summary | |
CondWait()
|
|
| Method Summary | |
void |
set()
Sets condition variable true, and notifies it to all. |
void |
waitFor()
Waits until the condition was set true. |
int |
waitFor(long timeout)
Waits until the condition was set true or the specified time was passed. |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CondWait()
| Method Detail |
public void set()
public void waitFor()
public int waitFor(long timeout)
timeout - time to timeout.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||