Class CountdownCloseable

java.lang.Object
org.apache.maven.surefire.extensions.util.CountdownCloseable
All Implemented Interfaces:
Closeable, AutoCloseable

public final class CountdownCloseable extends Object implements Closeable
Decrements countdown and calls closeable if reached zero.