@Override
  public CacheStatistics getStatistics() {
    // prefer entry destroyed exception over statistics disabled exception
    basicGetEntry();
    if (!region.isStatisticsEnabled()) {
      throw new StatisticsDisabledException(
          String.format("Statistics disabled for region '%s'", region.getFullPath()));
    }
    return new CacheStatisticsImpl(basicGetEntry(), region);
  }
To get the value from region in serialized form

@return {@link VMCachedDeserializable}
geode-core/src/main/java/org/apache/geode/internal/cache/NonTXEntry.java