public class PageNumberEvictionStrategy extends Object implements IDataStoreEvictionStrategy
Constructor and Description |
---|
PageNumberEvictionStrategy(int pagesNumber)
Construct.
|
Modifier and Type | Method and Description |
---|---|
void |
evict(PageTable pageTable)
Called after each
IDataStore.storeData(String, int, byte[]) call. |
public PageNumberEvictionStrategy(int pagesNumber)
pagesNumber
- the maximum number of pages the data store can holdpublic void evict(PageTable pageTable)
IDataStoreEvictionStrategy
IDataStore.storeData(String, int, byte[])
call.evict
in interface IDataStoreEvictionStrategy
pageTable
- the in-memory data store with all pagesIDataStoreEvictionStrategy.evict(org.apache.wicket.pageStore.memory.PageTable)
Copyright © 2006–2022 Apache Software Foundation. All rights reserved.