An experiment to create a cache with TTL using JVM's GC
Scala
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
README
ttlcache.scala

README

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!