|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectEDU.oswego.cs.dl.util.concurrent.CyclicBarrier
org.apache.felix.eventadmin.impl.tasks.Rendezvous
public class Rendezvous
This is a simplified version of the CyclicBarrier implementation. It provides the same methods but internally ignores the exceptions.
| Field Summary |
|---|
| Fields inherited from class EDU.oswego.cs.dl.util.concurrent.CyclicBarrier |
|---|
barrierCommand_, broken_, count_, parties_, resets_ |
| Constructor Summary | |
|---|---|
Rendezvous()
Create a Barrier for the indicated number of parties, and the default Rotator function to run at each barrier point. |
|
| Method Summary | |
|---|---|
void |
waitAttemptForRendezvous(long timeout)
see CyclicBarrier.attemptBarrier(long) |
void |
waitForRendezvous()
see CyclicBarrier.barrier() |
| Methods inherited from class EDU.oswego.cs.dl.util.concurrent.CyclicBarrier |
|---|
attemptBarrier, barrier, broken, doBarrier, parties, restart, setBarrierCommand |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Rendezvous()
| Method Detail |
|---|
public void waitForRendezvous()
CyclicBarrier.barrier()
public void waitAttemptForRendezvous(long timeout)
throws EDU.oswego.cs.dl.util.concurrent.TimeoutException
CyclicBarrier.attemptBarrier(long)
EDU.oswego.cs.dl.util.concurrent.TimeoutException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||