external-scheme

compared with
Current by Joseph Ruzzi
on Jun 09, 2009 15:54.

Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (1)

View Page History
{panel}
* {{FIXED}} - A unit calculator that assigns an equal weight of 1 to all cached objects.
* {{BINARY}} - A unit calculator that assigns an object a weight equal to the number of bytes of memory required to cache the object. This requires that the objects are {javadoc:com.tangosol.util.Binary} (or {doxygen:coherence::util::Binary} for C+\+) instances, as in a Partitioned cache. See {javadoc:com.tangosol.net.cache.BinaryMemoryCalculator} for additional details. \\
* {{<[class-scheme]>}} - A custom unit calculator, specified as a {{class-scheme}}. The class specified within this scheme must implement the {javadoc:com.tangosol.net.cache.ConfigurableCacheMap.UnitCalculator|com/tangosol/net/cache/ConfigurableCacheMap.UnitCalculator} interface.
{panel}