public void time(String jobName, String stepName, String kind) {
String metricName = stepName == null ?
name(group, jobName, kind, TIMED_KIND) :
name(group, jobName, STEP_KIND, stepName, kind, TIMED_KIND);
Timer timer = metricRegistry.timer(metricName);
Timer.Context timerContext = timer.time();
timerContexts.put(metricName, timerContext);
}
public void stop(String jobName, String stepName, String kind) {
String metricName = stepName == null ?