/guava/guava/src/com/google/common/util/concurrent/ServiceManager.java
Stopwatch stopwatch = entry.getValue( ) ; Service service = entry.getKey( ) ;for ( Entry<Service, Stopwatch> entry : startupTimers.entrySet( ) ) {
for ( Entry<Service, Stopwatch> entry : startupTimers.entrySet ( ) ) { Service service = entry.getKey ( ) ; Stopwatch stopwatch = entry.getValue ( ) ;
} ImmutableMap<Service, Long> startupTimes() { List<Entry<Service, Long>> loadTimes; monitor.enter(); try { loadTimes = Lists.newArrayListWithCapacity(startupTimers.size()); <extra_id_0> if (!stopwatch.isRunning() && !(service instanceof NoOpService)) { loadTimes.add(Maps.immutableEntry(service, stopwatch.elapsed(MILLISECONDS))); } } } finally { monitor.leave();