org.norther.tammi.spray.session
Interface SessionManager

All Superinterfaces:
Cache<String,AuthenticatedSession>, CachedMap<String,AuthenticatedSession>, ConcurrentMap<String,AuthenticatedSession>, Configurable, Manager, Map<String,AuthenticatedSession>, Startable
All Known Implementing Classes:
DefaultSessionManager

public interface SessionManager
extends Cache<String,AuthenticatedSession>, Manager

An interface to session caches.

Version:
$Id: SessionManager.java,v 1.18 2009/09/28 15:08:29 cvsimp Exp $
Author:
Ilkka Priha

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.norther.tammi.acorn.cache.CachedMap
CachedMap.Value<K,V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Nested classes/interfaces inherited from interface org.norther.tammi.spray.session.Manager
Manager.SessionPolicy
 
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
addHttpSessionAttributeListener, addHttpSessionListener, addServletContextAttributeListener, addServletContextListener, addServletRequestAttributeListener, addServletRequestListener, createSession, createSession, expireAll, expireSession, getDefaultExpirationTime, getHttpSessionClassName, getIdLength, getInitialExpirationTime, getRequestDispatcherClassName, getServletContext, getSession, getUserSessionPolicy, getUserSessions, getUserSessions, isDistributable, load, registerUserPrincipal, removeHttpSessionAttributeListener, removeHttpSessionListener, removeServletContextAttributeListener, removeServletContextListener, removeServletRequestAttributeListener, removeServletRequestListener, setDefaultExpirationTime, setDistributable, setHttpSessionClassName, setIdLength, setInitialExpirationTime, setRequestDispatcherClassName, setSessionExpirationTime, setUserSessionPolicy, unload, unregisterUserPrincipal, userPrincipalSet
 
Methods inherited from interface org.norther.tammi.core.config.Configurable
addProperty, addProperty, addPropertyFilePath, addPropertyFilePath, clearProperties, containsProperty, getConfigKey, getProperties, getProperty, getPropertyFilePath, getPropertyFilePaths, indexOfProperty, propertyMap, propertyMap, removeProperty, removeProperty, removePropertyFilePath, setConfigKey, setProperties, setProperty, setPropertyFilePath, setPropertyFilePath, setPropertyFilePaths, setPropertyFilePaths, storeProperties
 
Methods inherited from interface org.norther.tammi.core.base.Startable
isStarted, start, stop
 

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.