Package org.springframework.data.gemfire
Interface CacheResolver<T extends GemFireCache>
- Type Parameters:
T-subclassofGemFireCache.
- 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 Tget()Gets the resolved instance of theGemFireCache.resolve()Resolves the instance reference to theGemFireCacheimplementation.
-
Method Details
-
get
Gets the resolved instance of theGemFireCache.- Specified by:
getin interfaceSupplier<T extends GemFireCache>- Returns:
- the resolved instance of the
GemFireCache. - See Also:
-
resolve
T resolve()Resolves the instance reference to theGemFireCacheimplementation.- Returns:
- a instance reference to a
GemFireCacheimplementation.
-