Uses of Class
com.aspectran.core.component.session.ManagedSession
Packages that use ManagedSession
-
Uses of ManagedSession in com.aspectran.core.component.session
Methods in com.aspectran.core.component.session that return ManagedSessionModifier and TypeMethodDescriptionAdd an entirely new session to the cache.AbstractSessionManager.createSession
(String id) SessionManager.createSession
(String id) Create an entirely new Session.Remove a Session completely: from both this cache and the SessionStore.protected abstract ManagedSession
AbstractSessionCache.doComputeIfAbsent
(String id, Function<String, ManagedSession> 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 ManagedSession
DefaultSessionCache.doComputeIfAbsent
(String id, Function<String, ManagedSession> mappingFunction) protected abstract ManagedSession
Remove the session with this identity from the store.protected ManagedSession
protected abstract ManagedSession
Get the session matching the key.protected ManagedSession
protected abstract ManagedSession
AbstractSessionCache.doPutIfAbsent
(String id, ManagedSession session) Put the session into the map if it wasn't already there.protected ManagedSession
DefaultSessionCache.doPutIfAbsent
(String id, ManagedSession session) Get an existing Session.AbstractSessionManager.getSession
(String id) SessionManager.getSession
(String id) Get a known existing session.AbstractSessionManager.removeSession
(String id, boolean invalidate) AbstractSessionManager.removeSession
(String id, boolean invalidate, Session.DestroyedReason reason) SessionManager.removeSession
(String id, boolean invalidate) Remove session from manager.SessionManager.removeSession
(String id, boolean invalidate, Session.DestroyedReason reason) AbstractSessionCache.renewSessionId
(String oldId, String newId) SessionCache.renewSessionId
(String oldId, String newId) Change the id of a Session.Methods in com.aspectran.core.component.session with parameters of type ManagedSessionModifier and TypeMethodDescriptionboolean
AbstractSessionCache.checkInactiveSession
(ManagedSession session) Check a session for being inactive and thus being able to be evicted, if eviction is enabled.boolean
SessionCache.checkInactiveSession
(ManagedSession session) Check a Session to see if it might be appropriate to evict or expire.protected abstract ManagedSession
AbstractSessionCache.doPutIfAbsent
(String id, ManagedSession session) Put the session into the map if it wasn't already there.protected ManagedSession
DefaultSessionCache.doPutIfAbsent
(String id, ManagedSession session) void
AbstractSessionManager.recordSessionTime
(ManagedSession session) void
SessionManager.recordSessionTime
(ManagedSession session) Record length of time session has been active.void
AbstractSessionCache.refresh
(ManagedSession session) void
SessionCache.refresh
(ManagedSession session) Refreshes the data of the session to be used.protected void
AbstractSessionManager.refreshSession
(ManagedSession session) void
AbstractSessionCache.release
(ManagedSession session) void
SessionCache.release
(ManagedSession session) Finish using a Session.protected void
AbstractSessionManager.releaseSession
(ManagedSession session) protected void
AbstractSessionCache.renewSessionId
(ManagedSession session, String newId) Swap the id on a session.boolean
AbstractSessionManager.sessionInactivityTimerExpired
(ManagedSession 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 ManagedSessionModifier and TypeMethodDescriptionprotected abstract ManagedSession
AbstractSessionCache.doComputeIfAbsent
(String id, Function<String, ManagedSession> 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 ManagedSession
DefaultSessionCache.doComputeIfAbsent
(String id, Function<String, ManagedSession> mappingFunction) Constructors in com.aspectran.core.component.session with parameters of type ManagedSessionModifierConstructorDescriptionSessionInactivityTimer
(AbstractSessionManager sessionManager, ManagedSession session)