dummy-link

TimeToLive

Time to live (TTL) cache for Julia

Readme

TimeToLive

Build Status

A TTL cache.

julia> using Dates, TimeToLive

julia> ttl = TTL{Int, String}(Second(1))
TTL(1 second){Int64,String}()

julia> ttl[0] = "foo"
"foo"

julia> ttl[0]
"foo"

julia> sleep(2)

julia> get(ttl, 0, "bar")
"bar"

First Commit

10/10/2018

Last Touched

2 months ago

Commits

15 commits