Package | Description |
---|---|
org.hibernate.internal.util.collections |
Modifier and Type | Method and Description |
---|---|
BoundedConcurrentHashMap.Eviction |
BoundedConcurrentHashMap.EvictionPolicy.strategy()
Returns type of eviction algorithm (strategy).
|
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)
Creates a new, empty map with the specified maximum capacity, load factor, concurrency
level and eviction strategy.
|
BoundedConcurrentHashMap(int capacity,
int concurrencyLevel,
BoundedConcurrentHashMap.Eviction evictionStrategy,
BoundedConcurrentHashMap.EvictionListener<K,V> evictionListener)
Creates a new, empty map with the specified maximum capacity, load factor and concurrency
level.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.