Class JSR166TestCase.CheckedBarrier

java.lang.Object
  extended by java.util.concurrent.CyclicBarrier
      extended by JSR166TestCase.CheckedBarrier
Enclosing class:
JSR166TestCase

public class JSR166TestCase.CheckedBarrier
extends java.util.concurrent.CyclicBarrier

A CyclicBarrier that fails with AssertionFailedErrors instead of throwing checked exceptions.


Constructor Summary
JSR166TestCase.CheckedBarrier(int parties)
           
 
Method Summary
 int await()
           
 
Methods inherited from class java.util.concurrent.CyclicBarrier
await, getNumberWaiting, getParties, isBroken, reset
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSR166TestCase.CheckedBarrier

public JSR166TestCase.CheckedBarrier(int parties)
Method Detail

await

public int await()
Overrides:
await in class java.util.concurrent.CyclicBarrier