public class DefaultCache extends TimeToLiveCache
For the actual implementation, a repackaged ConcurrentLinkedHashMap
is used if a maximum capacity is requested,
otherwise a plain ConcurrentHashMap
is used.
Constructor and Description |
---|
DefaultCache(Integer defaultTimeToLive,
Integer maxCapacity) |