public static Timer.Context startTimer(String name) {
    if(_metricRegistry != null) {
      return _metricRegistry.timer(name).time();
    } else {
      throw new NullPointerException(UNINITIALIZED_MESSAGE);
    }
  }
@param name to be used while registering the timer.
@return Returns <code> Timer.Context </code> if metrics is enabled
and <code>null</code> otherwise.
app/controllers/MetricsController.java