org.wicketstuff.shiro.wicket.page.store
Class PageCache

java.lang.Object
  extended by org.wicketstuff.shiro.wicket.page.store.PageCache
All Implemented Interfaces:
Serializable, IClusterable

public class PageCache
extends Object
implements IClusterable

continues effort started by Richard Wilkinson (to support TerraCotta, but the architecture has been separated into multiple classes, along with other architectural/stylistic changes.

Since:
Feb 13, 2009 10:23:43 PM
Author:
Les Hazlewood
See Also:
Serialized Form

Constructor Summary
PageCache(int maxSize)
           
 
Method Summary
 boolean containsPage(int pageId)
           
 SerializedPageWrapper getPage(int pageId)
           
 void removePage(Integer pageId)
           
 void storePages(SerializedPageWrapper wrapper)
           
 String toString()
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PageCache

public PageCache(int maxSize)
Method Detail

containsPage

public boolean containsPage(int pageId)

getPage

public SerializedPageWrapper getPage(int pageId)

removePage

public void removePage(Integer pageId)

storePages

public void storePages(SerializedPageWrapper wrapper)

toString

public String toString()

Overrides:
toString in class Object


Copyright © 2015. All Rights Reserved.