Package org.springframework.data.gemfire
Interface RegionResolver
- All Known Implementing Classes:
AbstractCachingRegionResolver
,BeanFactoryRegionResolver
,ComposableRegionResolver
,RegionServiceRegionResolver
,SingleRegionRegionResolver
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
The
RegionResolver
interface is a Strategy interface used to encapsulate different algorithms
(Strategies) used to resolve a cache Region
.- Since:
- 2.3.0
- Author:
- John Blum
- See Also:
-
Method Summary
-
Method Details
-
resolve
-
require
- Type Parameters:
K
-type
of theRegion
key.V
-type
of theRegion
value;- Parameters:
regionName
-name
of theRegion
to resolve; must not be null.- Returns:
- the resolved
Region
with the givenname
; never null. - Throws:
IllegalStateException
- if the resolvedRegion
is null, i.e. does not exist.- See Also:
-