Package net.rubyeye.xmemcached.impl
Class IndexMemcachedSessionComparator
- java.lang.Object
-
- net.rubyeye.xmemcached.impl.IndexMemcachedSessionComparator
-
- All Implemented Interfaces:
Serializable,Comparator<Session>,MemcachedSessionComparator
public class IndexMemcachedSessionComparator extends Object implements MemcachedSessionComparator, Serializable
Connection comparator,compare with index- Author:
- dennis
- See Also:
- Serialized Form
-
-
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.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
public int compare(Session o1, Session o2)
Description copied from interface:MemcachedSessionComparatorReturns a session by special key.- Specified by:
comparein interfaceComparator<Session>- Specified by:
comparein interfaceMemcachedSessionComparator
-
-