Class CountDownLauncher
- java.lang.Object
-
- org.apache.maven.surefire.extensions.util.CountDownLauncher
-
public abstract class CountDownLauncher extends Object
Counts down the callscountDown()
and the last reaching zero executes thejob()
.- Since:
- 3.0.0-M5
- Author:
- Tibor Digana (tibor17)
-
-
Constructor Summary
Constructors Constructor Description CountDownLauncher(int count)
-
-
-
Method Detail
-
job
protected abstract void job() throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
countDown
public void countDown() throws IOException, InterruptedException
- Throws:
IOException
InterruptedException
-
-