Module io.ebean.core
Package io.ebeaninternal.server.cache
Class DefaultServerCache.CompareByLastAccess
java.lang.Object
io.ebeaninternal.server.cache.DefaultServerCache.CompareByLastAccess
- All Implemented Interfaces:
Serializable,Comparator<DefaultServerCache.CacheEntry>
- Enclosing class:
DefaultServerCache
public static final class DefaultServerCache.CompareByLastAccess
extends Object
implements Comparator<DefaultServerCache.CacheEntry>, Serializable
Comparator for sorting by last access sort, a copy of last access time that should not mutate during trim processing.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
CompareByLastAccess
public CompareByLastAccess()
-
-
Method Details
-
compare
- Specified by:
comparein interfaceComparator<DefaultServerCache.CacheEntry>
-