线程池

类的继承和实现关系

public interface Executor {
    void execute(Runnable command);
}
public interface ExecutorService extends Executor {

}
public interface ScheduledExecutorService extends ExecutorService {
    
}
public interface ListeningExecutorService extends ExecutorService {
    <T> ListenableFuture<T> submit(Callable<T> task);
}
public abstract class AbstractExecutorService implements ExecutorService {

}
public class ThreadPoolExecutor extends AbstractExecutorService {
    
}
public class ScheduledThreadPoolExecutor extends ThreadPoolExecutor implements ScheduledExecutorService {
            
}

-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
--------------last line for now----------------