1 package org.testng.internal.thread;
2 
3 /**
4  * Reduced interface to mimic an ExecutorService.
5  *
6  * @author <a href='mailto:the_mindstorm@evolva.ro'>Alexandru Popescu</a>
7  */
8 public interface IExecutor {
submitRunnable(Runnable runnable)9    IFutureResult submitRunnable(Runnable runnable);
10 
shutdown()11    void shutdown();
12 
awaitTermination(long timeout)13    boolean awaitTermination(long timeout);
14 
stopNow()15    void stopNow();
16 
getStackTraces()17    StackTraceElement[][] getStackTraces();
18 }
19