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
- See Also:
-
Region
-
Method Summary
-
Method Details
-
resolve
Returns aRegion
resolved with the givenname
. -
require
Requires aRegion
resolved from the givenname
.- 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:
-
Region
String
resolve(String)
-