gedi.solutions.geode.functions.ClientRegionDictionary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of gedi-geode-extensions-core Show documentation
Show all versions of gedi-geode-extensions-core Show documentation
GemFire Enterprise Data Integration - common development extensions powered by Apache Geode
The newest version!
package gedi.solutions.geode.functions;
import org.apache.geode.cache.Region;
import org.apache.geode.cache.client.ClientCache;
import org.apache.geode.cache.client.ClientCacheFactory;
/**
* Use the client cache to obtain region objects
* @author Gregory Green
*
*/
public class ClientRegionDictionary implements RegionDictionary
{
public Region getRegion(String name)
{
ClientCache cache = ClientCacheFactory.getAnyInstance();
return cache.getRegion(name);
}
}