geode-core/src/test/java/org/apache/geode/management/internal/cli/commands/ListAndDescribeRegionDUnitTest.java
private static void createCompressedRegion(final String regionName) {
    final Cache cache = CacheFactory.getAnyInstance();

    RegionFactory<String, Integer> dataRegionFactory =
        cache.createRegionFactory(RegionShortcut.REPLICATE);
    dataRegionFactory.setCompressor(SnappyCompressor.getDefaultInstance());
    dataRegionFactory.create(regionName);
  }
/**
   * Creates a region that uses compression on region entry values.
   * 
   * @param regionName a unique region name.
   */
Creates a region that uses compression on region entry values.

@param regionName a unique region name.
Creates a region that uses compression on region entry values . @param regionName a unique region name .
private static void createCompressedRegion(final String regionName) {
    final Cache cache = CacheFactory.getAnyInstance();
    RegionFactory<String, Integer> dataRegionFactory =
        cache.createRegionFactory(RegionShortcut.REPLICATE);
    dataRegionFactory.setCompressor(SnappyCompressor.getDefaultInstance());
    dataRegionFactory.create(regionName);
  }
private static void createCompressedRegion ( final String regionName ) { final Cache cache = CacheFactory . getAnyInstance ( ) ; RegionFactory < String , Integer > dataRegionFactory = cache . createRegionFactory ( RegionShortcut . REPLICATE ) ; dataRegionFactory . setCompressor ( SnappyCompressor . getDefaultInstance ( ) ) ; dataRegionFactory . create ( regionName ) ; }
Creates a region that uses compression on region entry values.
Creates a region that uses compression on region entry values .