|
GemFire 6.5.1.2 | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||
| Packages that use ObjectSizer | |
|---|---|
| com.gemstone.gemfire.cache | Provides an implementation of distributed object caching that can leverage GemFire's distribution capabilities. |
| com.gemstone.gemfire.cache.util | Provides utilities for use with the Caching API in the
com.gemstone.gemfire.cache.util package. |
| Uses of ObjectSizer in com.gemstone.gemfire.cache |
|---|
| Methods in com.gemstone.gemfire.cache that return ObjectSizer | |
|---|---|
abstract ObjectSizer |
EvictionAttributes.getObjectSizer()
An ObjectSizer is used by the EvictionAlgorithm.LRU_MEMORY
algorithm to measure the size of each Entry as it is entered into a Region. |
| Methods in com.gemstone.gemfire.cache with parameters of type ObjectSizer | |
|---|---|
static EvictionAttributes |
EvictionAttributes.createLRUHeapAttributes(ObjectSizer sizer)
Creates EvictionAttributes for evicting the least recently used Region.Entry
when heap usage exceeds the ResourceManager critical heap threshold. |
static EvictionAttributes |
EvictionAttributes.createLRUHeapAttributes(ObjectSizer sizer,
EvictionAction evictionAction)
Creates EvictionAttributes for evicting the least recently used Region.Entry
when heap usage exceeds the ResourceManager critical heap threshold. |
static EvictionAttributes |
EvictionAttributes.createLRUMemoryAttributes(int maximumMegabytes,
ObjectSizer sizer)
Creates EvictionAttributes for an eviction controller that will remove the least recently used (LRU) entry from a region once the region reaches the given maximum capacity. |
static EvictionAttributes |
EvictionAttributes.createLRUMemoryAttributes(int maximumMegabytes,
ObjectSizer sizer,
EvictionAction evictionAction)
Creates EvictionAttributes for an eviction controller that will remove the least recently used (LRU) entry from a region once the region reaches the given maximum capacity. |
static EvictionAttributes |
EvictionAttributes.createLRUMemoryAttributes(ObjectSizer sizer)
Creates EvictionAttributes for an eviction controller that will remove the least recently used (LRU) entry from a region once the region reaches the given maximum capacity. |
static EvictionAttributes |
EvictionAttributes.createLRUMemoryAttributes(ObjectSizer sizer,
EvictionAction evictionAction)
Creates EvictionAttributes for an eviction controller that will remove the least recently used (LRU) entry from a region once the region reaches the given maximum capacity. |
| Uses of ObjectSizer in com.gemstone.gemfire.cache.util |
|---|
| Classes in com.gemstone.gemfire.cache.util that implement ObjectSizer | |
|---|---|
class |
ObjectSizerImpl
Deprecated. use DEFAULT instead. |
| Fields in com.gemstone.gemfire.cache.util declared as ObjectSizer | |
|---|---|
static ObjectSizer |
ObjectSizer.DEFAULT
The default object sizer, currently SIZE_CLASS_ONCE |
static ObjectSizer |
ObjectSizer.REFLECTION_SIZE
An implementation of ObjectSizer that calculates an accurate size
for each object that it sizes. |
static ObjectSizer |
ObjectSizer.SIZE_CLASS_ONCE
An implementation of ObjectSizer that calculates an accurate size
of the first instance of each class that is put in the cache. |
|
GemFire 6.5.1.2 | ||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||