public class LRUEvictionPolicyComparator extends EvictionPolicyComparator
EvictionPolicy.LRU policy based EvictionPolicyComparator.BOTH_OF_ENTRIES_HAVE_SAME_PRIORITY_TO_BE_EVICTED, FIRST_ENTRY_HAS_HIGHER_PRIORITY_TO_BE_EVICTED, SECOND_ENTRY_HAS_HIGHER_PRIORITY_TO_BE_EVICTED| Constructor and Description | 
|---|
| LRUEvictionPolicyComparator() | 
| Modifier and Type | Method and Description | 
|---|---|
| int | compare(EvictableEntryView e1,
       EvictableEntryView e2)Compares the given  EvictableEntryViewinstances and returns the result. | 
equals, hashCodeclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitcomparing, comparing, comparingDouble, comparingInt, comparingLong, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLongpublic int compare(EvictableEntryView e1, EvictableEntryView e2)
EvictionPolicyComparatorEvictableEntryView instances and returns the result.
 The result should be one of the
 compare in class EvictionPolicyComparatore1 - the first EvictableEntryView instance to be comparede2 - the second EvictableEntryView instance to be comparedCopyright © 2017 Hazelcast, Inc.. All Rights Reserved.