@Override
  public boolean initialImagePut(final InternalRegion region, final long lastModified,
      Object newValue, boolean wasRecovered, boolean acceptedVersionTag)
      throws RegionClearedException {
    // note that the caller has already write synced this RegionEntry
    return initialImageInit(region, lastModified, newValue, isTombstone(), wasRecovered,
        acceptedVersionTag);
  }
This method determines if the value is compressible and compresses it if it is.

@param context the values context.
@param value a region entry value.

@return the compressed form of the value parameter.
geode-core/src/main/java/org/apache/geode/internal/cache/entries/AbstractRegionEntry.java