public static void createParameterizedQueryRegion() {
    try {
      if (logger.isDebugEnabled()) {
        logger.debug("Starting creation of  __ParameterizedQueries__ region");
      }
      InternalCache cache = CacheFactoryStatics.getAnyInstance();
      if (cache != null) {
        InternalRegionFactory<String, String> factory =
            cache.createInternalRegionFactory(RegionShortcut.REPLICATE);
        factory.setConcurrencyChecksEnabled(false);
        factory.setKeyConstraint(String.class);
        factory.setStatisticsEnabled(false);
        factory.setValueConstraint(String.class);
        factory.setIsUsedForMetaRegion(true);
        factory.create("__ParameterizedQueries__");
        if (logger.isDebugEnabled()) {
          logger.debug("Successfully created __ParameterizedQueries__ region");
        }
      } else {
        logger.error("Cannot create ParameterizedQueries Region as no cache found!");
      }
    } catch (Exception e) {
      if (logger.isDebugEnabled()) {
        logger.debug("Error creating __ParameterizedQueries__ Region with cause {}", e.getMessage(),
            e);
      }
    }
  }
This method will create a REPLICATED region named _ParameterizedQueries__. In developer REST
APIs, this region will be used to store the queryId and queryString as a key and value
respectively.
geode-core/src/main/java/org/apache/geode/management/internal/RestAgent.java