Package org.apache.wicket.pageStore
Class InMemoryPageStore.CountLimitedData
- java.lang.Object
-
- org.apache.wicket.pageStore.InMemoryPageStore.MemoryData
-
- org.apache.wicket.pageStore.InMemoryPageStore.CountLimitedData
-
- All Implemented Interfaces:
Iterable<IManageablePage>
,InMemoryPageStore.IMemoryData
- Enclosing class:
- InMemoryPageStore
protected static class InMemoryPageStore.CountLimitedData extends InMemoryPageStore.MemoryData
Limit pages by count.
-
-
Constructor Summary
Constructors Constructor Description CountLimitedData(int maxPages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
add(IManageablePage page)
Add a page.-
Methods inherited from class org.apache.wicket.pageStore.InMemoryPageStore.MemoryData
get, iterator, remove, removeOldest
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
CountLimitedData
public CountLimitedData(int maxPages)
-
-
Method Detail
-
add
public void add(IManageablePage page)
Description copied from interface:InMemoryPageStore.IMemoryData
Add a page.- Specified by:
add
in interfaceInMemoryPageStore.IMemoryData
- Overrides:
add
in classInMemoryPageStore.MemoryData
-
-