public boolean equals()

in core/src/main/thrift-gen-java/org/apache/accumulo/core/manager/thrift/TabletServerStatus.java [961:1103]


  public boolean equals(TabletServerStatus that) {
    if (that == null)
      return false;
    if (this == that)
      return true;

    boolean this_present_tableMap = true && this.isSetTableMap();
    boolean that_present_tableMap = true && that.isSetTableMap();
    if (this_present_tableMap || that_present_tableMap) {
      if (!(this_present_tableMap && that_present_tableMap))
        return false;
      if (!this.tableMap.equals(that.tableMap))
        return false;
    }

    boolean this_present_lastContact = true;
    boolean that_present_lastContact = true;
    if (this_present_lastContact || that_present_lastContact) {
      if (!(this_present_lastContact && that_present_lastContact))
        return false;
      if (this.lastContact != that.lastContact)
        return false;
    }

    boolean this_present_name = true && this.isSetName();
    boolean that_present_name = true && that.isSetName();
    if (this_present_name || that_present_name) {
      if (!(this_present_name && that_present_name))
        return false;
      if (!this.name.equals(that.name))
        return false;
    }

    boolean this_present_osLoad = true;
    boolean that_present_osLoad = true;
    if (this_present_osLoad || that_present_osLoad) {
      if (!(this_present_osLoad && that_present_osLoad))
        return false;
      if (this.osLoad != that.osLoad)
        return false;
    }

    boolean this_present_holdTime = true;
    boolean that_present_holdTime = true;
    if (this_present_holdTime || that_present_holdTime) {
      if (!(this_present_holdTime && that_present_holdTime))
        return false;
      if (this.holdTime != that.holdTime)
        return false;
    }

    boolean this_present_lookups = true;
    boolean that_present_lookups = true;
    if (this_present_lookups || that_present_lookups) {
      if (!(this_present_lookups && that_present_lookups))
        return false;
      if (this.lookups != that.lookups)
        return false;
    }

    boolean this_present_indexCacheHits = true;
    boolean that_present_indexCacheHits = true;
    if (this_present_indexCacheHits || that_present_indexCacheHits) {
      if (!(this_present_indexCacheHits && that_present_indexCacheHits))
        return false;
      if (this.indexCacheHits != that.indexCacheHits)
        return false;
    }

    boolean this_present_indexCacheRequest = true;
    boolean that_present_indexCacheRequest = true;
    if (this_present_indexCacheRequest || that_present_indexCacheRequest) {
      if (!(this_present_indexCacheRequest && that_present_indexCacheRequest))
        return false;
      if (this.indexCacheRequest != that.indexCacheRequest)
        return false;
    }

    boolean this_present_dataCacheHits = true;
    boolean that_present_dataCacheHits = true;
    if (this_present_dataCacheHits || that_present_dataCacheHits) {
      if (!(this_present_dataCacheHits && that_present_dataCacheHits))
        return false;
      if (this.dataCacheHits != that.dataCacheHits)
        return false;
    }

    boolean this_present_dataCacheRequest = true;
    boolean that_present_dataCacheRequest = true;
    if (this_present_dataCacheRequest || that_present_dataCacheRequest) {
      if (!(this_present_dataCacheRequest && that_present_dataCacheRequest))
        return false;
      if (this.dataCacheRequest != that.dataCacheRequest)
        return false;
    }

    boolean this_present_logSorts = true && this.isSetLogSorts();
    boolean that_present_logSorts = true && that.isSetLogSorts();
    if (this_present_logSorts || that_present_logSorts) {
      if (!(this_present_logSorts && that_present_logSorts))
        return false;
      if (!this.logSorts.equals(that.logSorts))
        return false;
    }

    boolean this_present_flushs = true;
    boolean that_present_flushs = true;
    if (this_present_flushs || that_present_flushs) {
      if (!(this_present_flushs && that_present_flushs))
        return false;
      if (this.flushs != that.flushs)
        return false;
    }

    boolean this_present_syncs = true;
    boolean that_present_syncs = true;
    if (this_present_syncs || that_present_syncs) {
      if (!(this_present_syncs && that_present_syncs))
        return false;
      if (this.syncs != that.syncs)
        return false;
    }

    boolean this_present_version = true && this.isSetVersion();
    boolean that_present_version = true && that.isSetVersion();
    if (this_present_version || that_present_version) {
      if (!(this_present_version && that_present_version))
        return false;
      if (!this.version.equals(that.version))
        return false;
    }

    boolean this_present_responseTime = true;
    boolean that_present_responseTime = true;
    if (this_present_responseTime || that_present_responseTime) {
      if (!(this_present_responseTime && that_present_responseTime))
        return false;
      if (this.responseTime != that.responseTime)
        return false;
    }

    return true;
  }