public abstract class CountDownLauncher extends Object
countDown() and the last reaching zero executes the job().| Constructor and Description |
|---|
CountDownLauncher(int count) |
| Modifier and Type | Method and Description |
|---|---|
void |
countDown() |
protected abstract void |
job() |
protected abstract void job()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionpublic void countDown()
throws IOException,
InterruptedException
IOExceptionInterruptedExceptionCopyright © 2004–2024 The Apache Software Foundation. All rights reserved.