class AdvancedConnection::ActiveRecordExt::ConnectionPool::Queues::OldAgeBiased

Public Instance Methods

remove() click to toggle source
# File lib/advanced_connection/active_record_ext/connection_pool/queues.rb, line 57
def remove
  # Think of this like a stack, sorted youngest to oldest, bottom to top. To to
  # aquire the oldest entry, we pop it off the top (i.e., the last element)
  @queue.pop
end