org.apache.wicket.pageStore.memory
Interface DataStoreEvictionStrategy

All Known Implementing Classes:
MemorySizeEvictionStrategy, PageNumberEvictionStrategy

public interface DataStoreEvictionStrategy

An eviction strategy that decides whether the in-memory data structure used as page store should be compacted


Method Summary
 void evict(org.apache.wicket.pageStore.memory.PageTable pageTable)
          Called after each IDataStore.storeData(String, int, byte[]) call.
 

Method Detail

evict

void evict(org.apache.wicket.pageStore.memory.PageTable pageTable)
Called after each IDataStore.storeData(String, int, byte[]) call.

Parameters:
pageTable - the in-memory data store with all pages


Copyright © 2006-2011 Apache Software Foundation. All Rights Reserved.