@Override
  public int hashCode() {
    return getId();
  }
Two <code>DataSerializer</code>s are consider to be equal if they have the same id and the same
class
geode-core/src/main/java/org/apache/geode/DataSerializer.java