public class LRUCache extends LinkedHashMap<String,net.sohelp.boot.admin.core.db.cache.LRUCache.ExpireNode<Object>>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
构造器和说明 |
---|
LRUCache(int capacity,
long expire) |
限定符和类型 | 方法和说明 |
---|---|
void |
delete(String name) |
Object |
get(String name,
String key) |
void |
put(String name,
String key,
Object value) |
void |
put(String name,
String key,
Object value,
long ttl) |
protected boolean |
removeEldestEntry(Map.Entry<String,net.sohelp.boot.admin.core.db.cache.LRUCache.ExpireNode<Object>> eldest) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, values
clone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
equals, hashCode, toString
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
public void delete(String name)
protected boolean removeEldestEntry(Map.Entry<String,net.sohelp.boot.admin.core.db.cache.LRUCache.ExpireNode<Object>> eldest)
removeEldestEntry
在类中 LinkedHashMap<String,net.sohelp.boot.admin.core.db.cache.LRUCache.ExpireNode<Object>>
Copyright © 2025. All rights reserved.