Uses of Interface
com.j_spaces.javax.cache.EvictionStrategy
Packages that use EvictionStrategy
Package
Description
A package including factory beans to create GigaSpaces IMap or JCache Cache based on an
IJSpace instance.
-
Uses of EvictionStrategy in com.j_spaces.core.client.cache.map
Constructors in com.j_spaces.core.client.cache.map with parameters of type EvictionStrategyModifierConstructorDescriptionEvictionCacheManager(EvictionStrategy evictionStrategy, Cache cache) MapCache(IJSpace space, boolean isVersioned, int updateMode, EvictionStrategy evictionStrategy, boolean putFirst, int sizeLimit, int compression) Constructor. -
Uses of EvictionStrategy in com.j_spaces.map.eviction
Classes in com.j_spaces.map.eviction that implement EvictionStrategyModifier and TypeClassDescriptionclassImplements EvictionStrategy and acts as a base for all the eviction strategiesclassfirst-in first-out (as opposed to LIFO, last-in first-out) Items come out in the same order they came in.classThe 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.classThe LRU policies keep recently referenced objects.classNo eviction strategyclassFirst try to evict the biggest object. -
Uses of EvictionStrategy in org.openspaces.core.map
Methods in org.openspaces.core.map that return EvictionStrategyModifier and TypeMethodDescriptionLocalCacheSupport.getEvictionStrategy()Sets the eviction strategy for the local cache.Methods in org.openspaces.core.map with parameters of type EvictionStrategyModifier and TypeMethodDescriptionMapConfigurer.localCacheEvictionStrategy(EvictionStrategy evictionStrategy) voidLocalCacheSupport.setEvictionStrategy(EvictionStrategy evictionStrategy) Sets the eviction strategy for the local cache.