java.lang.Object | |||
↳ | org.apache.lucene.util.cache.Cache<K, V> | ||
↳ | org.apache.lucene.util.cache.SimpleMapCache<K, V> | ||
↳ | org.apache.lucene.util.cache.SimpleLRUCache<K, V> |
Simple LRU cache implementation that uses a LinkedHashMap.
This cache is not synchronized, use synchronizedCache(Cache)
if needed.
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.util.cache.SimpleMapCache
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a last-recently-used cache with the specified size.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.apache.lucene.util.cache.SimpleMapCache
| |||||||||||
From class
org.apache.lucene.util.cache.Cache
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
java.io.Closeable
|
Creates a last-recently-used cache with the specified size.