Package net.rubyeye.xmemcached.impl
Class AddressMemcachedSessionComparator
java.lang.Object
net.rubyeye.xmemcached.impl.AddressMemcachedSessionComparator
- All Implemented Interfaces:
Serializable
,Comparator<Session>
,MemcachedSessionComparator
public class AddressMemcachedSessionComparator
extends Object
implements MemcachedSessionComparator, Serializable
Connection comparator,compare with Address
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
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
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
-
Constructor Details
-
AddressMemcachedSessionComparator
public AddressMemcachedSessionComparator()
-
-
Method Details
-
compare
Description copied from interface:MemcachedSessionComparator
Returns a session by special key.- Specified by:
compare
in interfaceComparator<Session>
- Specified by:
compare
in interfaceMemcachedSessionComparator
- Returns:
-