Package net.rubyeye.xmemcached.impl
Class AbstractMemcachedSessionLocator
java.lang.Object
net.rubyeye.xmemcached.impl.AbstractMemcachedSessionLocator
- All Implemented Interfaces:
MemcachedSessionLocator
- Direct Known Subclasses:
ArrayMemcachedSessionLocator
,ElectionMemcachedSessionLocator
,KetamaMemcachedSessionLocator
,LibmemcachedMemcachedSessionLocator
,PHPMemcacheSessionLocator
public abstract class AbstractMemcachedSessionLocator
extends Object
implements MemcachedSessionLocator
Abstract session locator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
setFailureMode
(boolean failureMode) Configure failure modeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface net.rubyeye.xmemcached.MemcachedSessionLocator
getSessionByKey, updateSessions
-
Field Details
-
failureMode
protected boolean failureMode
-
-
Constructor Details
-
AbstractMemcachedSessionLocator
public AbstractMemcachedSessionLocator()
-
-
Method Details
-
setFailureMode
public void setFailureMode(boolean failureMode) Description copied from interface:MemcachedSessionLocator
Configure failure mode- Specified by:
setFailureMode
in interfaceMemcachedSessionLocator
- Parameters:
failureMode
- true is using failure mode
-