org.apache.maven.surefire.junitcore.pc
Interface Destroyable

All Known Implementing Classes:
SchedulingStrategy

public interface Destroyable

Destroys the embedded thread-pool.

Since:
2.18
Author:
Tibor Digana (tibor17)
See Also:
ParallelComputerBuilder

Method Summary
 boolean destroy()
          Calling ThreadPoolExecutor.shutdown() and ThreadPoolExecutor.awaitTermination(long, java.util.concurrent.TimeUnit).
 

Method Detail

destroy

boolean destroy()
Calling ThreadPoolExecutor.shutdown() and ThreadPoolExecutor.awaitTermination(long, java.util.concurrent.TimeUnit).

Returns:
true if not interrupted in current thread


Copyright © 2004–2014 The Apache Software Foundation. All rights reserved.