Interface ThreadPoolBulkhead.Metrics

Enclosing interface:
ThreadPoolBulkhead

public static interface ThreadPoolBulkhead.Metrics
  • Method Details

    • getCoreThreadPoolSize

      int getCoreThreadPoolSize()
      Returns the core number of threads.
      Returns:
      the core number of threads
    • getThreadPoolSize

      int getThreadPoolSize()
      Returns the current number of threads in the pool.
      Returns:
      the current number of threads
    • getMaximumThreadPoolSize

      int getMaximumThreadPoolSize()
      Returns the maximum allowed number of threads.
      Returns:
      the maximum allowed number of threads
    • getQueueDepth

      int getQueueDepth()
      Returns the number of tasks in the queue.
      Returns:
      the number of tasks in the queue
    • getRemainingQueueCapacity

      int getRemainingQueueCapacity()
      Returns the remaining queue capacity.
      Returns:
      the remaining queue capacity
    • getQueueCapacity

      int getQueueCapacity()
      Returns the queue capacity.
      Returns:
      the queue capacity