tech.v3.libs.guava.cache

Use a google guava cache to memoize function results. Function must not return nil values. Exceptions propagate to caller.

memo-stats

(memo-stats filecache)

Get cache stats from a memoized object.

memoize

(memoize f & {:keys [write-ttl-ms access-ttl-ms soft-values? weak-values? max-size record-stats?]})

Create a threadsafe, efficient memoized function using a guavacache backing store.