@Override
      public void run2() throws CacheException {
        Region region1 = getRootRegion().getSubregion(regionName);
        for (int i = 1; i <= size; i++) {
          region1.put(KEY + i, new Portfolio(i, i));
        }
        LogWriterUtils.getLogWriter()
            .info("### Number of Entries in Region :" + region1.keySet().size());
      }
Create a cache server with partitioned region.

@param server VM where to create the cache server.
@param port cache server port.
@param isAccessor if true the under lying partitioned region will not host data on this vm.
@param redundantCopies number of redundant copies for the primary bucket.
geode-cq/src/distributedTest/java/org/apache/geode/cache/query/cq/dunit/CqQueryUsingPoolDUnitTest.java