Package | Description |
---|---|
org.infinispan.util.concurrent |
Thread-safe containers and other concurrency-related utilities, designed to supplement JDK concurrency utilities
and containers.
|
Modifier and Type | Method and Description |
---|---|
static BoundedConcurrentHashMap.Eviction |
BoundedConcurrentHashMap.Eviction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static BoundedConcurrentHashMap.Eviction[] |
BoundedConcurrentHashMap.Eviction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
BoundedConcurrentHashMap(int capacity,
int concurrencyLevel,
BoundedConcurrentHashMap.Eviction evictionStrategy,
BoundedConcurrentHashMap.EvictionListener<? super K,? super V> evictionListener,
Equivalence<? super K> keyEquivalence,
Equivalence<? super V> valueEquivalence)
Creates a new, empty map with the specified maximum capacity, load factor and concurrency
level.
|
BoundedConcurrentHashMap(int capacity,
int concurrencyLevel,
BoundedConcurrentHashMap.Eviction evictionStrategy,
Equivalence<? super K> keyEquivalence,
Equivalence<? super V> valueEquivalence)
Creates a new, empty map with the specified maximum capacity, load factor, concurrency
level and eviction strategy.
|
Copyright © 2020 JBoss, a division of Red Hat. All rights reserved.