Skip to main content
CrystalDocs
Search documentation
Search
Browse Docs
CrystalShards
About
class
Shards::Audit::Cache
Inherits
Reference
<
Object
Constants
MAX_CACHE_VALUE_SIZE = (10 * 1024) * 1024
Constructors
new
(base_dir :
String
, ttl_seconds :
Int32
= 86400)
Source
Instance methods
clear
Source
get
(key :
String
) :
String
|
Nil
Source
set
(key :
String
, value :
String
) :
Nil
Source