@Override
  public boolean equals(Object obj) {
    if (!(obj instanceof TXEntry)) {
      return false;
    }
    TXEntry lre = (TXEntry) obj;
    return keyInfo.getKey().equals(lre.keyInfo.getKey())
        && getRegion() == lre.getRegion();
  }
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