Class SingleRegionRegionResolver
java.lang.Object
org.springframework.data.gemfire.support.SingleRegionRegionResolver
- All Implemented Interfaces:
RegionResolver
RegionResolver
implementation resolving a single, configured Region
object.- Since:
- 2.3.0
- See Also:
-
Region
RegionResolver
-
Constructor Summary
ConstructorDescriptionSingleRegionRegionResolver
(org.apache.geode.cache.Region region) Constructs a new instance ofSingleRegionRegionResolver
with the givenRegion
. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.springframework.data.gemfire.RegionResolver
require
-
Constructor Details
-
SingleRegionRegionResolver
public SingleRegionRegionResolver(@NonNull org.apache.geode.cache.Region region) Constructs a new instance ofSingleRegionRegionResolver
with the givenRegion
.- Parameters:
region
-Region
returned in the resolution process; must not be null.- Throws:
IllegalArgumentException
- ifRegion
is null.- See Also:
-
Region
-
-
Method Details
-
getRegion
@NonNull protected <K,V> org.apache.geode.cache.Region<K,V> getRegion()Returns a reference to the configuredRegion
. -
resolve
Description copied from interface:RegionResolver
Returns aRegion
resolved with the givenname
.
-