Uses of Interface
com.tangosol.net.cache.ConfigurableCacheMap.UnitCalculator
-
Packages that use ConfigurableCacheMap.UnitCalculator Package Description com.oracle.coherence.caffeine Contains interfaces and classes related to the Caffeine backing map implementation.com.tangosol.coherence.config.builder Defines the typical runtime configuration builders for the Coherence configuration object model.com.tangosol.net.cache Contains classes providing various caching strategies.com.tangosol.net.partition Contains interfaces and classes related to partitioned services.com.tangosol.util Contains various generic utilities. -
-
Uses of ConfigurableCacheMap.UnitCalculator in com.oracle.coherence.caffeine
Methods in com.oracle.coherence.caffeine that return ConfigurableCacheMap.UnitCalculator Modifier and Type Method Description ConfigurableCacheMap.UnitCalculator
CaffeineCache. getUnitCalculator()
Methods in com.oracle.coherence.caffeine with parameters of type ConfigurableCacheMap.UnitCalculator Modifier and Type Method Description void
CaffeineCache. setUnitCalculator(ConfigurableCacheMap.UnitCalculator calculator)
-
Uses of ConfigurableCacheMap.UnitCalculator in com.tangosol.coherence.config.builder
Methods in com.tangosol.coherence.config.builder that return ConfigurableCacheMap.UnitCalculator Modifier and Type Method Description ConfigurableCacheMap.UnitCalculator
UnitCalculatorBuilder. 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
Subinterfaces of ConfigurableCacheMap.UnitCalculator in com.tangosol.net.cache Modifier and Type Interface Description static interface
OldCache.UnitCalculator
Deprecated.A unit calculator is an object that can calculate the cost of caching an object.Classes in com.tangosol.net.cache that implement ConfigurableCacheMap.UnitCalculator Modifier and Type Class Description class
BinaryMemoryCalculator
A UnitCalculator implementation that weighs a cache entry based upon the amount of physical memory (in bytes) required to store the entry.static class
OldCache.InternalUnitCalculator
Deprecated.The InternalUnitCalculator represents a pluggable UnitCalculator for the non-pluggable built-in (internal) UnitCalculator implementation provided by this cache implementation.class
SimpleMemoryCalculator
A UnitCalculator implementation that weighs a cache entry based upon the amount of physical memory (in bytes) required to store the entry.Fields in com.tangosol.net.cache declared as ConfigurableCacheMap.UnitCalculator Modifier and Type Field Description protected ConfigurableCacheMap.UnitCalculator
OldCache. m_calculator
Deprecated.The external unit calculator.protected ConfigurableCacheMap.UnitCalculator
SerializationCache. m_calculator
The unit calculator to use to limit size of the cache.Methods in com.tangosol.net.cache that return ConfigurableCacheMap.UnitCalculator Modifier and Type Method Description ConfigurableCacheMap.UnitCalculator
ConfigurableCacheMap. getUnitCalculator()
Obtain the current UnitCalculator used by the cache.ConfigurableCacheMap.UnitCalculator
OldCache. getUnitCalculator()
Deprecated.Obtain the current UnitCalculator used by the cache.ConfigurableCacheMap.UnitCalculator
SerializationCache. getUnitCalculator()
Obtain the current UnitCalculator used by the cache.Methods in com.tangosol.net.cache with parameters of type ConfigurableCacheMap.UnitCalculator Modifier and Type Method Description protected void
OldCache. configureUnitCalculator(int nType, ConfigurableCacheMap.UnitCalculator calculator)
Deprecated.Configure the unit calculator type and implementation.void
ConfigurableCacheMap. setUnitCalculator(ConfigurableCacheMap.UnitCalculator calculator)
Set the UnitCalculator for the cache to use.void
OldCache. setUnitCalculator(ConfigurableCacheMap.UnitCalculator calculator)
Deprecated.Set the UnitCalculator for the cache to use.void
SerializationCache. setUnitCalculator(ConfigurableCacheMap.UnitCalculator calculator)
Set the UnitCalculator for the cache to use. -
Uses of ConfigurableCacheMap.UnitCalculator in com.tangosol.net.partition
Fields in com.tangosol.net.partition declared as ConfigurableCacheMap.UnitCalculator Modifier and Type Field Description protected ConfigurableCacheMap.UnitCalculator
ObservableSplittingBackingCache. m_calculator
The unit calculator.Methods in com.tangosol.net.partition that return ConfigurableCacheMap.UnitCalculator Modifier and Type Method Description ConfigurableCacheMap.UnitCalculator
ObservableSplittingBackingCache. getUnitCalculator()
Obtain the current UnitCalculator used by the cache.Methods in com.tangosol.net.partition with parameters of type ConfigurableCacheMap.UnitCalculator Modifier and Type Method Description void
ObservableSplittingBackingCache. setUnitCalculator(ConfigurableCacheMap.UnitCalculator calculator)
Set the UnitCalculator for the cache to use. -
Uses of ConfigurableCacheMap.UnitCalculator in com.tangosol.util
Classes in com.tangosol.util that implement ConfigurableCacheMap.UnitCalculator Modifier and Type Class Description static class
SimpleMapIndex.IndexCalculator
A statefulcalculator
used to calculate the cost of a homogeneous index (holding all values of a single type).Fields in com.tangosol.util declared as ConfigurableCacheMap.UnitCalculator Modifier and Type Field Description protected 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.Methods in com.tangosol.util that return ConfigurableCacheMap.UnitCalculator Modifier and Type Method Description ConfigurableCacheMap.UnitCalculator
SimpleMapIndex. getCalculator()
Return the UnitCalculator used to size this index's contents.protected ConfigurableCacheMap.UnitCalculator
SimpleMapIndex. instantiateCalculator()
Factory method used to create a new calculator.
-