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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidafterRegionDestroy(RegionEvent event) Clears the cache entry for theRegionidentified 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, closeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.geode.cache.Declarable
init, initializeMethods 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 theRegionidentified by theRegionEvent.- Specified by:
afterRegionDestroyin interfaceCacheListener- Overrides:
afterRegionDestroyin classCacheListenerAdapter- Parameters:
event-RegionEventobject capturing the details of theRegiondestroyed event.- See Also:
-
RegionEventremove(String)
-