@Override
  @Retained
  public Object getValueInVM(KeyInfo keyInfo, LocalRegion localRegion, boolean rememberRead) {
    TXEntryState tx =
        txReadEntry(keyInfo, localRegion, rememberRead, true/* create txEntry is absent */);
    if (tx != null) {
      return tx.getValueInVM(keyInfo);
    }
    return localRegion.nonTXbasicGetValueInVM(keyInfo);
  }
This form of txReadEntry takes a concurrent-map argument, expectedOldValue. If this parameter
is not null it must match the current value of the entry or an EntryNotFoundException is
thrown.
geode-core/src/main/java/org/apache/geode/internal/cache/TXState.java