@Override
  public boolean equals(@Nullable Object object) {
    if (object instanceof DistributionCell) {
      DistributionCell distributionCell = (DistributionCell) object;
      return Objects.equals(dirty, distributionCell.dirty)
          && Objects.equals(value.get(), distributionCell.value.get())
          && Objects.equals(name, distributionCell.name);
    }

    return false;
  }
@Test
  public void testEquals() {
    DistributionCell distributionCell = new DistributionCell(MetricName.named("namespace", "name"));
    DistributionCell equal = new DistributionCell(MetricName.named("namespace", "name"));
    Assert.assertEquals(distributionCell, equal);
    Assert.assertEquals(distributionCell.hashCode(), equal.hashCode());
  }