Class AbstractCachingRegionResolver
java.lang.Object
org.apache.geode.cache.util.CacheListenerAdapter
org.springframework.data.gemfire.support.AbstractCachingRegionResolver
- All Implemented Interfaces:
CacheCallback
,CacheListener
,Declarable
,RegionResolver
- Direct Known Subclasses:
BeanFactoryRegionResolver
,ComposableRegionResolver
,RegionServiceRegionResolver
public abstract class AbstractCachingRegionResolver
extends CacheListenerAdapter
implements RegionResolver
RegionResolver
implementation capable of caching the results of a Region resolution (lookup) operation.- Since:
- 2.3.0
- Author:
- John Blum
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
afterRegionDestroy
(RegionEvent event) Clears the cache entry for theRegion
identified by theRegionEvent
.protected abstract <K,
V> Region<K, V> <K,
V> Region<K, V> Methods inherited from class org.apache.geode.cache.util.CacheListenerAdapter
afterCreate, afterDestroy, afterInvalidate, afterRegionClear, afterRegionCreate, afterRegionInvalidate, afterRegionLive, afterUpdate, close
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.apache.geode.cache.Declarable
init, initialize
Methods inherited from interface org.springframework.data.gemfire.RegionResolver
require
-
Constructor Details
-
AbstractCachingRegionResolver
public AbstractCachingRegionResolver()
-
-
Method Details
-
resolve
Description copied from interface:RegionResolver
-
doResolve
-
afterRegionDestroy
Clears the cache entry for theRegion
identified by theRegionEvent
.- Specified by:
afterRegionDestroy
in interfaceCacheListener
- Overrides:
afterRegionDestroy
in classCacheListenerAdapter
- Parameters:
event
-RegionEvent
object capturing the details of theRegion
destroyed event.- See Also:
-
RegionEvent
remove(String)
-