org.hibernate.util
public class LRUMap extends java.util.LinkedHashMap implements java.io.Serializable
Map
interface. Instances
are not thread-safe and should be synchronized externally, for instance by
using Collections.synchronizedMap(java.util.Map)
.Constructor and Description |
---|
LRUMap(int maxEntries) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
removeEldestEntry(java.util.Map.Entry eldest) |
clone, containsKey, entrySet, isEmpty, keySet, put, putAll, remove, size, values
Copyright © 2014. All Rights Reserved.