org.onebusaway.sms.impl
@Component public class SessionManagerImpl extends Object implements SessionManager
Constructor and Description |
---|
SessionManagerImpl() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
getContext(String key)
SessionManager Interface |
void |
setSessionReapearFrequency(int sessionReaperFrequency)
The frequency with which we'll check for stale sessions
|
void |
setSessionTimeout(int sessionTimeout)
Timeout, in seconds, at which point a session will be considered stale
|
void |
start() |
void |
stop() |
public void setSessionReapearFrequency(int sessionReaperFrequency)
sessionReaperFrequency
- time, in secondspublic void setSessionTimeout(int sessionTimeout)
sessionTimeout
- time, in seconds@PostConstruct public void start()
@PreDestroy public void stop()
public Map<String,Object> getContext(String key)
SessionManager
InterfacegetContext
in interface SessionManager
Copyright © 2014 OneBusAway. All Rights Reserved.