code: @Override
    public Timer timer(String name) {
      final com.codahale.metrics.Timer timer = registry.timer(name);
      return new Timer() {
  
        @Override
        public Timer.Context time() {
          final com.codahale.metrics.Timer.Context timerContext = timer.time();
          return new Context() {
            @Override
            public void close() {
              timerContext.close();
            }
          };
        }
  
        @Override
        public void update(long duration, TimeUnit unit) {
          timer.update(duration, unit);
        }
      };
    }
docs: Creates a named {@link Timer} that wraps a Dropwizard Metrics {@link
  com.codahale.metrics.Timer}.
  
  @param name
  @return a {@link Timer} that wraps a Dropwizard Metrics {@link com.codahale.metrics.Timer}