Uses of Interface
com.tangosol.net.cache.ConfigurableCacheMap.UnitCalculator
Package
Description
Contains interfaces and classes related to the Caffeine backing map implementation.
Defines the typical runtime configuration builders for the Coherence
configuration object model.
Contains classes providing various caching strategies.
Contains interfaces and classes related to partitioned services.
Contains various generic utilities.
-
Uses of ConfigurableCacheMap.UnitCalculator in com.oracle.coherence.caffeine
Modifier and TypeMethodDescriptionvoid
CaffeineCache.setUnitCalculator
(ConfigurableCacheMap.UnitCalculator calculator) -
Uses of ConfigurableCacheMap.UnitCalculator in com.tangosol.coherence.config.builder
Modifier and TypeMethodDescriptionUnitCalculatorBuilder.realize
(ParameterResolver resolver, ClassLoader loader, ParameterList listParameters) Realizes (creates if necessary) an instance of a object of type T, using the providedParameterResolver
to resolve values any referencedParameter
s. -
Uses of ConfigurableCacheMap.UnitCalculator in com.tangosol.net.cache
Modifier and TypeClassDescriptionclass
A UnitCalculator implementation that weighs a cache entry based upon the amount of physical memory (in bytes) required to store the entry.static class
The InternalUnitCalculator represents a pluggable UnitCalculator for the non-pluggable built-in (internal) UnitCalculator implementation provided by this cache implementation.class
A UnitCalculator implementation that weighs a cache entry based upon the amount of physical memory (in bytes) required to store the entry.Modifier and TypeFieldDescriptionstatic final ConfigurableCacheMap.UnitCalculator
LocalCache.INSTANCE_BINARY
The UnitCalculator object that measures the bytes used by entries.static final ConfigurableCacheMap.UnitCalculator
LocalCache.INSTANCE_FIXED
The UnitCalculator object that counts each entry as one unit.protected ConfigurableCacheMap.UnitCalculator
LocalCache.m_calculator
The external unit calculator.protected ConfigurableCacheMap.UnitCalculator
SerializationCache.m_calculator
The unit calculator to use to limit size of the cache.Modifier and TypeMethodDescriptionConfigurableCacheMap.getUnitCalculator()
Obtain the current UnitCalculator used by the cache.LocalCache.getUnitCalculator()
SerializationCache.getUnitCalculator()
Obtain the current UnitCalculator used by the cache.Modifier and TypeMethodDescriptionprotected void
LocalCache.configureUnitCalculator
(int nType, ConfigurableCacheMap.UnitCalculator calculator) Configure the unit calculator type and implementation.void
ConfigurableCacheMap.setUnitCalculator
(ConfigurableCacheMap.UnitCalculator calculator) Set the UnitCalculator for the cache to use.void
LocalCache.setUnitCalculator
(ConfigurableCacheMap.UnitCalculator calculator) void
SerializationCache.setUnitCalculator
(ConfigurableCacheMap.UnitCalculator calculator) Set the UnitCalculator for the cache to use. -
Uses of ConfigurableCacheMap.UnitCalculator in com.tangosol.net.partition
Modifier and TypeFieldDescriptionprotected ConfigurableCacheMap.UnitCalculator
ObservableSplittingBackingCache.m_calculator
The unit calculator.Modifier and TypeMethodDescriptionObservableSplittingBackingCache.getUnitCalculator()
Obtain the current UnitCalculator used by the cache.Modifier and TypeMethodDescriptionvoid
ObservableSplittingBackingCache.setUnitCalculator
(ConfigurableCacheMap.UnitCalculator calculator) Set the UnitCalculator for the cache to use. -
Uses of ConfigurableCacheMap.UnitCalculator in com.tangosol.util
Modifier and TypeClassDescriptionstatic class
A statefulcalculator
used to calculate the cost of a homogeneous index (holding all values of a single type).Modifier and TypeFieldDescriptionprotected final ConfigurableCacheMap.UnitCalculator
SimpleMapIndex.IndexCalculator.m_calculator
TheConfigurableCacheMap.UnitCalculator
used to calculate the size ofSimpleMapIndex.IndexCalculator.CalculatorState.CONFIGURED
types. intoBinary
to approximate the size.protected ConfigurableCacheMap.UnitCalculator
SimpleMapIndex.m_calculator
UnitCalculator used to estimate the cost of a value.Modifier and TypeMethodDescriptionSimpleMapIndex.getCalculator()
Return the UnitCalculator used to size this index's contents.protected ConfigurableCacheMap.UnitCalculator
SimpleMapIndex.instantiateCalculator()
Factory method used to create a new calculator.