public void setOldValue(Object v, boolean force) {
    if (v != null) {
      if (Token.isInvalidOrRemoved(v)) {
        v = null;
      } else if (shouldOldValueBeUnavailable(v, force)) {
        v = Token.NOT_AVAILABLE;
      }
    }
    retainAndSetOldValue(v);
  }
@param force true if the old value should be forcibly set, methods like putIfAbsent, etc.,
       where the old value must be available.
geode-core/src/main/java/org/apache/geode/internal/cache/EntryEventImpl.java