gedi.solutions.geode.functions.ClientRegionDictionary Maven / Gradle / Ivy
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);
}
}
© 2015 - 2026 Weber Informatics LLC | Privacy Policy