org.norther.tammi.spray.session
Interface SessionManager

All Superinterfaces:
Cache, CachedMap, ConcurrentMap, Manager, Map
All Known Implementing Classes:
DefaultSessionManager

public interface SessionManager
extends Cache, Manager

An interface to session caches.

Author:
Ilkka Priha

Nested Class Summary
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Field Summary
 
Fields inherited from interface org.norther.tammi.spray.session.Manager
ALLOW_MULTIPLE_USER_SESSIONS, EXPIRE_EXISTING_USER_SESSION, JOIN_EXISTING_USER_SESSION
 
Method Summary
 String getSerializedSessionsPath()
          Gets the path to store serialized sessions.
 void setSerializedSessionsPath(String path)
          Sets the path to store serialized sessions.
 
Methods inherited from interface org.norther.tammi.acorn.cache.CachedMap
add, add, expire, expireAll, expireFraction, get, getDefaultExpirationTime, getExpirationLimit, getExpirationSleepInterval, getExpirationThreshold, getMaxExpirationTime, isAllowExpired, isAutoRefreshDeclined, isDiscardOverloaded, put, putIfAbsent, refresh, refresh, setAllowExpired, setAutoRefreshDeclined, setDefaultExpirationTime, setDiscardOverloaded, setExpirationLimit, setExpirationSleepInterval, setExpirationThreshold, setMaxExpirationTime
 
Methods inherited from interface java.util.concurrent.ConcurrentMap
putIfAbsent, remove, replace, replace
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values
 
Methods inherited from interface org.norther.tammi.spray.session.Manager
createSession, createSession, expireAll, expireSession, getDefaultExpirationTime, getIdLength, getInitialExpirationTime, getServletContext, getSession, getUserSessionPolicy, getUserSessions, getUserSessions, isDistributable, load, registerUserPrincipal, setDefaultExpirationTime, setDistributable, setIdLength, setInitialExpirationTime, setSessionExpirationTime, setUserSessionPolicy, unload, unregisterUserPrincipal, userPrincipalSet
 

Method Detail

getSerializedSessionsPath

String getSerializedSessionsPath()
Gets the path to store serialized sessions.

Returns:
the session store path.

setSerializedSessionsPath

void setSerializedSessionsPath(String path)
Sets the path to store serialized sessions.

Parameters:
path - the session store path.


Copyright © 2004 The Norther Organization. All rights reserved.