public class LruTraceCache extends LinkedHashMap<Long,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.
|
protected boolean |
removeEldestEntry(Map.Entry<Long,TraceObject> 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
finalize, getClass, notify, notifyAll, wait, wait, wait
compute, computeIfAbsent, computeIfPresent, containsKey, equals, hashCode, isEmpty, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, size
protected boolean removeEldestEntry(Map.Entry<Long,TraceObject> eldest)
removeEldestEntry
in class LinkedHashMap<Long,TraceObject>
public String printStack()
public void clearMemory()
Copyright © 2017. All rights reserved.