public Set<Region<?, ?>> createRegions(Map<String, String> regionNames) {
	Set<Region<?, ?>> regions = new HashSet<Region<?, ?>>();

	proxyRegionFactory = cache.createClientRegionFactory(ClientRegionShortcut.PROXY);

	for (String regionPath : regionNames.keySet()) {
	    Region region = createRegion(regionPath, regionNames.get(regionPath));

	    regions.add(region);
	}

	return regions;
    }
public Set<Region<?, ?>> createRegions(Map<String, String> regionNames) {
	Set<Region<?, ?>> regions = new HashSet<Region<?, ?>>();

	proxyRegionFactory = cache.createClientRegionFactory(ClientRegionShortcut.PROXY);

	for (String regionPath : regionNames.keySet()) {
	    Region region = createRegion(regionPath, regionNames.get(regionPath));

	    regions.add(region);
	}

	return regions;
    }
public Set < Region < ? , ? > > createRegions ( Map < String , String > regionNames ) { Set < Region < ? , ? > > regions = new HashSet < Region < ? , ? > > ( ) ; proxyRegionFactory = cache . createClientRegionFactory ( ClientRegionShortcut . PROXY ) ; for ( String regionPath : regionNames . keySet ( ) ) { Region region = createRegion ( regionPath , regionNames . get ( regionPath ) ) ; regions . add ( region ) ; } return regions ; }
Creates regions structure similar to server region structure.

@param regionNames names of the regions to reconstruct.
@return set of created regions.
Creates regions structure similar to server region structure .