Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
crystalforce
v0.3.1
Crystalforce
Api
APIVersionError
Authentication
AuthenticationError
BatchSubrequests
Cache
Canvas
Client
Collection
CompositeSubrequests
Error
MemoryCache
NotFoundError
ServerError
StreamingClient
ToolingClient
UnauthorizedError
Generated using Crystal 1.16.3
2026-03-15 15:39:57 UTC
class
Crystalforce::
MemoryCache
Crystalforce::MemoryCache
Reference
Object
Overview
Simple in-memory cache implementation
Included Modules
Crystalforce::Cache
Defined in:
crystalforce/cache.cr
Constructors
.new
Instance Method Summary
#clear
#read
(key : String) : String | Nil
#size
#write
(key : String, value : String) : Nil
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
]