private void setDelta(int delta) {
    if (!getCallbackDisabled()) {
      if (getMustRemove()) {
        // after implementation of network-partition-detection we may
        // run into situations where a cache listener performs a cache
        // operation that needs to update LRU stats. In order to do this
        // we first have to execute the previous LRU actions.
        lruUpdateCallback();
      }
      setMustRemove(true);
    }
    Integer delt = (Integer) lruDelta.get();
    if (delt != null) {
      delta += delt;
    }
    lruDelta.set(delta);
  }
The delta produced during a put for activating LRU cannot be used while some outside party
(LocalRegion) has a segment locked... so we'll keep it in a thread local for a callback after
the segment is released.
geode-core/src/main/java/org/apache/geode/internal/cache/VMLRURegionMap.java