private void createRegion() {
   String regionName = GemFireCachePrms.getRegionName();
   String regionConfig = ConfigPrms.getRegionConfig();
   if (RegionHelper.getRegion(regionName) == null) {
     RegionHelper.createRegion(regionName, regionConfig);
   }
   Region region = RegionHelper.getRegion(regionName);
   EdgeHelper.addThreadLocalConnection(region);
 }
 private void createDataInRegion() {
   String regionName = GemFireCachePrms.getRegionName();
   Region region = RegionHelper.getRegion(regionName);
   if (this.useTransactions) {
     this.begin();
   }
   do {
     int key = getNextKey();
     executeTaskTerminator(); // commits at task termination
     executeWarmupTerminator(); // commits at warmup termination
     createInRegion(key, region);
     ++this.batchCount;
     ++this.count;
     ++this.keyCount;
     ++this.iterationsSinceTxEnd;
   } while (!executeBatchTerminator()); // commits at batch termination
 }