@Override
  public void invalidateExistingEntry(final EntryEventImpl event, boolean invokeCallbacks,
      boolean forceNewEntry) {
    if (bridgeContext == null) {
      bridgeContext = event.getContext();
    }
    if (hasSeenEvent(event)) {
      return;
    }
    TXEntryState tx = txWriteExistingEntry(event, null);
    assert invokeCallbacks && !forceNewEntry;
    tx.invalidate(event);
    recordEvent(event);
  }
this version of txPutEntry takes a ConcurrentMap expectedOldValue parameter. If not null, this
value must match the current value of the entry or false is returned
geode-core/src/main/java/org/apache/geode/internal/cache/TXState.java