Package | Description |
---|---|
com.j_spaces.core.client.cache.map | |
com.j_spaces.map.eviction | |
org.openspaces.core.map |
A package including factory beans to create GigaSpaces IMap or JCache Cache based on an
IJSpace instance.
|
Constructor and Description |
---|
EvictionCacheManager(EvictionStrategy evictionStrategy,
Cache cache) |
MapCache(IJSpace space,
boolean isVersioned,
int updateMode,
EvictionStrategy evictionStrategy,
boolean putFirst,
int sizeLimit,
int compression)
Constructor.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractEvictionStrategy
Implements EvictionStrategy and acts as a base for all the eviction strategies
|
class |
FIFOEvictionStrategy
first-in first-out (as opposed to LIFO, last-in first-out) Items come out in the same order they
came in.
|
class |
LFUEvictionStrategy
The heap LFUDA ( Least Frequently Used) policy keeps popular objects in cache regardless of their
size and thus optimizes byte hit rate at the expense of hit rate since one large, popular object
will prevent many smaller, slightly less popular objects from being cached.
|
class |
LRUEvictionStrategy
The LRU policies keep recently referenced objects.
|
class |
NoneEvictionStrategy
No eviction strategy
|
class |
SizeEvictionStrategy
First try to evict the biggest object.
|
Modifier and Type | Method and Description |
---|---|
EvictionStrategy |
LocalCacheSupport.getEvictionStrategy()
Sets the eviction strategy for the local cache.
|
Modifier and Type | Method and Description |
---|---|
MapConfigurer |
MapConfigurer.localCacheEvictionStrategy(EvictionStrategy evictionStrategy) |
void |
LocalCacheSupport.setEvictionStrategy(EvictionStrategy evictionStrategy)
Sets the eviction strategy for the local cache.
|
Copyright © GigaSpaces.