@Subscribe @SuppressWarnings("unused") public void handle(final MonitorEvent<?> event) { switch (event.getType()) { case COMPLETED: numCompletes++; break; case FAILED: numFailures++; break; case TIMEOUT: numTimeouts++; break; } }