class
Matter::Storage::MemoryBackend
- Matter::Storage::MemoryBackend
- Matter::Storage::Base
- Reference
- Object
Defined in:
matter/storage/memory_backend.crInstance Method Summary
- #clear
- #clear_all(contexts : Array(String)) : Void
-
#contexts(contexts : Array(String)) : Array(String)
Get list of immediate subcontext names
- #delete(contexts : Array(String), key : String) : Void
- #get(contexts : Array(String), key : String) : Type
- #initialized? : Bool
- #keys(contexts : Array(String)) : Array(String)
- #set(contexts : Array(String), key : String, value : Type) : Void
-
#set(contexts : Array(String), values : Hash(String, Type)) : Void
Set multiple key-value pairs at once
- #start : Void
- #stop : Void
- #store : Hash(String, Type)
-
#values(contexts : Array(String)) : Hash(String, Type)
Get all key-value pairs in a context
Instance methods inherited from class Matter::Storage::Base
clear_all(contexts : Array(String)) : Void
clear_all,
delete(contexts : Array(String), key : String) : Void
delete,
get(contexts : Array(String), key : String) : Type
get,
initialized? : Bool
initialized?,
keys(contexts : Array(String)) : Array(String)
keys,
set(contexts : Array(String), key : String, value : Type) : Void
set,
start : Void
start,
stop : Void
stop
Instance Method Detail
Set multiple key-value pairs at once
Get all key-value pairs in a context