Class MonitoredQueuedThreadPool

    • Constructor Detail

      • MonitoredQueuedThreadPool

        public MonitoredQueuedThreadPool()
        Deprecated.
      • MonitoredQueuedThreadPool

        public MonitoredQueuedThreadPool​(int maxThreads)
        Deprecated.
      • MonitoredQueuedThreadPool

        public MonitoredQueuedThreadPool​(int maxThreads,
                                         int minThreads,
                                         int idleTimeOut,
                                         BlockingQueue<Runnable> queue)
        Deprecated.
    • Method Detail

      • getTasks

        @ManagedAttribute("the number of tasks executed")
        public long getTasks()
        Deprecated.
        Returns:
        the number of tasks executed
      • getMaxBusyThreads

        @ManagedAttribute("the maximum number of busy threads")
        public int getMaxBusyThreads()
        Deprecated.
        Returns:
        the maximum number of busy threads
      • getMaxQueueSize

        @ManagedAttribute("the maximum task queue size")
        public int getMaxQueueSize()
        Deprecated.
        Returns:
        the maximum task queue size
      • getAverageQueueLatency

        @ManagedAttribute("the average time a task remains in the queue, in nanoseconds")
        public long getAverageQueueLatency()
        Deprecated.
        Returns:
        the average time a task remains in the queue, in nanoseconds
      • getMaxQueueLatency

        @ManagedAttribute("the maximum time a task remains in the queue, in nanoseconds")
        public long getMaxQueueLatency()
        Deprecated.
        Returns:
        the maximum time a task remains in the queue, in nanoseconds
      • getAverageTaskLatency

        @ManagedAttribute("the average task execution time, in nanoseconds")
        public long getAverageTaskLatency()
        Deprecated.
        Returns:
        the average task execution time, in nanoseconds
      • getMaxTaskLatency

        @ManagedAttribute("the maximum task execution time, in nanoseconds")
        public long getMaxTaskLatency()
        Deprecated.
        Returns:
        the maximum task execution time, in nanoseconds