org.apache.felix.eventadmin.impl.tasks
Class Rendezvous
java.lang.Object
EDU.oswego.cs.dl.util.concurrent.CyclicBarrier
org.apache.felix.eventadmin.impl.tasks.Rendezvous
- All Implemented Interfaces:
- EDU.oswego.cs.dl.util.concurrent.Barrier
public class Rendezvous
- extends EDU.oswego.cs.dl.util.concurrent.CyclicBarrier
This is a simplified version of the CyclicBarrier implementation.
It provides the same methods but internally ignores the exceptions.
- Author:
- Felix Project Team
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. |
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 |
Rendezvous
public Rendezvous()
- Create a Barrier for the indicated number of parties, and the default
Rotator function to run at each barrier point.
waitForRendezvous
public void waitForRendezvous()
- see
CyclicBarrier.barrier()
waitAttemptForRendezvous
public void waitAttemptForRendezvous(long timeout)
throws EDU.oswego.cs.dl.util.concurrent.TimeoutException
- see
CyclicBarrier.attemptBarrier(long)
- Throws:
EDU.oswego.cs.dl.util.concurrent.TimeoutException
isTimedOut
public boolean isTimedOut()
Copyright © 2013 The Apache Software Foundation. All Rights Reserved.