GigaSpaces XAP 7.0 API

org.openspaces.jee.sessions.jetty
Class SessionData

java.lang.Object
  extended by org.openspaces.jee.sessions.jetty.SessionData
All Implemented Interfaces:
Externalizable, Serializable

public class SessionData
extends Object
implements Externalizable

The entry that is stored in the Space representing a Jetty session.

See Also:
Serialized Form

Constructor Summary
SessionData()
           
SessionData(String sessionId)
           
 
Method Summary
 long getAccessed()
           
protected  ConcurrentHashMap getAttributeMap()
           
 long getCookieSet()
           
 long getCreated()
           
 long getExpiryTime()
           
 String getId()
           
 long getLastAccessed()
           
 long getLastSaved()
           
 long getMaxIdleMs()
           
 void readExternal(ObjectInput in)
           
 void setAccessed(long ms)
           
protected  void setAttributeMap(ConcurrentHashMap map)
           
 void setCookieSet(long ms)
           
 void setCreated(long ms)
           
 void setExpiryTime(long time)
           
 void setId(String id)
           
 void setLastAccessed(long ms)
           
 void setLastSaved(long ms)
           
 void setMaxIdleMs(long ms)
           
 String toString()
           
 String toStringExtended()
           
 void writeExternal(ObjectOutput out)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionData

public SessionData()

SessionData

public SessionData(String sessionId)
Method Detail

writeExternal

public void writeExternal(ObjectOutput out)
                   throws IOException
Specified by:
writeExternal in interface Externalizable
Throws:
IOException

readExternal

public void readExternal(ObjectInput in)
                  throws IOException,
                         ClassNotFoundException
Specified by:
readExternal in interface Externalizable
Throws:
IOException
ClassNotFoundException

getId

public String getId()

setId

public void setId(String id)

getCreated

public long getCreated()

setCreated

public void setCreated(long ms)

getAccessed

public long getAccessed()

setAccessed

public void setAccessed(long ms)

setLastSaved

public void setLastSaved(long ms)

getLastSaved

public long getLastSaved()

setMaxIdleMs

public void setMaxIdleMs(long ms)

getMaxIdleMs

public long getMaxIdleMs()

setLastAccessed

public void setLastAccessed(long ms)

getLastAccessed

public long getLastAccessed()

setCookieSet

public void setCookieSet(long ms)

getCookieSet

public long getCookieSet()

getAttributeMap

protected ConcurrentHashMap getAttributeMap()

setAttributeMap

protected void setAttributeMap(ConcurrentHashMap map)

setExpiryTime

public void setExpiryTime(long time)

getExpiryTime

public long getExpiryTime()

toString

public String toString()
Overrides:
toString in class Object

toStringExtended

public String toStringExtended()

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.