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
IOException
InterruptedException
public void countDown() throws IOException, InterruptedException
IOException
InterruptedException
Copyright © 2004–2024 The Apache Software Foundation. All rights reserved.