@Override
    public boolean equals(Object o) {
      if (this == o) {
        return true;
      }
      if (o == null || getClass() != o.getClass()) {
        return false;
      }
      ManagerKey that = (ManagerKey) o;
      return Objects.equals(zkAddr, that.zkAddr) && instanceType == that.instanceType && Objects.equals(clusterName,
          that.clusterName) && Objects.equals(instanceName, that.instanceName);
    }
Hashable key used to cache instances of {@link HelixManager} that match desired parameters.
Exposed for use in testing.
ambry-clustermap/src/main/java/com/github/ambry/clustermap/HelixFactory.java