@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 AlluxioMasterInfo)) { return false; } AlluxioMasterInfo that = (AlluxioMasterInfo) o; return Objects.equal(mCapacity, that.mCapacity) && Objects.equal(mConfiguration, that.mConfiguration) && Objects.equal(mLostWorkers, that.mLostWorkers) && Objects.equal(mMetrics, that.mMetrics) && Objects.equal(mMountPoints, that.mMountPoints) && Objects.equal(mRpcAddress, that.mRpcAddress) && mStartTimeMs == that.mStartTimeMs && Objects.equal(mTierCapacity, that.mTierCapacity) && Objects.equal(mUfsCapacity, that.mUfsCapacity) && mUptimeMs == that.mUptimeMs && Objects.equal(mVersion, that.mVersion) && Objects.equal(mWorkers, that.mWorkers); }
AlluxioMasterInfo { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof AlluxioMasterInfo)) { return false; } AlluxioMasterInfo that = (AlluxioMasterInfo) o; return Objects.equal(mCapacity, that.mCapacity) && Objects.equal(mConfiguration, that.mConfiguration) && Objects.equal(mLostWorkers, that.mLostWorkers) && Objects.equal(mMetrics, that.mMetrics) && Objects.equal(mMountPoints, that.mMountPoints) && Objects.equal(mRpcAddress, that.mRpcAddress) && mStartTimeMs == that.mStartTimeMs && Objects.equal(mTierCapacity, that.mTierCapacity) && Objects.equal(mUfsCapacity, that.mUfsCapacity) && mUptimeMs == that.mUptimeMs && Objects.equal(mVersion, that.mVersion) && Objects.equal(mWorkers, that.mWorkers); } }
AlluxioMasterInfo { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof AlluxioMasterInfo)) { return false; } AlluxioMasterInfo that = (AlluxioMasterInfo) o; return Objects.equal(mCapacity, that.mCapacity) && Objects.equal(mConfiguration, that.mConfiguration) && Objects.equal(mLostWorkers, that.mLostWorkers) && Objects.equal(mMetrics, that.mMetrics) && Objects.equal(mMountPoints, that.mMountPoints) && Objects.equal(mRpcAddress, that.mRpcAddress) && mStartTimeMs == that.mStartTimeMs && Objects.equal(mTierCapacity, that.mTierCapacity) && Objects.equal(mUfsCapacity, that.mUfsCapacity) && mUptimeMs == that.mUptimeMs && Objects.equal(mVersion, that.mVersion) && Objects.equal(mWorkers, that.mWorkers); } AlluxioMasterInfo(); }
AlluxioMasterInfo { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof AlluxioMasterInfo)) { return false; } AlluxioMasterInfo that = (AlluxioMasterInfo) o; return Objects.equal(mCapacity, that.mCapacity) && Objects.equal(mConfiguration, that.mConfiguration) && Objects.equal(mLostWorkers, that.mLostWorkers) && Objects.equal(mMetrics, that.mMetrics) && Objects.equal(mMountPoints, that.mMountPoints) && Objects.equal(mRpcAddress, that.mRpcAddress) && mStartTimeMs == that.mStartTimeMs && Objects.equal(mTierCapacity, that.mTierCapacity) && Objects.equal(mUfsCapacity, that.mUfsCapacity) && mUptimeMs == that.mUptimeMs && Objects.equal(mVersion, that.mVersion) && Objects.equal(mWorkers, that.mWorkers); } AlluxioMasterInfo(); Capacity getCapacity(); Map<String, String> getConfiguration(); List<WorkerInfo> getLostWorkers(); Map<String, Long> getMetrics(); Map<String, MountPointInfo> getMountPoints(); String getRpcAddress(); long getStartTimeMs(); Map<String, Capacity> getTierCapacity(); Capacity getUfsCapacity(); long getUptimeMs(); String getVersion(); List<WorkerInfo> getWorkers(); AlluxioMasterInfo setCapacity(Capacity capacity); AlluxioMasterInfo setConfiguration(Map<String, String> configuration); AlluxioMasterInfo setLostWorkers(List<WorkerInfo> lostWorkers); AlluxioMasterInfo setMetrics(Map<String, Long> metrics); AlluxioMasterInfo setMountPoints(Map<String, MountPointInfo> mountPoints); AlluxioMasterInfo setRpcAddress(String rpcAddress); AlluxioMasterInfo setStartTimeMs(long startTimeMs); AlluxioMasterInfo setTierCapacity(Map<String, Capacity> tierCapacity); AlluxioMasterInfo setUfsCapacity(Capacity ufsCapacity); AlluxioMasterInfo setUptimeMs(long uptimeMs); AlluxioMasterInfo setVersion(String version); AlluxioMasterInfo setWorkers(List<WorkerInfo> workers); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString(); }
AlluxioMasterInfo { @Override public boolean equals(Object o) { if (this == o) { return true; } if (!(o instanceof AlluxioMasterInfo)) { return false; } AlluxioMasterInfo that = (AlluxioMasterInfo) o; return Objects.equal(mCapacity, that.mCapacity) && Objects.equal(mConfiguration, that.mConfiguration) && Objects.equal(mLostWorkers, that.mLostWorkers) && Objects.equal(mMetrics, that.mMetrics) && Objects.equal(mMountPoints, that.mMountPoints) && Objects.equal(mRpcAddress, that.mRpcAddress) && mStartTimeMs == that.mStartTimeMs && Objects.equal(mTierCapacity, that.mTierCapacity) && Objects.equal(mUfsCapacity, that.mUfsCapacity) && mUptimeMs == that.mUptimeMs && Objects.equal(mVersion, that.mVersion) && Objects.equal(mWorkers, that.mWorkers); } AlluxioMasterInfo(); Capacity getCapacity(); Map<String, String> getConfiguration(); List<WorkerInfo> getLostWorkers(); Map<String, Long> getMetrics(); Map<String, MountPointInfo> getMountPoints(); String getRpcAddress(); long getStartTimeMs(); Map<String, Capacity> getTierCapacity(); Capacity getUfsCapacity(); long getUptimeMs(); String getVersion(); List<WorkerInfo> getWorkers(); AlluxioMasterInfo setCapacity(Capacity capacity); AlluxioMasterInfo setConfiguration(Map<String, String> configuration); AlluxioMasterInfo setLostWorkers(List<WorkerInfo> lostWorkers); AlluxioMasterInfo setMetrics(Map<String, Long> metrics); AlluxioMasterInfo setMountPoints(Map<String, MountPointInfo> mountPoints); AlluxioMasterInfo setRpcAddress(String rpcAddress); AlluxioMasterInfo setStartTimeMs(long startTimeMs); AlluxioMasterInfo setTierCapacity(Map<String, Capacity> tierCapacity); AlluxioMasterInfo setUfsCapacity(Capacity ufsCapacity); AlluxioMasterInfo setUptimeMs(long uptimeMs); AlluxioMasterInfo setVersion(String version); AlluxioMasterInfo setWorkers(List<WorkerInfo> workers); @Override boolean equals(Object o); @Override int hashCode(); @Override String toString();  }