@Test public void equals() { alluxio.test.util.CommonUtils.testEquals(AlluxioMasterInfo.class); }
@Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof AlluxioWorkerInfo)) { return false; } AlluxioWorkerInfo that = (AlluxioWorkerInfo) o; return Objects.equal(mCapacity, that.mCapacity) && Objects.equal(mConfiguration, that.mConfiguration) && Objects.equal(mMetrics, that.mMetrics) && Objects.equal(mRpcAddress, that.mRpcAddress) && mStartTimeMs == that.mStartTimeMs && Objects.equal(mTierCapacity, that.mTierCapacity) && Objects.equal(mTierPaths, that.mTierPaths) && mUptimeMs == that.mUptimeMs && Objects.equal(mVersion, that.mVersion); }
AlluxioWorkerInfo { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof AlluxioWorkerInfo)) { return false; } AlluxioWorkerInfo that = (AlluxioWorkerInfo) o; return Objects.equal(mCapacity, that.mCapacity) && Objects.equal(mConfiguration, that.mConfiguration) && Objects.equal(mMetrics, that.mMetrics) && Objects.equal(mRpcAddress, that.mRpcAddress) && mStartTimeMs == that.mStartTimeMs && Objects.equal(mTierCapacity, that.mTierCapacity) && Objects.equal(mTierPaths, that.mTierPaths) && mUptimeMs == that.mUptimeMs && Objects.equal(mVersion, that.mVersion); } }
AlluxioWorkerInfo { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof AlluxioWorkerInfo)) { return false; } AlluxioWorkerInfo that = (AlluxioWorkerInfo) o; return Objects.equal(mCapacity, that.mCapacity) && Objects.equal(mConfiguration, that.mConfiguration) && Objects.equal(mMetrics, that.mMetrics) && Objects.equal(mRpcAddress, that.mRpcAddress) && mStartTimeMs == that.mStartTimeMs && Objects.equal(mTierCapacity, that.mTierCapacity) && Objects.equal(mTierPaths, that.mTierPaths) && mUptimeMs == that.mUptimeMs && Objects.equal(mVersion, that.mVersion); } AlluxioWorkerInfo(); }
AlluxioWorkerInfo { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof AlluxioWorkerInfo)) { return false; } AlluxioWorkerInfo that = (AlluxioWorkerInfo) o; return Objects.equal(mCapacity, that.mCapacity) && Objects.equal(mConfiguration, that.mConfiguration) && Objects.equal(mMetrics, that.mMetrics) && Objects.equal(mRpcAddress, that.mRpcAddress) && mStartTimeMs == that.mStartTimeMs && Objects.equal(mTierCapacity, that.mTierCapacity) && Objects.equal(mTierPaths, that.mTierPaths) && mUptimeMs == that.mUptimeMs && Objects.equal(mVersion, that.mVersion); } AlluxioWorkerInfo(); Capacity getCapacity(); Map<String, String> getConfiguration(); Map<String, Long> getMetrics(); String getRpcAddress(); long getStartTimeMs(); Map<String, Capacity> getTierCapacity(); Map<String, List<String>> getTierPaths(); long getUptimeMs(); String getVersion(); AlluxioWorkerInfo setCapacity(Capacity capacity); AlluxioWorkerInfo setConfiguration(Map<String, String> configuration); AlluxioWorkerInfo setMetrics(Map<String, Long> metrics); AlluxioWorkerInfo setRpcAddress(String rpcAddress); AlluxioWorkerInfo setStartTimeMs(long startTimeMs); AlluxioWorkerInfo setTierCapacity(Map<String, Capacity> tierCapacity); AlluxioWorkerInfo setTierPaths(Map<String, List<String>> tierPaths); AlluxioWorkerInfo setUptimeMs(long uptimeMs); AlluxioWorkerInfo setVersion(String version); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
AlluxioWorkerInfo { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof AlluxioWorkerInfo)) { return false; } AlluxioWorkerInfo that = (AlluxioWorkerInfo) o; return Objects.equal(mCapacity, that.mCapacity) && Objects.equal(mConfiguration, that.mConfiguration) && Objects.equal(mMetrics, that.mMetrics) && Objects.equal(mRpcAddress, that.mRpcAddress) && mStartTimeMs == that.mStartTimeMs && Objects.equal(mTierCapacity, that.mTierCapacity) && Objects.equal(mTierPaths, that.mTierPaths) && mUptimeMs == that.mUptimeMs && Objects.equal(mVersion, that.mVersion); } AlluxioWorkerInfo(); Capacity getCapacity(); Map<String, String> getConfiguration(); Map<String, Long> getMetrics(); String getRpcAddress(); long getStartTimeMs(); Map<String, Capacity> getTierCapacity(); Map<String, List<String>> getTierPaths(); long getUptimeMs(); String getVersion(); AlluxioWorkerInfo setCapacity(Capacity capacity); AlluxioWorkerInfo setConfiguration(Map<String, String> configuration); AlluxioWorkerInfo setMetrics(Map<String, Long> metrics); AlluxioWorkerInfo setRpcAddress(String rpcAddress); AlluxioWorkerInfo setStartTimeMs(long startTimeMs); AlluxioWorkerInfo setTierCapacity(Map<String, Capacity> tierCapacity); AlluxioWorkerInfo setTierPaths(Map<String, List<String>> tierPaths); AlluxioWorkerInfo setUptimeMs(long uptimeMs); AlluxioWorkerInfo setVersion(String version); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }