|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.wicket.session.pagemap.LeastRecentlyAccessedEvictionStrategy
public class LeastRecentlyAccessedEvictionStrategy
A simple eviction strategy that evicts the least recently accessed page version from the given page map.
| Constructor Summary | |
|---|---|
LeastRecentlyAccessedEvictionStrategy(int maxVersions)
Constructor. |
|
| Method Summary | |
|---|---|
void |
evict(IPageMap pageMap)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LeastRecentlyAccessedEvictionStrategy(int maxVersions)
maxVersions - Maximum number of page versions before eviction occurs| Method Detail |
|---|
public void evict(IPageMap pageMap)
evict in interface IPageMapEvictionStrategypageMap - The page map to evict fromIPageMapEvictionStrategy.evict(org.apache.wicket.IPageMap)public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||