Package net.rubyeye.xmemcached
Interface MemcachedSessionComparator
-
- All Superinterfaces:
Comparator<Session>
- All Known Implementing Classes:
AddressMemcachedSessionComparator,IndexMemcachedSessionComparator
public interface MemcachedSessionComparator extends Comparator<Session>
Session comparator.- Author:
- Jungsub Shin
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcompare(Session o1, Session o2)Returns a session by special key.-
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
-
-
-
Method Detail
-
compare
int compare(Session o1, Session o2)
Returns a session by special key.- Specified by:
comparein interfaceComparator<Session>- Parameters:
key-- Returns:
-
-