@Test public void testBuildWithNullTableStorageStates() { assertThatExceptionOfType(IllegalArgumentException.class) .isThrownBy(() -> TableRepairMetricsImpl.builder() .withTableStorageStates(null) .build()); }
public static Builder builder() { return new Builder(); }
TableRepairMetricsImpl implements TableRepairMetrics, Closeable { public static Builder builder() { return new Builder(); } }
TableRepairMetricsImpl implements TableRepairMetrics, Closeable { public static Builder builder() { return new Builder(); } private  TableRepairMetricsImpl(Builder builder); }
TableRepairMetricsImpl implements TableRepairMetrics, Closeable { public static Builder builder() { return new Builder(); } private  TableRepairMetricsImpl(Builder builder); @Override void repairState(TableReference tableReference, int repairedRanges, int notRepairedRanges); @Override void lastRepairedAt(TableReference tableReference, long lastRepairedAt); @Override void repairTiming(TableReference tableReference, long timeTaken, TimeUnit timeUnit, boolean successful); @Override void close(); static Builder builder(); }
TableRepairMetricsImpl implements TableRepairMetrics, Closeable { public static Builder builder() { return new Builder(); } private  TableRepairMetricsImpl(Builder builder); @Override void repairState(TableReference tableReference, int repairedRanges, int notRepairedRanges); @Override void lastRepairedAt(TableReference tableReference, long lastRepairedAt); @Override void repairTiming(TableReference tableReference, long timeTaken, TimeUnit timeUnit, boolean successful); @Override void close(); static Builder builder();  }