com.google.code.tempusfugit.concurrency
Class CountDownLatchWithTimeout

java.lang.Object
  extended by com.google.code.tempusfugit.concurrency.CountDownLatchWithTimeout

public class CountDownLatchWithTimeout
extends Object


Method Summary
static CountDownLatchWithTimeout await(CountDownLatch latch)
           
 void with(Duration timeout)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

await

public static CountDownLatchWithTimeout await(CountDownLatch latch)

with

public void with(Duration timeout)
          throws InterruptedException,
                 TimeoutException
Throws:
InterruptedException
TimeoutException


Copyright © 2009-2012 tempus-fugit committers. All Rights Reserved.