public class NoSqlSession extends MemSession
SESSION_KNOWN_ONLY_TO_AUTHENTICATED| Constructor and Description |
|---|
NoSqlSession(NoSqlSessionManager manager,
HttpServletRequest request) |
NoSqlSession(NoSqlSessionManager manager,
long created,
long accessed,
String clusterId,
Object version) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
access(long time) |
protected void |
checkValid()
asserts that the session is valid
|
protected void |
complete() |
protected void |
doInvalidate() |
Object |
doPutOrRemove(String name,
Object value) |
Object |
getVersion() |
boolean |
isDirty() |
protected void |
refresh() |
protected void |
save(boolean activateAfterSave) |
void |
setAttribute(String name,
Object value) |
void |
setClusterId(String clusterId) |
void |
setNodeId(String nodeId) |
Set<String> |
takeDirty() |
protected void |
timeout() |
addAttributes, clearAttributes, doGet, doGetAttributeNames, getAttributeMap, getAttributes, getNamesbindValue, callSessionAttributeListeners, changeAttribute, checkExpiry, cookieSet, didActivate, getAccessed, getAttribute, getAttributeNames, getClusterId, getCookieSetTime, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getNodeId, getRequests, getServletContext, getSession, getSessionContext, getSessionManager, getValue, getValueNames, invalidate, isIdChanged, isNew, isValid, putValue, removeAttribute, removeValue, renewId, setIdChanged, setLastAccessedTime, setMaxInactiveInterval, setRequests, toString, unbindValue, updateAttribute, willPassivatepublic NoSqlSession(NoSqlSessionManager manager, HttpServletRequest request)
public NoSqlSession(NoSqlSessionManager manager, long created, long accessed, String clusterId, Object version)
public Object doPutOrRemove(String name, Object value)
doPutOrRemove in class MemSessionpublic void setAttribute(String name, Object value)
setAttribute in interface HttpSessionsetAttribute in class AbstractSessionprotected void timeout()
throws IllegalStateException
timeout in class AbstractSessionIllegalStateExceptionprotected void checkValid()
throws IllegalStateException
AbstractSessioncheckValid in class AbstractSessionIllegalStateExceptionprotected boolean access(long time)
access in class AbstractSessionprotected void complete()
complete in class AbstractSessionprotected void doInvalidate()
throws IllegalStateException
doInvalidate in class AbstractSessionIllegalStateExceptionprotected void save(boolean activateAfterSave)
protected void refresh()
public boolean isDirty()
public Object getVersion()
public void setClusterId(String clusterId)
setClusterId in class AbstractSessionpublic void setNodeId(String nodeId)
setNodeId in class AbstractSessionCopyright © 1995-2015 Webtide. All Rights Reserved.