@Test public void sendsMultipleMetrics() throws InterruptedException { registry.register("longs", sequenceGauge(123L, 4567L)); registry.register("ints", sequenceGauge(98, 654)); for (int i = 0; i < 4; i++) { service.report(); } assertThat(sender.data, containsInAnyOrder("test.longs=123", "test.ints=98", "test.longs=4567", "test.ints=654")); }
@VisibleForTesting void report() { this.reporter.report(); }
GraphiteReporterService extends AbstractStyxService { @VisibleForTesting void report() { this.reporter.report(); } }
GraphiteReporterService extends AbstractStyxService { @VisibleForTesting void report() { this.reporter.report(); } private  GraphiteReporterService(Builder builder); }
GraphiteReporterService extends AbstractStyxService { @VisibleForTesting void report() { this.reporter.report(); } private  GraphiteReporterService(Builder builder);  }
GraphiteReporterService extends AbstractStyxService { @VisibleForTesting void report() { this.reporter.report(); } private  GraphiteReporterService(Builder builder);   }