Uploaded image for project: 'Application Server 7'
  1. Application Server 7
  2. AS7-435 Eliminate usage of Executors.defaultThreadFactory()
  3. AS7-555

Extensive use of default thread factories in jboss-as-host-controller

XMLWordPrintable

    • Icon: Sub-task Sub-task
    • Resolution: Done
    • Icon: Major Major
    • 7.0.0.Beta3
    • None
    • None
    • None

              jboss-as-host-controller  (7 usages)
                  org.jboss.as.host.controller  (5 usages)
                      HostControllerBootstrap.HostControllerExecutorService  (1 usage)
                          start(StartContext)  (1 usage)
                              (363: 41) executorService = Executors.newScheduledThreadPool(DEFAULT_POOL_SIZE, threadFactoryValue.getValue());
                      ProcessControllerConnectionService  (2 usages)
                          start(StartContext)  (2 usages)
                              (68: 53) configuration.setReadExecutor(Executors.newCachedThreadPool());
                              (70: 54) configuration.setThreadFactory(Executors.defaultThreadFactory());
                      RemoteDomainConnectionService  (2 usages)
                          register(String, InetAddress, int, DomainControllerSlave)  (2 usages)
                              (112: 42) config.setReadExecutor(Executors.newCachedThreadPool()); //TODO inject
                              (115: 43) config.setThreadFactory(Executors.defaultThreadFactory()); //TODO inject
                  org.jboss.as.host.controller.mgmt  (2 usages)
                      RemoteDomainControllerSlaveClient  (2 usages)
                          (49: 59) private final ThreadFactory threadFactory = Executors.defaultThreadFactory();
                          (50: 63) private final ExecutorService executorService = Executors.newCachedThreadPool(threadFactory);
      

              johnbailey_jira John Bailey (Inactive)
              dlloyd@redhat.com David Lloyd
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: