- Defined in:
Connections must be leased while holding the main pool mutex. This is an internal subclass that also
.leases returned connections while still in queue's critical section (queue synchronizes with the same
@lock as the main pool) so that a returned connection is already leased and there is no need to re-enter synchronized block.
Methods included from BiasableQueue
Methods inherited from Queue
#add, #any_waiting?, #clear, #delete, #initialize, #num_waiting, #poll
This class inherits a constructor from ActiveRecord::ConnectionAdapters::ConnectionPool::Queue