摘要:
线程池任务调度流程 线程池构造方法一览 /** * Creates a new {@code ThreadPoolExecutor} with the given initial * parameters. * * @param corePoolSize the number of threads 阅读全文
摘要:
线程状态 NEW、RUNNABLE、BLOCKED、WAITING、TIMED_WAITING、TERMINATED 参考java.lang.Thread类的内部枚举java.lang.Thread.State,如下: public enum State { /** * Thread state f 阅读全文