org.openspaces.jee.sessions.jetty
Class SessionData
java.lang.Object
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
SessionData
public SessionData()
SessionData
public SessionData(String sessionId)
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 Map<String,Object> getAttributeMap()
setAttributeMap
protected void setAttributeMap(Map<String,Object> map)
setExpiryTime
public void setExpiryTime(long time)
getExpiryTime
public long getExpiryTime()
toString
public String toString()
- Overrides:
toString
in class Object
toStringExtended
public String toStringExtended()
Copyright © GigaSpaces.