public class CustomCachePolicy extends LruCachePolicy
Constructor and Description |
---|
CustomCachePolicy() |
Modifier and Type | Method and Description |
---|---|
CustomCachePolicy |
evictionStrategy(SpaceEvictionStrategy evictionStrategy)
Sets the custom eviction strategy to be used by the space, When using a Custom Cache Policy
this property must be set.
|
void |
setEvictionStrategy(SpaceEvictionStrategy evictionStrategy)
Sets the custom eviction strategy to be used by the space, When using a Custom Cache Policy
this property must be set.
|
Properties |
toProps() |
initialLoadPercentage, setInitialLoadPercentage, setSize, size
public CustomCachePolicy evictionStrategy(SpaceEvictionStrategy evictionStrategy)
public void setEvictionStrategy(SpaceEvictionStrategy evictionStrategy)
public Properties toProps()
toProps
in interface CachePolicy
toProps
in class LruCachePolicy
Copyright © GigaSpaces.