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