protected boolean removeEldestEntry(Map.Entry<K, V> eldest) {
        return this.size() > this.maxSize;
    }
Not Thread safe

@author Taejin Koo
commons/src/main/java/com/navercorp/pinpoint/common/util/LRUCache.java