Constructor and Description |
---|
FutureRunnable() |
FutureRunnable(int initialIterations) |
Modifier and Type | Method and Description |
---|---|
void |
await() |
boolean |
await(long milliseconds) |
boolean |
await(long timeWait,
TimeUnit timeUnit) |
void |
countDown() |
void |
countUp() |
int |
getCount() |
void |
run() |
public FutureRunnable(int initialIterations)
public FutureRunnable()
public void countUp()
public void countDown()
public int getCount()
public void await() throws InterruptedException
InterruptedException
public boolean await(long timeWait, TimeUnit timeUnit) throws InterruptedException
InterruptedException
public boolean await(long milliseconds) throws InterruptedException
InterruptedException
Copyright © 2016 The Apache Software Foundation. All rights reserved.