|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.openspaces.core.space.LruCachePolicy
public class LruCachePolicy
Configures the Space to run in LRU mode. Defaults value for all configuration will be based on the schema chosen.
Constructor Summary | |
---|---|
LruCachePolicy()
|
Method Summary | |
---|---|
LruCachePolicy |
initialLoadPercentage(int initialLoadPercentage)
When a space is running in a persistent mode (i.e. using the HibernateDataSource implementation), The initial_load sets the % of the space cache data to be loaded (default is 50%) maximum size. |
void |
setInitialLoadPercentage(int initialLoadPercentage)
When a space is running in a persistent mode (i.e. using the HibernateDataSource implementation), The initial_load sets the % of the space cache data to be loaded (default is 50%) maximum size. |
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()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LruCachePolicy()
Method Detail |
---|
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
|
GigaSpaces XAP 7.0 API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |