public void setDuringApplyChanges(Runnable duringApplyChanges) {
    internalDuringApplyChanges = duringApplyChanges;
  }
Add an internal callback which is run as each transaction change is applied.
geode-core/src/main/java/org/apache/geode/internal/cache/TXState.java