Package | Description |
---|---|
org.infinispan.commons.util.concurrent.jdk8backported |
Modifier and Type | Method and Description |
---|---|
static BoundedEquivalentConcurrentHashMapV8.Eviction |
BoundedEquivalentConcurrentHashMapV8.Eviction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoundedEquivalentConcurrentHashMapV8.Eviction[] |
BoundedEquivalentConcurrentHashMapV8.Eviction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
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.