@Override
  public boolean equals(Object obj) {
    if (obj == null) {
      return false;
    }
    if (this == obj) {
      return true;
    }
    if (!(obj instanceof GatewaySender)) {
      return false;
    }
    AbstractGatewaySender sender = (AbstractGatewaySender) obj;
    return sender.getId().equals(getId());
  }
A <code>Region</code> used for storing <code>GatewaySender</code> event id indexes. This
<code>Region</code> along with a <code>DistributedLock</code> facilitates creation of unique
indexes across members.
geode-core/src/main/java/org/apache/geode/internal/cache/wan/AbstractGatewaySender.java