Uses of Class
com.aspectran.core.component.session.DefaultSession
-
Packages that use DefaultSession Package Description com.aspectran.core.component.session Session Management Implementations -
-
Uses of DefaultSession in com.aspectran.core.component.session
Methods in com.aspectran.core.component.session that return DefaultSession Modifier and Type Method Description DefaultSession
AbstractSessionCache. add(java.lang.String id, long time, long maxInactiveInterval)
DefaultSession
SessionCache. add(java.lang.String id, long time, long maxInactiveInterval)
Add an entirely new session to the cache.DefaultSession
AbstractSessionHandler. createSession(java.lang.String id)
DefaultSession
SessionHandler. createSession(java.lang.String id)
Create an entirely new Session.DefaultSession
AbstractSessionCache. delete(java.lang.String id)
DefaultSession
SessionCache. delete(java.lang.String id)
Remove a Session completely: from both this cache and the SessionStore.protected abstract DefaultSession
AbstractSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,DefaultSession> mappingFunction)
Compute the mappingFunction to create a Session object if the session with the given id isn't already in the map, otherwise return the existing Session.protected DefaultSession
DefaultSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,DefaultSession> mappingFunction)
protected abstract DefaultSession
AbstractSessionCache. doDelete(java.lang.String id)
Remove the session with this identity from the store.protected DefaultSession
DefaultSessionCache. doDelete(java.lang.String id)
protected abstract DefaultSession
AbstractSessionCache. doGet(java.lang.String id)
Get the session matching the key.protected DefaultSession
DefaultSessionCache. doGet(java.lang.String id)
protected abstract DefaultSession
AbstractSessionCache. doPutIfAbsent(java.lang.String id, DefaultSession session)
Put the session into the map if it wasn't already there.protected DefaultSession
DefaultSessionCache. doPutIfAbsent(java.lang.String id, DefaultSession session)
DefaultSession
AbstractSessionCache. get(java.lang.String id)
DefaultSession
SessionCache. get(java.lang.String id)
Get an existing Session.DefaultSession
AbstractSessionHandler. getSession(java.lang.String id)
DefaultSession
SessionHandler. getSession(java.lang.String id)
Get a known existing session.DefaultSession
AbstractSessionHandler. removeSession(java.lang.String id, boolean invalidate)
DefaultSession
AbstractSessionHandler. removeSession(java.lang.String id, boolean invalidate, Session.DestroyedReason reason)
DefaultSession
SessionHandler. removeSession(java.lang.String id, boolean invalidate)
Remove session from manager.DefaultSession
SessionHandler. removeSession(java.lang.String id, boolean invalidate, Session.DestroyedReason reason)
DefaultSession
AbstractSessionCache. renewSessionId(java.lang.String oldId, java.lang.String newId)
DefaultSession
SessionCache. renewSessionId(java.lang.String oldId, java.lang.String newId)
Change the id of a Session.Methods in com.aspectran.core.component.session with parameters of type DefaultSession Modifier and Type Method Description void
AbstractSessionCache. checkInactiveSession(DefaultSession session)
Check a session for being inactive and thus being able to be evicted, if eviction is enabled.void
SessionCache. checkInactiveSession(DefaultSession session)
Check a Session to see if it might be appropriate to evict or expire.protected abstract DefaultSession
AbstractSessionCache. doPutIfAbsent(java.lang.String id, DefaultSession session)
Put the session into the map if it wasn't already there.protected DefaultSession
DefaultSessionCache. doPutIfAbsent(java.lang.String id, DefaultSession session)
protected abstract boolean
AbstractSessionCache. doReplace(java.lang.String id, DefaultSession oldValue, DefaultSession newValue)
Replace the mapping from id to oldValue with newValue.protected boolean
DefaultSessionCache. doReplace(java.lang.String id, DefaultSession oldValue, DefaultSession newValue)
void
AbstractSessionHandler. recordSessionTime(DefaultSession session)
void
SessionHandler. recordSessionTime(DefaultSession session)
Record length of time session has been active.void
AbstractSessionCache. release(java.lang.String id, DefaultSession session)
void
SessionCache. release(java.lang.String id, DefaultSession session)
Finish using a Session.void
AbstractSessionHandler. releaseSession(DefaultSession session)
void
SessionHandler. releaseSession(DefaultSession session)
protected void
AbstractSessionCache. renewSessionId(DefaultSession session, java.lang.String newId)
Swap the id on a session.void
AbstractSessionHandler. sessionInactivityTimerExpired(DefaultSession session, long now)
void
SessionHandler. sessionInactivityTimerExpired(DefaultSession session, long now)
Each session has a timer that is configured to go off when either the session has not been accessed for a configurable amount of time, or the session itself has passed its expiry.Method parameters in com.aspectran.core.component.session with type arguments of type DefaultSession Modifier and Type Method Description protected abstract DefaultSession
AbstractSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,DefaultSession> mappingFunction)
Compute the mappingFunction to create a Session object if the session with the given id isn't already in the map, otherwise return the existing Session.protected DefaultSession
DefaultSessionCache. doComputeIfAbsent(java.lang.String id, java.util.function.Function<java.lang.String,DefaultSession> mappingFunction)
-