Method: Rake::ThreadPool#statistics

Defined in:
lib/rake/thread_pool.rb

#statisticsObject

Return a hash of always collected statistics for the thread pool.



83
84
85
86
87
88
# File 'lib/rake/thread_pool.rb', line 83

def statistics              #  :nodoc:
  {
    total_threads_in_play: @total_threads_in_play,
    max_active_threads: @max_active_threads,
  }
end