public static HARegionQueue getHARegionQueueInstance(String regionName, InternalCache cache,
      final int haRgnQType,
      final boolean isDurable,
      StatisticsClock statisticsClock)
      throws IOException, ClassNotFoundException, CacheException, InterruptedException {
    Map container;
    if (haRgnQType == HARegionQueue.BLOCKING_HA_QUEUE) {
      container = new HAContainerMap(new ConcurrentHashMap<>());
    } else {
      // Should actually be HAContainerRegion, but ok if only JUnits using this
      // method.
      container = new HashMap<>();
    }

    return getHARegionQueueInstance(regionName, cache,
        HARegionQueueAttributes.DEFAULT_HARQ_ATTRIBUTES, haRgnQType, isDurable, container, null,
        Handshake.CONFLATION_DEFAULT, false, Boolean.FALSE, statisticsClock);
  }
Creates a HARegionQueue object with default attributes Used by tests

@param regionName uniquely identifies the HARegionQueue in the VM.For HARegionQueues across the
       VM to communicate with each other , the name should be identical
@param cache Gemfire Cache instance
@param haRgnQType int identifying whether the HARegionQueue is of type blocking or non blocking
@return an instance of HARegionQueue
geode-core/src/main/java/org/apache/geode/internal/cache/ha/HARegionQueue.java