Package | Description |
---|---|
org.omnifaces.util.concurrentlinkedhashmap |
This package contains an implementation of a bounded
ConcurrentMap data structure. |
Modifier and Type | Method and Description |
---|---|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.concurrencyLevel(int concurrencyLevel)
Specifies the estimated number of concurrently updating threads.
|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.initialCapacity(int initialCapacity)
Specifies the initial capacity of the hash table (default 16).
|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.listener(EvictionListener<K,V> listener)
Specifies an optional listener that is registered for notification when
an entry is evicted.
|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.maximumWeightedCapacity(long capacity)
Specifies the maximum weighted capacity to coerce the map to and may
exceed it temporarily.
|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.weigher(EntryWeigher<? super K,? super V> weigher)
Specifies an algorithm to determine how many the units of capacity a
value consumes.
|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.weigher(Weigher<? super V> weigher)
Specifies an algorithm to determine how many the units of capacity an
entry consumes.
|
Copyright © 2012–2018 OmniFaces. All rights reserved.