Results for “Std.App.Cache.Cache”
18 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.App.Cache.Cache
A cache: bounded, with a lifetime for answers and a shorter one for
- Std.App.Cache.absentLifetimeOf
&Std.App.Cache.Cache[K, V] -> IntHow long an absence is remembered.
- Std.App.Cache.capacity
&Std.App.Cache.Cache[K, V] -> IntHow many it may keep.
- Std.App.Cache.emptied
&Std.App.Cache.Cache[K, V] -> Std.App.Cache.Cache[K, V]The cache holding nothing, keeping what it was told about lifetimes.
- Std.App.Cache.forgetting
&Std.App.Cache.Cache[K, V] -> K -> Std.App.Cache.Cache[K, V]The cache with one thing forgotten, for when a program knows an answer
- Std.App.Cache.hitRate
&Std.App.Cache.Cache[K, V] -> IntHow often it answered, as a percentage, counting a stale answer as an
- Std.App.Cache.hitsOf
&Std.App.Cache.Cache[K, V] -> IntHow many lookups were answered without asking anything else.
- Std.App.Cache.holding
Int -> Int -> Std.App.Cache.Cache[K, V]A cache holding at most this many things, each for this long.
- Std.App.Cache.keeping
&Std.App.Cache.Cache[K, V] -> K -> V -> Int -> Std.App.Cache.Cache[K, V]The cache with an answer kept.
- Std.App.Cache.keepingAbsence
&Std.App.Cache.Cache[K, V] -> K -> Int -> Std.App.Cache.Cache[K, V]The cache remembering that there was no answer.
- Std.App.Cache.lifetimeOf
&Std.App.Cache.Cache[K, V] -> IntHow long an answer stays fresh.
- Std.App.Cache.lookup
&Std.App.Cache.Cache[K, V] -> K -> Int -> (Std.App.Cache.Found[V], Std.App.Cache.Cache[K, V])What a lookup found, and the cache that follows it.
- Std.App.Cache.missesOf
&Std.App.Cache.Cache[K, V] -> IntHow many found nothing at all.
- Std.App.Cache.peek
&Std.App.Cache.Cache[K, V] -> K -> Int -> Std.App.Cache.Found[V]What a lookup found, without counting it or moving anything.
- Std.App.Cache.rememberingAbsence
&Std.App.Cache.Cache[K, V] -> Int -> Std.App.Cache.Cache[K, V]The same, saying how long an absence is remembered.
- Std.App.Cache.render
&Std.App.Cache.Cache[K, V] -> StrWhat a cache has been doing.
- Std.App.Cache.size
&Std.App.Cache.Cache[K, V] -> IntHow many things are kept.
- Std.App.Cache.staleHitsOf
&Std.App.Cache.Cache[K, V] -> IntHow many were answered with something old.
