Object
@!macro count_down_latch @!visibility private @!macro internal_implementation_note
@!macro count_down_latch_method_initialize
# File lib/concurrent/atomic/java_count_down_latch.rb, line 11 def initialize(count = 1) unless count.is_a?(Fixnum) && count >= 0 raise ArgumentError.new('count must be in integer greater than or equal zero') end @latch = java.util.concurrent.CountDownLatch.new(count) end
@!macro count_down_latch_method_count
# File lib/concurrent/atomic/java_count_down_latch.rb, line 34 def count @latch.getCount end
Generated with the Darkfish Rdoc Generator 2.