class

Matter::Storage::MemoryBackend

Inherits Matter::Storage::Base < Reference < Object

Instance methods

clear
Source
clear_all(contexts : Array(String)) : Nil
Source
contexts(contexts : Array(String)) : Array(String)

Get list of immediate subcontext names

Source
delete(contexts : Array(String), key : String) : Nil
Source
get(contexts : Array(String), key : String) : Type
Source
initialized?
Source
keys(contexts : Array(String)) : Array(String)
Source
set(contexts : Array(String), key : String, value : Type) : Nil
Source
set(contexts : Array(String), values : Hash(String, Type)) : Nil

Set multiple key-value pairs at once

Source
start
Source
stop
Source
store
Source
values(contexts : Array(String)) : Hash(String, Type)

Get all key-value pairs in a context

Source