Package | Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
ConfigurableCacheMap.UnitCalculator |
UnitCalculatorBuilder.realize(com.tangosol.config.expression.ParameterResolver resolver,
ClassLoader loader,
ParameterList listParameters)
Realizes (creates if necessary) an instance of a object of type T, using the provided
ParameterResolver
to resolve values any referenced Parameter s. |
Modifier and Type | Interface and Description |
---|---|
static interface |
OldCache.UnitCalculator
Deprecated.
A unit calculator is an object that can calculate the cost of caching
an object.
|
Modifier and Type | Class and 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.
|
Modifier and Type | Field and 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.
|
Modifier and Type | Method and Description |
---|---|
ConfigurableCacheMap.UnitCalculator |
OldCache.getUnitCalculator()
Deprecated.
Obtain the current UnitCalculator used by the cache.
|
ConfigurableCacheMap.UnitCalculator |
ConfigurableCacheMap.getUnitCalculator()
Obtain the current UnitCalculator used by the cache.
|
ConfigurableCacheMap.UnitCalculator |
SerializationCache.getUnitCalculator()
Obtain the current UnitCalculator used by the cache.
|
Modifier and Type | Method and Description |
---|---|
protected void |
OldCache.configureUnitCalculator(int nType,
ConfigurableCacheMap.UnitCalculator calculator)
Deprecated.
Configure the unit calculator type and implementation.
|
void |
OldCache.setUnitCalculator(ConfigurableCacheMap.UnitCalculator calculator)
Deprecated.
Set the UnitCalculator for the cache to use.
|
void |
ConfigurableCacheMap.setUnitCalculator(ConfigurableCacheMap.UnitCalculator calculator)
Set the UnitCalculator for the cache to use.
|
void |
SerializationCache.setUnitCalculator(ConfigurableCacheMap.UnitCalculator calculator)
Set the UnitCalculator for the cache to use.
|
Modifier and Type | Field and Description |
---|---|
protected ConfigurableCacheMap.UnitCalculator |
ObservableSplittingBackingCache.m_calculator
The unit calculator.
|
Modifier and Type | Method and Description |
---|---|
ConfigurableCacheMap.UnitCalculator |
ObservableSplittingBackingCache.getUnitCalculator()
Obtain the current UnitCalculator used by the cache.
|
Modifier and Type | Method and Description |
---|---|
void |
ObservableSplittingBackingCache.setUnitCalculator(ConfigurableCacheMap.UnitCalculator calculator)
Set the UnitCalculator for the cache to use.
|
Modifier and Type | Class and Description |
---|---|
static class |
SimpleMapIndex.IndexCalculator
A stateful
calculator
used to calculate the cost of a homogeneous index (holding all values of a
single type). |
Modifier and Type | Field and Description |
---|---|
protected ConfigurableCacheMap.UnitCalculator |
SimpleMapIndex.m_calculator
UnitCalculator used to estimate the cost of a value.
|
protected ConfigurableCacheMap.UnitCalculator |
SimpleMapIndex.IndexCalculator.m_calculator
The
ConfigurableCacheMap.UnitCalculator used to calculate the size of SimpleMapIndex.IndexCalculator.CalculatorState.CONFIGURED
types. into Binary to approximate the size. |
Modifier and Type | Method and 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.
|