Class Moneta::Adapters::Redis
In: lib/moneta/adapters/redis.rb
Parent: Object

Redis backend @api public

Methods

clear   close   create   delete   increment   key?   load   new   store   update_expires  

Included Modules

Defaults ExpiresSupport

Attributes

backend  [R] 

Public Class methods

@param [Hash] options @option options [Integer] :expires Default expiration time @option options [::Redis] :backend Use existing backend instance @option options Other options passed to `Redis#new`

Public Instance methods

(see Proxy#key?)

This method considers false and 0 as "no-expire" and every positive number as a time to live in seconds.

Protected Instance methods

[Validate]