class V1::Cache::ReadOnly

Overview

ReadOnly returns a read-only implementation of the given Cache. put and delete operations are a no-op

Defined in:

v1/cache/ro.cr

Constructors

Instance Method Summary

Instance methods inherited from class V1::Cache::Cacher

delete(h : V1::Hash) delete, get(h : V1::Hash) : V1::Layer get, put(l : V1::Layer) : V1::Layer put

Constructor Detail

def self.new(cache) #

[View source]

Instance Method Detail

def delete(h : V1::Hash) #

[View source]
def get(h : V1::Hash) #

[View source]
def put(l : V1::Layer) #

[View source]