|
Groovy Documentation | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | PROPERTY | CONSTR | METHOD | DETAIL: FIELD | PROPERTY | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
java.util.LinkedHashMap
controllers.SolrCache
class SolrCache extends LinkedHashMap
local cache for storing results of last five queries
Property Summary | |
---|---|
def |
MAX_CACHE_SIZE
max cache size |
Constructor Summary | |
SolrCache()
constructor |
Method Summary | |
---|---|
protected boolean
|
removeEldestEntry(def eldest)
asking it to remove oldest entry when it reaches the max cache size |
Methods inherited from class LinkedHashMap | |
---|---|
get, clear, containsValue, put, clone, isEmpty, entrySet, putAll, size, values, remove, keySet, containsKey, hashCode, equals, toString, wait, wait, wait, getClass, notify, notifyAll |
Methods inherited from class HashMap | |
---|---|
get, put, clone, clear, isEmpty, entrySet, putAll, size, values, remove, keySet, containsKey, containsValue, hashCode, equals, toString, wait, wait, wait, getClass, notify, notifyAll |
Methods inherited from class AbstractMap | |
---|---|
get, put, hashCode, equals, clear, toString, isEmpty, entrySet, putAll, size, values, remove, keySet, containsKey, containsValue, wait, wait, wait, getClass, notify, notifyAll |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Property Detail |
---|
def MAX_CACHE_SIZE
Constructor Detail |
---|
public SolrCache()
Method Detail |
---|
protected boolean removeEldestEntry(def eldest)
Groovy Documentation