public class LruCachePolicy extends Object implements CachePolicy
Constructor and Description |
---|
LruCachePolicy() |
Modifier and Type | Method and Description |
---|---|
LruCachePolicy |
initialLoadPercentage(int initialLoadPercentage)
When a space is running in a persistent mode (i.e.
|
LruCachePolicy |
setInitialLoadPercentage(int initialLoadPercentage)
When a space is running in a persistent mode (i.e.
|
LruCachePolicy |
setSize(Integer size)
The number of entries to keep in the space.
|
LruCachePolicy |
size(int size)
The number of entries to keep in the space.
|
Properties |
toProps() |
public LruCachePolicy size(int size)
public LruCachePolicy initialLoadPercentage(int initialLoadPercentage)
public LruCachePolicy setSize(Integer size)
public LruCachePolicy setInitialLoadPercentage(int initialLoadPercentage)
public Properties toProps()
toProps
in interface CachePolicy
Copyright © GigaSpaces.