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