Cache.ValueWrapper| Constructor and Description |
|---|
GemfireCache(com.gemstone.gemfire.cache.Region<?,?> region)
Creates a
GemFireCache instance. |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
evict(Object key) |
Cache.ValueWrapper |
get(Object key) |
<T> T |
get(Object key,
Class<T> type) |
String |
getName() |
com.gemstone.gemfire.cache.Region<?,?> |
getNativeCache() |
void |
put(Object key,
Object value) |
Cache.ValueWrapper |
putIfAbsent(Object key,
Object value)
Implementation to satisfy extension of the
Cache interface in Spring 4.1. |
public GemfireCache(com.gemstone.gemfire.cache.Region<?,?> region)
GemFireCache instance.region - backing GemFire regionpublic com.gemstone.gemfire.cache.Region<?,?> getNativeCache()
getNativeCache in interface Cachepublic Cache.ValueWrapper get(Object key)
public Cache.ValueWrapper putIfAbsent(Object key, Object value)
Cache interface in Spring 4.1. Don't add the Override
annotation as this will break the compilation on 4.0.putIfAbsent in interface CacheCache.putIfAbsent(java.lang.Object, java.lang.Object)