|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.pageStore.memory.PageNumberEvictionStrategy
public class PageNumberEvictionStrategy
An eviction strategy which decides whether to evict entries from the in-memory data store depending on the number of stored paged per session
| Constructor Summary | |
|---|---|
PageNumberEvictionStrategy(int pagesNumber)
Construct. |
|
| Method Summary | |
|---|---|
void |
evict(org.apache.wicket.pageStore.memory.PageTable pageTable)
Called after each IDataStore.storeData(String, int, byte[]) call. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PageNumberEvictionStrategy(int pagesNumber)
pagesNumber - the maximum number of pages the data store can hold| Method Detail |
|---|
public void evict(org.apache.wicket.pageStore.memory.PageTable pageTable)
DataStoreEvictionStrategyIDataStore.storeData(String, int, byte[]) call.
evict in interface DataStoreEvictionStrategypageTable - the in-memory data store with all pagesDataStoreEvictionStrategy.evict(org.apache.wicket.pageStore.memory.PageTable)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||