|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.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 occursMethod Detail |
---|
public void evict(IPageMap pageMap)
evict
in interface IPageMapEvictionStrategy
pageMap
- The page map to evict fromIPageMapEvictionStrategy.evict(org.apache.wicket.IPageMap)
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |