@Override
 public int hashCode() {
   int result = address.hashCode();
   result = 31 * result + type.hashCode();
   result = 31 * result + hosts.hashCode();
   result = 31 * result + passives.hashCode();
   result = 31 * result + arbiters.hashCode();
   result = 31 * result + (primary != null ? primary.hashCode() : 0);
   result = 31 * result + maxDocumentSize;
   result = 31 * result + maxMessageSize;
   result = 31 * result + tags.hashCode();
   result = 31 * result + (setName != null ? setName.hashCode() : 0);
   result = 31 * result + (setVersion != null ? setVersion.hashCode() : 0);
   result = 31 * result + (ok ? 1 : 0);
   result = 31 * result + state.hashCode();
   result = 31 * result + version.hashCode();
   result = 31 * result + minWireVersion;
   result = 31 * result + maxWireVersion;
   return result;
 }
 public ClusterType getClusterType() {
   return type.getClusterType();
 }