Modifier and Type | Method and Description |
---|---|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.capacityLimiter(CapacityLimiter capacityLimiter)
Specifies an algorithm to determine if the maximum capacity has been
exceeded and that an entry should be evicted from the map.
|
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(int maximumWeightedCapacity)
Specifies the maximum weighted capacity to coerces the map to and may
exceed it temporarily.
|
ConcurrentLinkedHashMap.Builder<K,V> |
ConcurrentLinkedHashMap.Builder.weigher(Weigher<? super V> weigher)
Specifies an algorithm to determine how many the units of capacity a
value consumes.
|
Copyright © 2019. All rights reserved.