@Test public void updateMultiple() { this.stats.update(this.operation); this.stats.update(this.operation); assertAll(Operation.WRITE, 2, 2048, 201, 2); }
@Subscribe public void update(final TestState state) { checkNotNull(state); if (state == TestState.STOPPING) { this.running = false; } }
Statistics { @Subscribe public void update(final TestState state) { checkNotNull(state); if (state == TestState.STOPPING) { this.running = false; } } }
Statistics { @Subscribe public void update(final TestState state) { checkNotNull(state); if (state == TestState.STOPPING) { this.running = false; } } @Inject  Statistics(); }
Statistics { @Subscribe public void update(final TestState state) { checkNotNull(state); if (state == TestState.STOPPING) { this.running = false; } } @Inject  Statistics(); @Subscribe void update(final TestState state); @Subscribe void update(final Request request); @Subscribe void update(final Pair<Request, Response> result); void setOperation(final Operation operation); long get(final Operation operation, final Counter counter); long getStatusCode(final Operation operation, final int statusCode); Map<Integer, Long> statusCodes(final Operation operation); @Override String toString(); }
Statistics { @Subscribe public void update(final TestState state) { checkNotNull(state); if (state == TestState.STOPPING) { this.running = false; } } @Inject  Statistics(); @Subscribe void update(final TestState state); @Subscribe void update(final Request request); @Subscribe void update(final Pair<Request, Response> result); void setOperation(final Operation operation); long get(final Operation operation, final Counter counter); long getStatusCode(final Operation operation, final int statusCode); Map<Integer, Long> statusCodes(final Operation operation); @Override String toString();  }