| InMemoryStorage | R Documentation |
Fast in-memory storage backend
dataStorage data
new()Create new in-memory storage
InMemoryStorage$new()
set()Store a value
InMemoryStorage$set(key, value)
keyStorage key
valueValue to store
get()Retrieve a value
InMemoryStorage$get(key)
keyStorage key
Stored value or NULL
delete()Delete a value
InMemoryStorage$delete(key)
keyStorage key
exists()Check if key exists
InMemoryStorage$exists(key)
keyStorage key
Logical
keys()List all keys
InMemoryStorage$keys()
Character vector of keys
clear()Clear all data
InMemoryStorage$clear()
count()Get count of stored items
InMemoryStorage$count()
Integer count
clone()The objects of this class are cloneable with this method.
InMemoryStorage$clone(deep = FALSE)
deepWhether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.