public RegionFactory<K, V> setCompressor(Compressor compressor) {
    attrsFactory.setCompressor(compressor);
    return this;
  }
Set the compressor to be used by this region for compressing region entry values.

@param compressor a compressor
@return a reference to this RegionFactory instance
@since GemFire 8.0
geode-core/src/main/java/org/apache/geode/cache/RegionFactory.java