in ffwd-reporter/src/main/java/com/spotify/metrics/ffwd/FastForwardReporter.java [419:434]
public void start() {
if (running.getAndSet(true)) {
return;
}
scheduledFuture = executorService.scheduleWithFixedDelay(new Runnable() {
@Override
public void run() {
try {
FastForwardReporter.this.report();
} catch (final Exception e) {
log.error("Error when trying to report metric", e);
}
}
}, 0, duration, unit);
}