public boolean equals()

in artemis-server/src/main/java/org/apache/activemq/artemis/core/config/ClusterConnectionConfiguration.java [458:556]


   public boolean equals(Object obj) {
      if (this == obj) {
         return true;
      }
      if (obj == null) {
         return false;
      }
      if (getClass() != obj.getClass()) {
         return false;
      }
      ClusterConnectionConfiguration other = (ClusterConnectionConfiguration) obj;
      if (address == null) {
         if (other.address != null) {
            return false;
         }
      } else if (!address.equals(other.address)) {
         return false;
      }
      if (allowDirectConnectionsOnly != other.allowDirectConnectionsOnly) {
         return false;
      }
      if (callFailoverTimeout != other.callFailoverTimeout) {
         return false;
      }
      if (callTimeout != other.callTimeout) {
         return false;
      }
      if (clientFailureCheckPeriod != other.clientFailureCheckPeriod) {
         return false;
      }
      if (clusterNotificationAttempts != other.clusterNotificationAttempts) {
         return false;
      }
      if (clusterNotificationInterval != other.clusterNotificationInterval) {
         return false;
      }
      if (confirmationWindowSize != other.confirmationWindowSize) {
         return false;
      }
      if (connectionTTL != other.connectionTTL) {
         return false;
      }
      if (connectorName == null) {
         if (other.connectorName != null) {
            return false;
         }
      } else if (!connectorName.equals(other.connectorName)) {
         return false;
      }
      if (discoveryGroupName == null) {
         if (other.discoveryGroupName != null) {
            return false;
         }
      } else if (!discoveryGroupName.equals(other.discoveryGroupName)) {
         return false;
      }
      if (duplicateDetection != other.duplicateDetection) {
         return false;
      }
      if (messageLoadBalancingType != other.messageLoadBalancingType) {
         return false;
      }
      if (maxHops != other.maxHops) {
         return false;
      }
      if (maxRetryInterval != other.maxRetryInterval) {
         return false;
      }
      if (minLargeMessageSize != other.minLargeMessageSize) {
         return false;
      }
      if (name == null) {
         if (other.name != null) {
            return false;
         }
      } else if (!name.equals(other.name)) {
         return false;
      }
      if (initialConnectAttempts != other.initialConnectAttempts) {
         return false;
      }
      if (reconnectAttempts != other.reconnectAttempts) {
         return false;
      }
      if (retryInterval != other.retryInterval) {
         return false;
      }
      if (Double.doubleToLongBits(retryIntervalMultiplier) != Double.doubleToLongBits(other.retryIntervalMultiplier)) {
         return false;
      }
      if (staticConnectors == null) {
         if (other.staticConnectors != null) {
            return false;
         }
      } else if (!staticConnectors.equals(other.staticConnectors)) {
         return false;
      }
      return true;
   }