tocmat 启动时主要线程梳理

2019-05-20  本文已影响0人  那谁319

tocmat 启动时主要线程

"Main” 
    主线程

"ajp-bio-8009-Acceptor-0"/"http-bio-8080-Acceptor-0"
     Thread t = new Thread(acceptors[i], getName() + "-Acceptor-" + i);

"ajp-bio-8009-exec-1"/"http-bio-8080-exec-10"
     TaskThreadFactory tf = new TaskThreadFactory(getName() + "-exec-", daemon,   getThreadPriority());

ContainerBackgroundProcessor[StandardEngine[Catalina]]
      thread = new Thread(new ContainerBackgroundProcessor(), "ContainerBackgroundProcessor[" + toString() + "]");

"ajp-bio-8009-AsyncTimeout"/"http-bio-8080-AsyncTimeout"
    Thread timeoutThread = new Thread(new AsyncTimeout(), getName() + "-AsyncTimeout");

"Catalina-startStop-1”/"localhost-startStop-1”
     startStopExecutor = new ThreadPoolExecutor(getStartStopThreadsInternal(), getStartStopThreadsInternal(), 10, TimeUnit.SECONDS,�startStopQueue,new StartStopThreadFactory(getName() + "-startStop-"));
上一篇下一篇

猜你喜欢

热点阅读