|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.wicket.pageStore.memory.MemorySizeEvictionStrategy
public class MemorySizeEvictionStrategy
An eviction strategy that keeps the data store size up to configured bytes
Constructor Summary | |
---|---|
MemorySizeEvictionStrategy(Bytes maxBytes)
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 MemorySizeEvictionStrategy(Bytes maxBytes)
maxBytes
- the maximum size of the data storeMethod Detail |
---|
public void evict(org.apache.wicket.pageStore.memory.PageTable pageTable)
DataStoreEvictionStrategy
IDataStore.storeData(String, int, byte[])
call.
evict
in interface DataStoreEvictionStrategy
pageTable
- 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 |