Package | Description |
---|---|
org.infinispan.commons.util.concurrent.jdk8backported | |
org.infinispan.container |
Data containers which store cache entries.
|
org.infinispan.container.entries |
Entries which are stored in data containers.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEntrySizeCalculatorHelper<K,V>
Abstract class that provides a method to round up to the nearest value of 8 which is important for most jvm when
doing size calculations.
|
static class |
BoundedEquivalentConcurrentHashMapV8.NodeSizeCalculatorWrapper<K,V> |
Constructor and Description |
---|
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).
|
NodeSizeCalculatorWrapper(EntrySizeCalculator<? super K,? super V> calculator) |
Modifier and Type | Method and Description |
---|---|
static <K,V> DefaultDataContainer<K,V> |
DefaultDataContainer.boundedDataContainer(int concurrencyLevel,
long maxEntries,
EvictionStrategy strategy,
EvictionThreadPolicy thredPolicy,
Equivalence<? super K> keyEquivalence,
EntrySizeCalculator<? super K,? super V> sizeCalculator) |
Constructor and Description |
---|
DefaultDataContainer(int concurrencyLevel,
long thresholdSize,
EvictionStrategy strategy,
EvictionThreadPolicy policy,
Equivalence<? super K> keyEquivalence,
EntrySizeCalculator<? super K,? super V> sizeCalculator) |
Modifier and Type | Class and Description |
---|---|
class |
CacheEntrySizeCalculator<K,V>
Implementation of a size calculator that calcultes only the size of the value assuming it is an InternalCacheEntry.
|
class |
MarshalledValueEntrySizeCalculator
Entry Size calculator that returns an approximation of how much memory a marshalled value contains for a key
and value.
|
class |
PrimitiveEntrySizeCalculator
Entry Size calculator that returns an approximation of how much various primitives, primitive wrappers, Strings,
and arrays
|
Constructor and Description |
---|
CacheEntrySizeCalculator(EntrySizeCalculator<? super K,? super V> calculator) |
Copyright © 2024 JBoss, a division of Red Hat. All rights reserved.