Spring Data for VMware GemFire
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:
-
RegionRegionResolver
-
Constructor Summary
ConstructorsConstructorDescriptionSingleRegionRegionResolver(org.apache.geode.cache.Region region) Constructs a new instance ofSingleRegionRegionResolverwith the givenRegion. -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 ofSingleRegionRegionResolverwith the givenRegion.- Parameters:
region-Regionreturned in the resolution process; must not be null.- Throws:
IllegalArgumentException- ifRegionis 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:RegionResolverReturns aRegionresolved with the givenname.
-