Class: AnyCache::Adapters::ActiveSupportMemoryStore Private

Inherits:
ActiveSupportNaiveStore show all
Defined in:
lib/any_cache/adapters/active_support_memory_store.rb,
lib/any_cache/adapters/active_support_memory_store/fetching.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Since:

  • 0.1.0

Defined Under Namespace

Modules: Fetching Classes: Decrement, Expire, Increment, Operation, Persist

Instance Attribute Summary

Attributes inherited from Basic

#driver

Class Method Summary collapse

Methods inherited from ActiveSupportNaiveStore

#cleanup, #clear, #decrement, #delete, #delete_matched, #exist?, #expire, #fetch, #fetch_multi, #increment, #initialize, #persist, #read, #read_multi, #write, #write_multi

Methods inherited from Basic

#cleanup, #clear, #decrement, #delete, #delete_matched, #exist?, #expire, #fetch, #fetch_multi, #increment, #initialize, #persist, #read, #read_multi, #write, #write_multi

Methods included from Dumper::InterfaceAccessMixin

#detransform_pairset, #detransform_value, #transform_pairset, #transform_value

Constructor Details

This class inherits a constructor from AnyCache::Adapters::ActiveSupportNaiveStore

Class Method Details

.supported_driver?(driver) ⇒ Boolean

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Parameters:

  • driver (Object)

Returns:

  • (Boolean)

Since:

  • 0.1.0



20
21
22
# File 'lib/any_cache/adapters/active_support_memory_store.rb', line 20

def supported_driver?(driver)
  AnyCache::Drivers::ActiveSupportMemoryStore.supported_source?(driver)
end