class Crystalforce::MemoryCache

Overview

Simple in-memory cache implementation

Included Modules

Defined in:

crystalforce/cache.cr

Constructors

Instance Method Summary

Instance methods inherited from module Crystalforce::Cache

read(key : String) : String | Nil read, write(key : String, value : String) : Nil write

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def clear #

[View source]
def read(key : String) : String | Nil #

[View source]
def size #

[View source]
def write(key : String, value : String) : Nil #

[View source]