class Faulty::Cache::Null
A cache backend that does nothing
All methods are stubs and do no caching
Public Instance Methods
fault_tolerant?()
click to toggle source
@return [true]
# File lib/faulty/cache/null.rb, line 18 def fault_tolerant? true end
read(_key)
click to toggle source
@return [nil]
# File lib/faulty/cache/null.rb, line 10 def read(_key) end
write(_key, _value, expires_in: nil)
click to toggle source
@return [void]
# File lib/faulty/cache/null.rb, line 14 def write(_key, _value, expires_in: nil) end