public class NoSqlSession extends MemSession
SESSION_CREATED_SECURE
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() |
void |
deIdle() |
protected void |
doInvalidate() |
Object |
doPutOrRemove(String name,
Object value) |
Object |
getVersion() |
void |
idle() |
boolean |
isDeIdleFailed() |
boolean |
isDeIdling() |
boolean |
isDirty() |
boolean |
isIdle() |
boolean |
isIdling() |
protected void |
refresh() |
protected void |
save(boolean activateAfterSave) |
void |
setAttribute(String name,
Object value) |
void |
setClusterId(String clusterId) |
void |
setDeIdleFailed(boolean _deIdleFailed) |
void |
setDeIdling() |
void |
setIdle(boolean idle) |
void |
setIdling() |
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, setCookieSetTime, 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
- if the sesion is invalidprotected 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)
public void idle()
public void deIdle()
public boolean isIdle()
public boolean isIdling()
public boolean isDeIdling()
public void setIdling()
public void setDeIdling()
public void setIdle(boolean idle)
public boolean isDeIdleFailed()
public void setDeIdleFailed(boolean _deIdleFailed)
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-2016 Webtide. All Rights Reserved.