Class CountdownCloseable
java.lang.Object
org.apache.maven.surefire.extensions.util.CountdownCloseable
- All Implemented Interfaces:
Closeable
,AutoCloseable
Decrements
countdown
and calls closeable
if reached zero.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Waiting for one Thread inCommandlineExecutor.awaitExit()
.void
close()
-
Constructor Details
-
CountdownCloseable
-
-
Method Details
-
close
- Specified by:
close
in interfaceAutoCloseable
- Specified by:
close
in interfaceCloseable
- Throws:
IOException
-
awaitClosed
Waiting for one Thread inCommandlineExecutor.awaitExit()
.- Throws:
InterruptedException
- seeObject.wait()
-