// the multimap is guaranteed to be in sync with our timers while the Service.state() is
// not. Due to happens-before ness of the monitor this 'weirdness' will not be observable
// by our caller.
if (!stopWatch.isRunning() && !servicesByState.containsEntry(NEW, service)
&& !(service instanceof NoOpService)) {
loadTimes.add(Maps.immutableEntry(service, stopWatch.elapsed(MILLISECONDS)));
}
}
} finally {
monitor.leave();
}