public void didStartBuildRule(BuildRuleEvent.Started started) {
   threadsToRunningBuildRuleEvent.put(started.getThreadId(), Optional.of(started));
   accumulatedRuleTime.put(started.getBuildRule().getBuildTarget(), new AtomicLong(0));
 }
 @Subscribe
 public void buildRuleStarted(BuildRuleEvent.Started started) {
   threadsToRunningEvent.put(started.getThreadId(), Optional.of(started));
 }