Search
Diode Client
v1.0.0
Pages
Modules
Settings
View Source
DiodeClient.ETSLru
(Diode Client v1.0.0)
Provides Least-Recently-Used Queue with a fixed maximum size
Link to this section
Summary
Functions
delete(lru, key)
destroy(name)
fetch(lru, key, fun)
fetch_nolock(lru, key, fun)
filter(lru)
flush(lru)
get(lru, key, default \\ nil)
max_size(lru)
new(name, max_size, filter \\ fn _ -> true end)
put(lru, key, value)
size(lru)
to_list(lru)
update(lru, key, fun)
Link to this section
Functions
Link to this function
delete(lru, key)
View Source
Link to this function
destroy(name)
View Source
Link to this function
fetch(lru, key, fun)
View Source
Link to this function
fetch_nolock(lru, key, fun)
View Source
Link to this function
filter(lru)
View Source
Link to this function
flush(lru)
View Source
Link to this function
get(lru, key, default \\ nil)
View Source
Link to this function
max_size(lru)
View Source
Link to this function
new(name, max_size, filter \\ fn _ -> true end)
View Source
Link to this function
put(lru, key, value)
View Source
Link to this function
size(lru)
View Source
Link to this function
to_list(lru)
View Source
Link to this function
update(lru, key, fun)
View Source