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