instance method
size
Ruby on Rails 8.1.2
Since v8.1.2Signature
size()
Number of elements in the queue.
Source
# File activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb, line 66
def size
synchronize do
@queue.size
end
end
Defined in activerecord/lib/active_record/connection_adapters/abstract/connection_pool/queue.rb line 66
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::ConnectionAdapters::ConnectionPool::Queue