class Concurrent::BlockingRingBuffer
def count
-
(Integer)
- the number of elements currently in the buffer
def count @mutex.synchronize { @buffer.count } end
(Integer)
- the number of elements currently in the buffer
def count @mutex.synchronize { @buffer.count } end