Class: Kameleoon::Storage::CacheFactoryImpl

Inherits:
CacheFactory show all
Defined in:
lib/kameleoon/storage/cache_factory.rb

Overview

Implementation of CacheFactory with auto cleaning feature

Instance Method Summary collapse

Instance Method Details

#create(expiration_time, cleaning_interval) ⇒ Object



18
19
20
# File 'lib/kameleoon/storage/cache_factory.rb', line 18

def create(expiration_time, cleaning_interval)
  CacheImpl.new(expiration_time, cleaning_interval)
end