@Override
  public void recordLoadFailure(long loadTime) {
    loadFailure.update(loadTime, TimeUnit.NANOSECONDS);
    totalLoadTime.add(loadTime);
  }
@Test
  public void loadFailure() {
    stats.recordLoadFailure(256);
    assertThat(registry.timer(PREFIX + ".loads-failure").getCount()).isEqualTo(1);
  }