public class LruTraceCache extends LinkedHashMap<String,TraceObject>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| 构造器和说明 |
|---|
LruTraceCache() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
clearMemory()
Permit to clear array's of array, to help garbage.
|
String |
printStack()
Value of trace cache in a readable format.
|
TraceObject |
put(TraceObject value)
Add value to map.
|
protected boolean |
removeEldestEntry(Map.Entry<String,TraceObject> eldest) |
clear, containsValue, entrySet, forEach, get, getOrDefault, keySet, replaceAll, valuesclone, compute, computeIfAbsent, computeIfPresent, containsKey, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizeequals, hashCode, toStringcompute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, sizepublic TraceObject put(TraceObject value)
value - value to addprotected boolean removeEldestEntry(Map.Entry<String,TraceObject> eldest)
removeEldestEntry 在类中 LinkedHashMap<String,TraceObject>public String printStack()
public void clearMemory()
Copyright © 2024 oceanbase.com. All rights reserved.