class ManagedThreadPoolExecutor extends ThreadPoolExecutor {

  public boolean isRunning() {
    return !isStopped;
  }

  public  ManagedThreadPoolExecutor(int corePoolSize, int maximumPoolSize,
                            long keepAliveTime, TimeUnit unit,
                            BlockingQueue<Runnable> workQueue);

}