Module org.apache.wicket.core
Package org.apache.wicket.pageStore
Class InMemoryPageStore.MemoryData
java.lang.Object
org.apache.wicket.pageStore.InMemoryPageStore.MemoryData
- All Implemented Interfaces:
Iterable<IManageablePage>
,InMemoryPageStore.IMemoryData
- Direct Known Subclasses:
InMemoryPageStore.CountLimitedData
,InMemoryPageStore.SizeLimitedData
- Enclosing class:
- InMemoryPageStore
protected static class InMemoryPageStore.MemoryData
extends Object
implements InMemoryPageStore.IMemoryData
List based implementation.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
add
(IManageablePage page) Add a page.get
(int pageId) Get a page.iterator()
remove
(int pageId) Remove a page.protected void
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 Details
-
MemoryData
protected MemoryData()
-
-
Method Details
-
iterator
- Specified by:
iterator
in interfaceIterable<IManageablePage>
-
add
Description copied from interface:InMemoryPageStore.IMemoryData
Add a page.- Specified by:
add
in interfaceInMemoryPageStore.IMemoryData
-
remove
Description copied from interface:InMemoryPageStore.IMemoryData
Remove a page.- Specified by:
remove
in interfaceInMemoryPageStore.IMemoryData
- Returns:
-
get
Description copied from interface:InMemoryPageStore.IMemoryData
Get a page.- Specified by:
get
in interfaceInMemoryPageStore.IMemoryData
- Returns:
-
removeOldest
-