public static HARegion getInstance(String regionName, InternalCache cache, HARegionQueue hrq,
      RegionAttributes ra, StatisticsClock statisticsClock)
      throws TimeoutException, RegionExistsException, IOException, ClassNotFoundException {

    HARegion haRegion = new HARegion(regionName, ra, null, cache, statisticsClock);
    haRegion.setOwner(hrq);
    Region region = cache.createVMRegion(regionName, ra,
        new InternalRegionArguments().setInternalMetaRegion(haRegion).setDestroyLockFlag(true)
            .setSnapshotInputStream(null).setInternalRegion(true).setImageTarget(null));

    return (HARegion) region;
  }
Returns an instance of HARegion after it has properly initialized

@param regionName name of the region to be created
@param cache the cache that owns this region
@param ra attributes of the region
@return an instance of an HARegion
@throws RegionExistsException if a region of the same name exists in the same Cache
geode-core/src/main/java/org/apache/geode/internal/cache/HARegion.java