Class: SolidCache::Store
- Inherits:
-
ActiveSupport::Cache::Store
- Object
- ActiveSupport::Cache::Store
- SolidCache::Store
- Includes:
- ActiveSupport::Cache::Strategy::LocalCache, Api, Connections, Entries, Execution, Expiry, Failsafe, Stats
- Defined in:
- lib/solid_cache/store.rb,
lib/solid_cache/store/api.rb,
lib/solid_cache/store/stats.rb,
lib/solid_cache/store/expiry.rb,
lib/solid_cache/store/entries.rb,
lib/solid_cache/store/failsafe.rb,
lib/solid_cache/store/execution.rb,
lib/solid_cache/store/connections.rb
Defined Under Namespace
Modules: Api, Connections, Entries, Execution, Expiry, Failsafe, Stats
Constant Summary
Constants included from Api
Api::DEFAULT_MAX_KEY_BYTESIZE, Api::SQL_WILDCARD_CHARS
Constants included from Expiry
Constants included from Failsafe
Failsafe::DEFAULT_ERROR_HANDLER, Failsafe::TRANSIENT_ACTIVE_RECORD_ERRORS
Instance Attribute Summary
Attributes included from Api
Attributes included from Connections
Attributes included from Entries
Attributes included from Expiry
#expires_per_write, #expiry_batch_size, #expiry_method, #expiry_queue, #max_age, #max_entries, #max_size
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Store
constructor
A new instance of Store.
- #setup! ⇒ Object
Methods included from Api
#cleanup, #clear, #decrement, #increment
Methods included from Connections
#connection_names, #connections, #group_by_connection, #with_connection, #with_connection_for, #with_each_connection
Methods included from Expiry
Methods included from Stats
Constructor Details
#initialize(options = {}) ⇒ Store
Returns a new instance of Store.
8 9 10 |
# File 'lib/solid_cache/store.rb', line 8 def initialize( = {}) super(SolidCache.configuration..merge()) end |
Class Method Details
.supports_cache_versioning? ⇒ Boolean
12 13 14 |
# File 'lib/solid_cache/store.rb', line 12 def self.supports_cache_versioning? true end |
Instance Method Details
#setup! ⇒ Object
16 17 18 |
# File 'lib/solid_cache/store.rb', line 16 def setup! super end |