public class GrailsConcurrentMapCache extends org.springframework.cache.concurrent.ConcurrentMapCache implements GrailsCache
Constructor and Description |
---|
GrailsConcurrentMapCache(java.lang.String name) |
GrailsConcurrentMapCache(java.lang.String name,
boolean allowNullValues) |
GrailsConcurrentMapCache(java.lang.String name,
java.util.concurrent.ConcurrentMap<java.lang.Object,java.lang.Object> store,
boolean allowNullValues) |
Modifier and Type | Method and Description |
---|---|
GrailsValueWrapper |
get(java.lang.Object key) |
java.util.Collection<java.lang.Object> |
getAllKeys() |
clear, evict, fromStoreValue, get, getName, getNativeCache, isAllowNullValues, put, putIfAbsent, toStoreValue
public GrailsConcurrentMapCache(java.lang.String name)
public GrailsConcurrentMapCache(java.lang.String name, boolean allowNullValues)
public GrailsConcurrentMapCache(java.lang.String name, java.util.concurrent.ConcurrentMap<java.lang.Object,java.lang.Object> store, boolean allowNullValues)
public GrailsValueWrapper get(java.lang.Object key)
get
in interface org.springframework.cache.Cache
get
in class org.springframework.cache.concurrent.ConcurrentMapCache
public java.util.Collection<java.lang.Object> getAllKeys()
getAllKeys
in interface GrailsCache