org.apache.wicket.pageStore
Class DefaultPageStore.SerializedPage

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

protected static class DefaultPageStore.SerializedPage
extends java.lang.Object
implements java.io.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(java.lang.String sessionId, int pageId, byte[] data)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 byte[] getData()
           
 int getPageId()
           
 java.lang.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(java.lang.String sessionId,
                                       int pageId,
                                       byte[] data)
Method Detail

getData

public byte[] getData()

getPageId

public int getPageId()

getSessionId

public java.lang.String getSessionId()

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object


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