public class LruTraceCache extends LinkedHashMap<String,TraceObject>
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
LruTraceCache() |
| Modifier and Type | Method and Description |
|---|---|
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, toStringfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, 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 in class LinkedHashMap<String,TraceObject>public String printStack()
public void clearMemory()
Copyright © 2019 mariadb.org. All rights reserved.