org.openspaces.core.space
Class CustomCachePolicy
java.lang.Object
org.openspaces.core.space.LruCachePolicy
org.openspaces.core.space.CustomCachePolicy
- All Implemented Interfaces:
- CachePolicy
public class CustomCachePolicy
- extends LruCachePolicy
Configures the Space to run in Custom mode. Defaults value for all configuration will be based on
the schema chosen.
- Since:
- 9.1.0
- Author:
- Sagi Bernstein
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CustomCachePolicy
public CustomCachePolicy()
evictionStrategy
public 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.
setEvictionStrategy
public 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.
toProps
public Properties toProps()
- Specified by:
toProps
in interface CachePolicy
- Overrides:
toProps
in class LruCachePolicy
Copyright © GigaSpaces.