@Retained
  EntryEventImpl generateEvictDestroyEvent(final Object key) {
    @Retained
    EntryEventImpl event = entryEventFactory.create(this, Operation.EVICT_DESTROY, key,
        null, null, false, getMyId());

    if (generateEventID()) {
      event.setNewEventId(cache.getDistributedSystem());
    }
    return event;
  }
Creates an event for EVICT_DESTROY operations. It is intended that this method be overridden to
allow for special handling of Partitioned Regions.

@param key - the key that this event is related to
@return an event for EVICT_DESTROY
geode-core/src/main/java/org/apache/geode/internal/cache/LocalRegion.java