public abstract class AbstractCachingRegionResolver extends org.apache.geode.cache.util.CacheListenerAdapter implements RegionResolver
RegionResolver
implementation capable of caching the results of a Region resolution (lookup) operation.Region
,
CacheListener
,
CacheListenerAdapter
,
RegionResolver
Constructor and Description |
---|
AbstractCachingRegionResolver() |
Modifier and Type | Method and Description |
---|---|
void |
afterRegionDestroy(org.apache.geode.cache.RegionEvent event)
Clears the cache entry for the
Region identified by the RegionEvent . |
protected abstract <K,V> org.apache.geode.cache.Region<K,V> |
doResolve(String regionName)
|
<K,V> org.apache.geode.cache.Region<K,V> |
resolve(String regionName)
Returns a
Region resolved with the given name . |
afterCreate, afterDestroy, afterInvalidate, afterRegionClear, afterRegionCreate, afterRegionInvalidate, afterRegionLive, afterUpdate, close
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
require
@Nullable public <K,V> org.apache.geode.cache.Region<K,V> resolve(@Nullable String regionName)
RegionResolver
Region
resolved with the given name
.@Nullable protected abstract <K,V> org.apache.geode.cache.Region<K,V> doResolve(@Nullable String regionName)
public void afterRegionDestroy(@Nullable org.apache.geode.cache.RegionEvent event)
Region
identified by the RegionEvent
.afterRegionDestroy
in interface org.apache.geode.cache.CacheListener
afterRegionDestroy
in class org.apache.geode.cache.util.CacheListenerAdapter
event
- RegionEvent
object capturing the details of the Region
destroyed event.RegionEvent
,
remove(String)
Copyright © 2011–2021 Pivotal Software, Inc.. All rights reserved.