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

jdantonio / concurrent-ruby / #694

20 May 2014 10:46AM UTC coverage: 92.28% (-5.1%) from 97.353%
#694

push

jdantonio
Merge pull request #87 from jdantonio/removed-actor-context-spike

Removed ActorContext spike.

2 of 2 new or added lines in 1 file covered. (100.0%)

128 existing lines in 11 files now uncovered.

2283 of 2474 relevant lines covered (92.28%)

625.72 hits per line

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

66.67
/lib/concurrent/executor/fixed_thread_pool.rb
1
require 'concurrent/executor/ruby_fixed_thread_pool'
1✔
2

3
module Concurrent
1✔
4

5
  if RUBY_PLATFORM == 'java'
1✔
UNCOV
6
    require 'concurrent/executor/java_fixed_thread_pool'
×
7
    # @!macro [attach] fixed_thread_pool
8
    #
9
    #   A thread pool with a set number of threads. The number of threads in the pool
10
    #   is set on construction and remains constant. When all threads are busy new
11
    #   tasks `#post` to the thread pool are enqueued until a thread becomes available.
12
    #   Should a thread crash for any reason the thread will immediately be removed
13
    #   from the pool and replaced.
14
    #
15
    #   The API and behavior of this class are based on Java's `FixedThreadPool`
16
    #
17
    #   @note When running on the JVM (JRuby) this class will inherit from `JavaFixedThreadPool`.
18
    #     On all other platforms it will inherit from `RubyFixedThreadPool`.
19
    #
20
    #   @see Concurrent::RubyFixedThreadPool
21
    #   @see Concurrent::JavaFixedThreadPool
22
    #
23
    #   @see http://docs.oracle.com/javase/tutorial/essential/concurrency/pools.html
24
    #   @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/Executors.html
25
    #   @see http://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ExecutorService.html
UNCOV
26
    class FixedThreadPool < JavaFixedThreadPool
×
27
    end
28
  else
29
    # @!macro fixed_thread_pool
30
    class FixedThreadPool < RubyFixedThreadPool
1✔
31
    end
32
  end
33
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