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, getNames
bindValue, 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, willPassivate
public 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 MemSession
public void setAttribute(String name, Object value)
setAttribute
in interface HttpSession
setAttribute
in class AbstractSession
protected void timeout() throws IllegalStateException
timeout
in class AbstractSession
IllegalStateException
protected void checkValid() throws IllegalStateException
AbstractSession
checkValid
in class AbstractSession
IllegalStateException
protected boolean access(long time)
access
in class AbstractSession
protected void complete()
complete
in class AbstractSession
protected void doInvalidate() throws IllegalStateException
doInvalidate
in class AbstractSession
IllegalStateException
protected void save(boolean activateAfterSave)
protected void refresh()
public boolean isDirty()
public Object getVersion()
public void setClusterId(String clusterId)
setClusterId
in class AbstractSession
public void setNodeId(String nodeId)
setNodeId
in class AbstractSession
Copyright © 1995-2015 Webtide. All Rights Reserved.