Diode Client v1.0.1
  • Pages
  • Modules

    View Source DiodeClient.ETSLru (Diode Client v1.0.1)

    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

    On Hex.pm: Package Preview (current file)

    Built using ExDoc (v0.28.1) for the Elixir programming language