Package org.springframework.data.gemfire
Interface CacheResolver<T extends 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.
Strategy interface for resolving a instance reference to a
GemFireCache
.- Since:
- 2.3.0
- Author:
- John Blum
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptiondefault T
get()
Gets the resolved instance of theGemFireCache
.resolve()
Resolves the instance reference to theGemFireCache
implementation.
-
Method Details
-
get
Gets the resolved instance of theGemFireCache
.- Specified by:
get
in interfaceSupplier<T extends GemFireCache>
- Returns:
- the resolved instance of the
GemFireCache
. - See Also:
-
resolve
T resolve()Resolves the instance reference to theGemFireCache
implementation.- Returns:
- a instance reference to a
GemFireCache
implementation.
-