private boolean hasSameCompressor(final RegionAttributes<?, ?> ra) {
    Compressor raCompressor = ra.getCompressor();
    if (raCompressor == null) {
      return Strings.isNullOrEmpty(getCompressorClassName());
    }
    return raCompressor.getClass().getName().equals(getCompressorClassName());
  }
Creates a new <code>DiskRegion</code> that access disk on behalf of the given region.
geode-core/src/main/java/org/apache/geode/internal/cache/DiskRegion.java