/ttlcache

An experiment to create a cache with TTL using JVM's GC

Primary LanguageScala

A quick try to implement a cache that supports TTL on its elements and frees up the memory by releasing strong references to cache elements.

The simple app shows that JVM doesn't run out of memory!