Class ActiveRecord::ConnectionAdapters::SeamlessDatabasePoolAdapter::AvailableConnections
In: lib/active_record/connection_adapters/seamless_database_pool_adapter.rb
Parent: Object

This simple class puts an expire time on an array of connections. It is used so the a connection to a down database won‘t try to reconnect over and over.

Methods

expired?   new   reconnect!  

Attributes

connections  [R] 
expires  [W] 
failed_connection  [R] 

Public Class methods

Public Instance methods

[Validate]