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) |
get, getAttribute, getObject, put, put, putAttribute, putObject, remove, setCacheStore
Copyright © 2012–2015 OmniFaces. All rights reserved.