public class MemorySizeEvictionStrategy extends Object implements IDataStoreEvictionStrategy
| Constructor and Description |
|---|
MemorySizeEvictionStrategy(Bytes maxBytes)
Construct.
|
public MemorySizeEvictionStrategy(Bytes maxBytes)
maxBytes - the maximum size of the data storepublic 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–2014 Apache Software Foundation. All rights reserved.