org.eclipse.jetty.nosql
Class NoSqlSession
java.lang.Object
org.eclipse.jetty.server.session.AbstractSession
org.eclipse.jetty.nosql.NoSqlSession
- All Implemented Interfaces:
- HttpSession, AbstractSessionManager.SessionIf
public class NoSqlSession
- extends AbstractSession
Methods inherited from class org.eclipse.jetty.server.session.AbstractSession |
bindValue, clearAttributes, cookieSet, didActivate, doGet, getAccessed, getAttribute, getAttributeNames, getAttributes, getClusterId, getCookieSetTime, getCreationTime, getId, getLastAccessedTime, getMaxInactiveInterval, getNames, getNodeId, getRequests, getServletContext, getSession, getSessionContext, getValue, getValueNames, invalidate, isIdChanged, isNew, isValid, putValue, removeAttribute, removeValue, setAttribute, setIdChanged, setMaxInactiveInterval, setRequests, timeout, toString, unbindValue, willPassivate |
NoSqlSession
public NoSqlSession(NoSqlSessionManager manager,
long created,
long accessed,
String clusterId)
NoSqlSession
public NoSqlSession(NoSqlSessionManager manager,
long created,
long accessed,
String clusterId,
Object version)
doPutOrRemove
public Object doPutOrRemove(String name,
Object value)
- Overrides:
doPutOrRemove
in class AbstractSession
checkValid
protected void checkValid()
throws IllegalStateException
- Description copied from class:
AbstractSession
- asserts that the session is valid
- Overrides:
checkValid
in class AbstractSession
- Throws:
IllegalStateException
access
protected boolean access(long time)
- Overrides:
access
in class AbstractSession
complete
protected void complete()
- Overrides:
complete
in class AbstractSession
doInvalidate
protected void doInvalidate()
throws IllegalStateException
- Overrides:
doInvalidate
in class AbstractSession
- Throws:
IllegalStateException
save
protected void save(boolean activateAfterSave)
refresh
protected void refresh()
isDirty
public boolean isDirty()
takeDirty
public Set<String> takeDirty()
getVersion
public Object getVersion()
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.