Uses of Interface
org.infinispan.commons.util.EntrySizeCalculator
Packages that use EntrySizeCalculator
Package
Description
Commons package providing various utility classes
Entries which are stored in data containers.
Data containers which store cache entries.
-
Uses of EntrySizeCalculator in org.infinispan.commons.util
Classes in org.infinispan.commons.util that implement EntrySizeCalculatorModifier and TypeClassDescriptionclassAbstract class that provides a method to round up to the nearest value of 8 which is important for most jvm when doing size calculations. -
Uses of EntrySizeCalculator in org.infinispan.container.entries
Classes in org.infinispan.container.entries that implement EntrySizeCalculatorModifier and TypeClassDescriptionclassImplementation of a size calculator that calculates only the size of the value assuming it is an InternalCacheEntry.classEntry Size calculator that returns an approximation of how much various primitives, primitive wrappers, Strings, and arraysConstructors in org.infinispan.container.entries with parameters of type EntrySizeCalculatorModifierConstructorDescriptionCacheEntrySizeCalculator(EntrySizeCalculator<? super K, ? super V> calculator) -
Uses of EntrySizeCalculator in org.infinispan.container.impl
Methods in org.infinispan.container.impl with parameters of type EntrySizeCalculatorModifier and TypeMethodDescriptionstatic <K,V> DefaultDataContainer<K, V> DefaultDataContainer.boundedDataContainer(int concurrencyLevel, long maxEntries, EntrySizeCalculator<? super K, ? super V> sizeCalculator) Constructors in org.infinispan.container.impl with parameters of type EntrySizeCalculatorModifierConstructorDescriptionBoundedSegmentedDataContainer(int numSegments, long thresholdSize, EntrySizeCalculator<? super K, ? super InternalCacheEntry<K, V>> sizeCalculator) protectedDefaultDataContainer(int concurrencyLevel, long thresholdSize, EntrySizeCalculator<? super K, ? super V> sizeCalculator) Method invoked when memory policy is used.protectedDefaultDataContainer(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. -
Uses of EntrySizeCalculator in org.infinispan.marshall.core
Classes in org.infinispan.marshall.core that implement EntrySizeCalculatorModifier and TypeClassDescriptionclassSize calculator that supports aWrappedByteArrayby adding its size and the underlying byte[].Constructors in org.infinispan.marshall.core with parameters of type EntrySizeCalculator