public class CountDownLatchWithTimeout extends Object
Modifier and Type | Method and Description |
---|---|
static CountDownLatchWithTimeout |
await(CountDownLatch latch) |
void |
with(Duration timeout) |
public static CountDownLatchWithTimeout await(CountDownLatch latch)
public void with(Duration timeout) throws InterruptedException, TimeoutException
InterruptedException
TimeoutException
Copyright © 2009–2018 tempus-fugit committers. All rights reserved.