public static List<EntryEvent<?, ?>> getPutEvents(List<CacheEvent<?, ?>> cacheEvents) {
    return getEntryEventsWithOperation(cacheEvents, Operation::isUpdate);
  }
Selects the entry update events from a list of cache events.

@param cacheEvents the cache events from which to select update events
@return list of entry update events from the given cache events
geode-junit/src/main/java/org/apache/geode/cache/util/TxEventTestUtil.java