public ConnectionFactoryBuilder setMetricCollector(MetricCollector collector) {
    this.collector = collector;
    return this;
  }
Set a custom {@link MetricCollector}.

@param collector the metric collector to use.
src/main/java/net/spy/memcached/ConnectionFactoryBuilder.java