class Squirm::Caches::Redis

Defined in:

squirm/caches/redis.cr

Constant Summary

Log = ::Log.for(self)

Constructors

Instance Method Summary

Instance methods inherited from class Squirm::Caches::Base

delete!(url : String) delete!, flush flush, id : String id, id=(id : String) id=, list! : Array(String) list!, list_requests!(base_url) : Array(Request) list_requests!, save!(urls : Array(String)) save!

Constructor methods inherited from class Squirm::Caches::Base

new(id : String) new

Constructor Detail

def self.new(id : String) #

[View source]

Instance Method Detail

def client : Synchronized(::Redis) #

[View source]
def client=(client : Synchronized(::Redis)) #

[View source]
def delete!(url : String) #

[View source]
def flush #

[View source]
def id : String #

[View source]
def id=(id : String) #

[View source]
def list! : Array(String) #

[View source]
def list_requests!(base_url) : Array(Request) #

[View source]
def save!(urls : Array(String)) #

[View source]