| Package | Description |
|---|---|
| org.infinispan.commons.util.concurrent.jdk8backported |
| Modifier and Type | Method and Description |
|---|---|
static <K,V> BoundedEquivalentConcurrentHashMapV8.EvictionListener<K,V> |
BoundedEquivalentConcurrentHashMapV8.getNullEvictionListener() |
| Constructor and Description |
|---|
BoundedEquivalentConcurrentHashMapV8(long maxSize,
BoundedEquivalentConcurrentHashMapV8.Eviction evictionStrategy,
BoundedEquivalentConcurrentHashMapV8.EvictionListener<? super K,? super V> evictionListener,
Equivalence<? super K> keyEquivalence,
Equivalence<? super V> valueEquivalence)
Creates a new, empty map with the default initial table size (16).
|
BoundedEquivalentConcurrentHashMapV8(long maxSize,
BoundedEquivalentConcurrentHashMapV8.Eviction evictionStrategy,
BoundedEquivalentConcurrentHashMapV8.EvictionListener<? super K,? super V> evictionListener,
Equivalence<? super K> keyEquivalence,
Equivalence<? super V> valueEquivalence,
EntrySizeCalculator<? super K,? super V> sizeCalculator)
Creates a new, empty map with the default initial table size (16).
|
BoundedEquivalentConcurrentHashMapV8(long maxSize,
int initialCapacity,
BoundedEquivalentConcurrentHashMapV8.Eviction evictionStrategy,
BoundedEquivalentConcurrentHashMapV8.EvictionListener<? super K,? super V> evictionListener,
Equivalence<? super K> keyEquivalence,
Equivalence<? super V> valueEquivalence)
Creates a new, empty map with an initial table size
accommodating the specified number of elements without the need
to dynamically resize.
|
BoundedEquivalentConcurrentHashMapV8(long maxSize,
int initialCapacity,
float loadFactor,
int concurrencyLevel,
BoundedEquivalentConcurrentHashMapV8.Eviction evictionStrategy,
BoundedEquivalentConcurrentHashMapV8.EvictionListener<? super K,? super V> evictionListener,
Equivalence<? super K> keyEquivalence,
Equivalence<? super V> valueEquivalence)
Creates a new, empty map with an initial table size based on
the given number of elements (
initialCapacity), table
density (loadFactor), and number of concurrently
updating threads (concurrencyLevel). |
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.