org.apache.wicket.pageStore
Class DefaultPageStore.SerializedPage

java.lang.Object
  extended by org.apache.wicket.pageStore.DefaultPageStore.SerializedPage
All Implemented Interfaces:
Serializable
Enclosing class:
DefaultPageStore

protected static class DefaultPageStore.SerializedPage
extends Object
implements Serializable

A representation of IManageablePage that knows additionally the id of the http session in which this IManageablePage instance is used. The sessionId and pageId are used for better clustering in the IDataStore structures.

See Also:
Serialized Form

Constructor Summary
DefaultPageStore.SerializedPage(String sessionId, int pageId, byte[] data)
           
 
Method Summary
 boolean equals(Object obj)
           
 byte[] getData()
           
 int getPageId()
           
 String getSessionId()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPageStore.SerializedPage

public DefaultPageStore.SerializedPage(String sessionId,
                                       int pageId,
                                       byte[] data)
Method Detail

getData

public byte[] getData()

getPageId

public int getPageId()

getSessionId

public String getSessionId()

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object


Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.