@Override
  public void makeTombstone(InternalRegion region, VersionTag version)
      throws RegionClearedException {
    assert region.getVersionVector() != null;
    assert version != null;

    boolean wasTombstone = isTombstone();
    setRecentlyUsed(region);
    boolean newEntry = getValueAsToken() == Token.REMOVED_PHASE1;
    basicMakeTombstone(region);
    region.scheduleTombstone(this, version, wasTombstone);
    if (newEntry) {
      // bug #46631 - entry count is decremented by scheduleTombstone but this is a new entry
      region.getCachePerfStats().incEntryCount(1);
    }
  }
This sets the lastModified and lastAccessed time for the entry. Subclasses that do not keep
track of lastAccessed time will ignore the second parameter.

@param lastModified the time of last modification of the entry
@param lastAccessed the time the entry was last accessed
geode-core/src/main/java/org/apache/geode/internal/cache/entries/AbstractRegionEntry.java