org.testng.internal.thread.IExecutor Maven / Gradle / Ivy
package org.testng.internal.thread;
/**
* Reduced interface to mimic an ExecutorService.
*
* @author Alexandru Popescu
*/
public interface IExecutor {
IFutureResult submitRunnable(Runnable runnable);
void shutdown();
boolean awaitTermination(long timeout);
void stopNow();
StackTraceElement[][] getStackTraces();
}