@Override
    public boolean equals(Object o) {
      if (this == o) {
        return true;
      }
      if (o == null || getClass() != o.getClass()) {
        return false;
      }
      return Objects.equals(replicaToken.toBytes(), ((ReplicaTokenInfo) o).getReplicaToken().toBytes());
    }
Data structure to hold deserialized replica token data.
ambry-replication/src/main/java/com/github/ambry/replication/RemoteReplicaInfo.java