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.
|
void |
ConcurrentLinkedHashMap.evictWith(CapacityLimiter capacityLimiter)
Evicts entries from the map while it exceeds the capacity limiter's
constraint or until the map is empty.
|
Copyright © 2019. All rights reserved.