Package net.rubyeye.xmemcached.impl
Class IndexMemcachedSessionComparator
- java.lang.Object
-
- net.rubyeye.xmemcached.impl.IndexMemcachedSessionComparator
-
- All Implemented Interfaces:
java.io.Serializable,java.util.Comparator<Session>,MemcachedSessionComparator
public class IndexMemcachedSessionComparator extends java.lang.Object implements MemcachedSessionComparator, java.io.Serializable
Connection comparator,compare with index- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description IndexMemcachedSessionComparator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intcompare(Session o1, Session o2)Returns a session by special key.
-
-
-
Field Detail
-
serialVersionUID
static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
compare
public int compare(Session o1, Session o2)
Description copied from interface:MemcachedSessionComparatorReturns a session by special key.- Specified by:
comparein interfacejava.util.Comparator<Session>- Specified by:
comparein interfaceMemcachedSessionComparator
-
-