public Object getLocalValueOnDiskOrBuffer(final Object key, int bucketId) {
    try {
      BucketRegion br = getInitializedBucketForId(key, bucketId);
      return br.getValueOnDiskOrBuffer(key);
    } catch (ForceReattemptException e) {
      e.checkKey(key);
      return null;
    }
  }
This method is intended for testing purposes only. DO NOT use in product code.
geode-core/src/main/java/org/apache/geode/internal/cache/PartitionedRegionDataStore.java