Results for “Std.App.IsrCache.IsrCache”
8 matching declarations
Use module:Std.List, kind:fn, or is:exact. Put a Pudu type after ::.
- Std.App.IsrCache.IsrCache
A thread-safe, zero-copy Incremental Static Regeneration cache.
- Std.App.IsrCache.create
Int -> Std.App.IsrCache.IsrCacheCreates a new thread-safe ISR cache with bounded capacity.
- Std.App.IsrCache.get
&Std.App.IsrCache.IsrCache -> Str -> Int -> Std.App.IsrCache.CacheLookupLooks up an entry by key, returning Fresh, Stale, or Miss.
- Std.App.IsrCache.purgeKey
&Std.App.IsrCache.IsrCache -> Str -> BoolEvicts an entry by key.
- Std.App.IsrCache.purgeTag
&Std.App.IsrCache.IsrCache -> Str -> IntEvicts all entries bearing the specified tag immediately from cache.
- Std.App.IsrCache.put
&Std.App.IsrCache.IsrCache -> Str -> &Bytes -> Str -> &Array[Str] -> Int -> Int -> Int -> ()Stores or replaces an entry with lifetime and stale-while-revalidate duration.
- Std.App.IsrCache.revalidateTag
&Std.App.IsrCache.IsrCache -> Str -> Int -> IntMarks all entries with the matching tag as stale (expired).
- Std.App.IsrCache.stats
&Std.App.IsrCache.IsrCache -> (Int, Int, Int, Int)Returns (currentEntries, freshHits, staleHits, misses).
