public class SingleRegionRegionResolver extends Object implements RegionResolver
RegionResolver
implementation resolving a single, configured Region
object.Region
,
RegionResolver
Constructor and Description |
---|
SingleRegionRegionResolver(org.apache.geode.cache.Region region)
Constructs a new instance of
SingleRegionRegionResolver with the given Region . |
Modifier and Type | Method and Description |
---|---|
protected <K,V> org.apache.geode.cache.Region<K,V> |
getRegion()
Returns a reference to the configured
Region . |
<K,V> org.apache.geode.cache.Region<K,V> |
resolve(String regionName)
Returns a
Region resolved with the given name . |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
require
public SingleRegionRegionResolver(@NonNull org.apache.geode.cache.Region region)
SingleRegionRegionResolver
with the given Region
.region
- Region
returned in the resolution process; must not be null.IllegalArgumentException
- if Region
is null.Region
@NonNull protected <K,V> org.apache.geode.cache.Region<K,V> getRegion()
Region
.@Nullable public <K,V> org.apache.geode.cache.Region<K,V> resolve(@Nullable String regionName)
RegionResolver
Region
resolved with the given name
.Copyright © 2011–2023 Pivotal Software, Inc.. All rights reserved.