Class Cachetastic::Connection
In: lib/cachetastic_connection.rb
Parent: Object

This class caches adapter objects for each cache in the system.

Methods

get   new  

Included Modules

Singleton

Attributes

connections  [RW] 

Public Class methods

Public Instance methods

Takes the name of the cache, that‘s been methodized, and returns back the adapter object associated with the cache. If the adapter object doesn‘t exist or if the adapter is no longer valid (adapter.valid?) a new one is created and returned.

[Validate]