Package org.springframework.data.gemfire
Interface CacheResolver<T extends org.apache.geode.cache.GemFireCache>
- Type Parameters:
T
-subclass
ofGemFireCache
.
- All Superinterfaces:
Supplier<T>
- All Known Implementing Classes:
AbstractCachingCacheResolver
,BeanFactoryCacheResolver
,CacheFactoryCacheResolver
,ClientCacheFactoryCacheResolver
,ComposableCacheResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface
public interface CacheResolver<T extends org.apache.geode.cache.GemFireCache>
extends Supplier<T>
Strategy interface for resolving a instance reference to a
GemFireCache
.- Since:
- 2.3.0
- See Also:
-
Supplier
Cache
GemFireCache
ClientCache
-
Method Summary
-
Method Details
-
get
Gets the resolved instance of theGemFireCache
. -
resolve
T resolve()Resolves the instance reference to theGemFireCache
implementation.- Returns:
- a instance reference to a
GemFireCache
implementation.
-