• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jdantonio / concurrent-ruby / #717

06 Apr 2014 10:19PM UTC coverage: 92.79% (-4.5%) from 97.309%
#717

push

chrisseaton
Update README.md

1583 of 1706 relevant lines covered (92.79%)

734.45 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

66.67
/lib/concurrent/thread_pool_executor.rb
1
require 'concurrent/ruby_thread_pool_executor'
1✔
2

3
module Concurrent
1✔
4

5
  if RUBY_PLATFORM == 'java'
1✔
6
    require 'concurrent/java_thread_pool_executor'
×
7
    # @!macro [attach] thread_pool_executor
8
    #
9
    #   A thread pool...
10
    #
11
    #   The API and behavior of this class are based on Java's +ThreadPoolExecutor+
12
    #
13
    #   @note When running on the JVM (JRuby) this class will inherit from +JavaThreadPoolExecutor+.
14
    #     On all other platforms it will inherit from +RubyThreadPoolExecutor+.
15
    #
16
    #   @see Concurrent::RubyThreadPoolExecutor
17
    #   @see Concurrent::JavaThreadPoolExecutor
18
    #
19
    #   @see http://docs.oracle.com/javase/tutorial/essential/concurrency/pools.html
20
    #   @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Executors.html
21
    #   @see http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html
22
    #   @see http://stackoverflow.com/questions/17957382/fixedthreadpool-vs-fixedthreadpool-the-lesser-of-two-evils
23
    class ThreadPoolExecutor < JavaThreadPoolExecutor
×
24
    end
25
  else
26
    # @!macro thread_pool_executor
27
    class ThreadPoolExecutor < RubyThreadPoolExecutor
1✔
28
    end
29
  end
30
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc