public TXEntryState createReadEntry(LocalRegion r, Object entryKey, RegionEntry re, Object vId,
      Object pendingValue) {
    InternalCache cache = r.getCache();
    boolean isDistributed = false;
    if (cache.getTxManager().getTXState() != null) {
      isDistributed = cache.getTxManager().getTXState().isDistTx();
    } else {
      // TXCoordinator and datanode are same
      isDistributed = cache.getTxManager().isDistributed();
    }
    TXEntryState result = cache.getTXEntryStateFactory().createEntry(re, vId, pendingValue,
        entryKey, this, isDistributed);
    entryMods.put(entryKey, result);
    return result;
  }
TXRegionState is the entity that tracks all the changes a transaction has made to a region.


@since GemFire 4.0

@see TXManagerImpl
geode-core/src/main/java/org/apache/geode/internal/cache/TXRegionState.java