public class ElectionMemcachedSessionLocator extends AbstractMemcachedSessionLocator
failureMode| 构造器和说明 |
|---|
ElectionMemcachedSessionLocator() |
ElectionMemcachedSessionLocator(HashAlgorithm hashAlgorithm) |
| 限定符和类型 | 方法和说明 |
|---|---|
Session |
getSessionByKey(String key)
Returns a session by special key.
|
void |
updateSessions(Collection<Session> list)
Update sessions when session was added or removed.
|
setFailureModepublic ElectionMemcachedSessionLocator()
public ElectionMemcachedSessionLocator(HashAlgorithm hashAlgorithm)
public Session getSessionByKey(String key)
MemcachedSessionLocatorpublic void updateSessions(Collection<Session> list)
MemcachedSessionLocatorlist - The newer sessionsCopyright © 2013. All Rights Reserved.