Package | Description |
---|---|
org.infinispan.util.concurrent.jdk8backported |
Modifier and Type | Method and Description |
---|---|
static <K,V> BoundedConcurrentHashMapV8.EvictionListener<K,V> |
BoundedConcurrentHashMapV8.getNullEvictionListener() |
Constructor and Description |
---|
BoundedConcurrentHashMapV8(long maxSize,
BoundedConcurrentHashMapV8.Eviction evictionStrategy,
BoundedConcurrentHashMapV8.EvictionListener<? super K,? super V> evictionListener)
Creates a new, empty map with the default initial table size (16).
|
BoundedConcurrentHashMapV8(long maxSize,
int initialCapacity,
BoundedConcurrentHashMapV8.Eviction evictionStrategy,
BoundedConcurrentHashMapV8.EvictionListener<? super K,? super V> evictionListener)
Creates a new, empty map with an initial table size
accommodating the specified number of elements without the need
to dynamically resize.
|
BoundedConcurrentHashMapV8(long maxSize,
int initialCapacity,
float loadFactor,
int concurrencyLevel,
BoundedConcurrentHashMapV8.Eviction evictionStrategy,
BoundedConcurrentHashMapV8.EvictionListener<? super K,? super V> evictionListener)
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 © 2017 JBoss, a division of Red Hat. All Rights Reserved.