Creates an LRU cache with TTL (time-to-live) support.
Maximum number of entries before eviction
Time-to-live in milliseconds
Creates an LRU cache with TTL (time-to-live) support.