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
- Author:
- John Blum
- See Also:
-
Constructor Summary
ConstructorDescriptionSingleRegionRegionResolver
(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
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:
-
-
Method Details
-
getRegion
Returns a reference to the configuredRegion
. -
resolve
Description copied from interface:RegionResolver
-