public void setClearCountReference() {
    // acquireReadLock();
    if (LocalRegion.ISSUE_CALLBACKS_TO_CACHE_OBSERVER) {
      CacheObserverHolder.getInstance().beforeSettingDiskRef();
      childReference.set(clearCount.get());
      CacheObserverHolder.getInstance().afterSettingDiskRef();
    } else {
      childReference.set(clearCount.get());
    }
  }
ThreadLocal to be used for maintaining consistency during clear*
geode-core/src/main/java/org/apache/geode/internal/cache/DiskRegion.java