public static class ConcurrentLRUCache.CacheEntry<K,V> extends Object implements Comparable<ConcurrentLRUCache.CacheEntry<K,V>>
| Constructor and Description |
|---|
CacheEntry(K key,
V value,
long lastAccessed) |
| Modifier and Type | Method and Description |
|---|---|
int |
compareTo(ConcurrentLRUCache.CacheEntry<K,V> that) |
boolean |
equals(Object obj) |
int |
hashCode() |
void |
setLastAccessed(long lastAccessed) |
String |
toString() |
public void setLastAccessed(long lastAccessed)
public int compareTo(ConcurrentLRUCache.CacheEntry<K,V> that)
compareTo in interface Comparable<ConcurrentLRUCache.CacheEntry<K,V>>Copyright © 2000-2016 Apache Software Foundation. All Rights Reserved.