@Override
  public Object setUserAttribute(Object value) {
    checkTX();
    throwIfUAOperationForPR();
    TXEntryUserAttrState tx = txWriteUA(keyInfo);
    if (tx != null) {
      return tx.setPendingValue(value);
    } else {
      checkEntryDestroyed();
      return localRegion.getEntryUserAttributes().put(keyInfo, value);
    }
  }
Create an Entry given a key. The returned Entry may or may not be destroyed
geode-core/src/main/java/org/apache/geode/internal/cache/TXEntry.java