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.
|
CustomCachePolicy |
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 CustomCachePolicy setEvictionStrategy(SpaceEvictionStrategy evictionStrategy)
public Properties toProps()
toProps
in interface CachePolicy
toProps
in class LruCachePolicy
Copyright © GigaSpaces.