Class: AdvancedConnection::ActiveRecordExt::ConnectionPool::Queues::OldAgeBiased

Inherits:
AgeSorted
  • Object
show all
Defined in:
lib/advanced_connection/active_record_ext/connection_pool/queues.rb

Instance Method Summary collapse

Methods inherited from AgeSorted

#poll

Methods inherited from Default

#size

Instance Method Details

#removeObject



54
55
56
# File 'lib/advanced_connection/active_record_ext/connection_pool/queues.rb', line 54

def remove
  @queue.shift
end