- <init>
Creates a cache based on given configuration parameters. The cache's initial
capacity is set to the
- get
Gets a value from the cache. If the cache contains the key but the value is
stale the entry is remo
- put
Puts an entry to the cache. An entry can be successfully added to the cache if
any of the following
- remainingCapacity
Gets the number of entries that can be added to this cache without the need for
removing stale entri
- addEvictionListener
Registers a listener to be notified about (stale) entries being evicted from the
cache.
- add
- clear
Removes all entries from the cache.
- find
Finds a value based on a predicate.
- getEldest
Gets the eldest value in the store. The eldest value is the one that has been
used least recently.
- initLinkedList
- remove
Removes an entry from the cache.
- values
Gets all connections contained in this cache. The iterator returned is directly
backed by this cache