Package org.omnifaces.util.concurrentlinkedhashmap
This package contains an implementation of a bounded
ConcurrentMap
data structure.
EvictionListener
provides the
ability to be notified when an entry is evicted from the map. An eviction
occurs when the entry was automatically removed due to the map exceeding a
capacity threshold. It is not called when an entry was explicitly removed.
The ConcurrentLinkedHashMap
class supplies an efficient, scalable, thread-safe, bounded map. As with the
Java Collections Framework
the "Concurrent" prefix is used to
indicate that the map is not governed by a single exclusion lock.
-
Interface Summary Interface Description EvictionListener<K,V> A listener registered for notification when an entry is evicted. -
Class Summary Class Description ConcurrentLinkedHashMap<K,V> A hash table supporting full concurrency of retrievals, adjustable expected concurrency for updates, and a maximum capacity to bound the map by.ConcurrentLinkedHashMap.Builder<K,V> A builder that createsConcurrentLinkedHashMap
instances.