public abstract class AbstractCachingCacheResolver<T extends org.apache.geode.cache.GemFireCache> extends Object implements CacheResolver<T>
CacheResolver
implementation to "cache" the instance reference to the (single)
GemFireCache
so that the GemFireCache
object is only ever resolved once.GemFireCache
,
CacheResolver
Constructor and Description |
---|
AbstractCachingCacheResolver() |
Modifier and Type | Method and Description |
---|---|
protected abstract T |
doResolve()
Performs the actual resolution process of the
GemFireCache object iff the cache reference
is not already cached. |
T |
resolve()
Resolves the instance reference to the
GemFireCache implementation. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
get
public T resolve()
CacheResolver
GemFireCache
implementation.resolve
in interface CacheResolver<T extends org.apache.geode.cache.GemFireCache>
GemFireCache
implementation.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.