public class NoSqlSession extends AbstractSession
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) |
Set<String> |
takeDirty() |
protected boolean |
updateAttribute(String name,
Object value) |
addAttributes, bindValue, clearAttributes, cookieSet, didActivate, doGet, getAccessed, getAttribute, getAttributeMap, getAttributeNames, getAttributes, getClusterId, getCookieSetTime, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getNames, getNodeId, getRequests, getServletContext, getSession, getSessionContext, getValue, getValueNames, invalidate, isIdChanged, isNew, isValid, putValue, removeAttribute, removeValue, setIdChanged, setLastAccessedTime, setMaxInactiveInterval, setRequests, timeout, toString, unbindValue, 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 AbstractSession
public void setAttribute(String name, Object value)
setAttribute
in interface HttpSession
setAttribute
in class AbstractSession
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()
Copyright © 1995-2013 Mort Bay Consulting. All Rights Reserved.