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.
|
void |
setInitialLoadPercentage(int initialLoadPercentage)
When a space is running in a persistent mode (i.e.
|
void |
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 void setSize(Integer size)
public void setInitialLoadPercentage(int initialLoadPercentage)
public Properties toProps()
toProps
in interface CachePolicy
Copyright © GigaSpaces.