class AdvancedConnection::ActiveRecordExt::ConnectionPool::Queues::YoungAgeBiased
Public Instance Methods
remove()
click to toggle source
# File lib/advanced_connection/active_record_ext/connection_pool/queues.rb, line 49 def remove # Think of this like a stack, sorted youngest to oldest, bottom to top. To to # aquire the youngest entry, we shift it off the bottom (i.e., the first element) @queue.shift end