Interface ThreadPool

    • Method Detail

      • join

        void join()
           throws java.lang.InterruptedException
        Deprecated.
        Blocks until the thread pool is stopped.
        Throws:
        java.lang.InterruptedException - if thread was interrupted
      • getThreads

        @ManagedAttribute("number of threads in pool")
        int getThreads()
        Deprecated.
        Returns:
        The total number of threads currently in the pool
      • getIdleThreads

        @ManagedAttribute("number of idle threads in pool")
        int getIdleThreads()
        Deprecated.
        Returns:
        The number of idle threads in the pool
      • isLowOnThreads

        @ManagedAttribute("indicates the pool is low on available threads")
        boolean isLowOnThreads()
        Deprecated.
        Returns:
        True if the pool is low on threads