@Override
  public synchronized List getEvents() {
    if (events == null) {
      events = localTxState.getEvents();
    }
    return events;
  }
The internal implementation of the {@link TransactionEvent} interface

@since GemFire 4.0
geode-core/src/main/java/org/apache/geode/internal/cache/TXEvent.java