Package | Description |
---|---|
org.infinispan.commons.util |
Commons package providing various utility classes
|
org.infinispan.container.entries |
Entries which are stored in data containers.
|
org.infinispan.container.impl |
Data containers which store cache entries.
|
org.infinispan.marshall.core |
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.
|
Modifier and Type | Class and Description |
---|---|
class |
CacheEntrySizeCalculator<K,V>
Implementation of a size calculator that calculates only the size of the value assuming it is an InternalCacheEntry.
|
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) |
Modifier and Type | Method and Description |
---|---|
static <K,V> DefaultDataContainer<K,V> |
DefaultDataContainer.boundedDataContainer(int concurrencyLevel,
long maxEntries,
EntrySizeCalculator<? super K,? super V> sizeCalculator) |
Constructor and Description |
---|
BoundedSegmentedDataContainer(int numSegments,
long thresholdSize,
EntrySizeCalculator<? super K,? super InternalCacheEntry<K,V>> sizeCalculator) |
DefaultDataContainer(int concurrencyLevel,
long thresholdSize,
EntrySizeCalculator<? super K,? super V> sizeCalculator)
Method invoked when memory policy is used.
|
DefaultDataContainer(long thresholdSize,
EntrySizeCalculator<? super K,? super InternalCacheEntry<K,V>> sizeCalculator)
Constructor that allows user to provide a size calculator that also handles the cache entry and metadata.
|
Modifier and Type | Class and Description |
---|---|
class |
WrappedByteArraySizeCalculator<K,V>
Size calculator that supports a
WrappedByteArray by adding its size and the underlying byte[]. |
Constructor and Description |
---|
WrappedByteArraySizeCalculator(EntrySizeCalculator<?,?> chained) |
Copyright © 2021 JBoss by Red Hat. All rights reserved.