private void doWithIndexInUpdateMode(Runnable r) {
    final IndexManager oqlIndexManager = getInitializedIndexManager();
    if (oqlIndexManager != null) {
      try {
        r.run();
      } finally {
        oqlIndexManager.countDownIndexUpdaters();
      }
    } else {
      r.run();
    }
  }
@return regionEntry if put completed, otherwise null.
geode-core/src/main/java/org/apache/geode/internal/cache/map/AbstractRegionMapPut.java