public ConnectionFactoryBuilder setEnableMetrics(MetricType type) {
    metricType = type;
    return this;
  }
Enable or disable metric collection.

@param type the metric type to use (or disable).
src/main/java/net/spy/memcached/ConnectionFactoryBuilder.java