Class UnboundedQueueThreadPoolService

    • Constructor Detail

      • UnboundedQueueThreadPoolService

        public UnboundedQueueThreadPoolService​(boolean allowCoreThreadTimeout,
                                               int maxThreads,
                                               TimeSpec keepAlive)
    • Method Detail

      • start

        public void start​(org.jboss.msc.service.StartContext context)
                   throws org.jboss.msc.service.StartException
        Specified by:
        start in interface org.jboss.msc.Service
        Throws:
        org.jboss.msc.service.StartException
      • stop

        public void stop​(org.jboss.msc.service.StopContext context)
        Specified by:
        stop in interface org.jboss.msc.Service
      • getThreadFactoryInjector

        public org.jboss.msc.inject.Injector<ThreadFactory> getThreadFactoryInjector()
      • setMaxThreads

        public void setMaxThreads​(int maxThreads)
      • setKeepAlive

        public void setKeepAlive​(TimeSpec keepAlive)
      • getActiveCount

        public int getActiveCount()
      • getCompletedTaskCount

        public long getCompletedTaskCount()
      • getCurrentThreadCount

        public int getCurrentThreadCount()
      • getLargestPoolSize

        public int getLargestPoolSize()
      • getLargestThreadCount

        public int getLargestThreadCount()
      • getRejectedCount

        public int getRejectedCount()
      • getTaskCount

        public long getTaskCount()
      • getQueueSize

        public int getQueueSize()