public FetchRequestAndResponseStats(string clientId)
 {
     this.clientId       = clientId;
     this.valueFactory   = k => new FetchRequestAndResponseMetrics(k);
     this.stats          = new Pool <ClientIdAndBroker, FetchRequestAndResponseMetrics>(this.valueFactory);
     this.allBrokerStats = new FetchRequestAndResponseMetrics(new ClientIdAndBroker(clientId, "AllBrokers"));
 }
 public FetchRequestAndResponseStats(string clientId)
 {
     this.clientId = clientId;
     this.valueFactory = k => new FetchRequestAndResponseMetrics(k);
     this.stats = new Pool<ClientIdAndBroker, FetchRequestAndResponseMetrics>(this.valueFactory);
     this.allBrokerStats = new FetchRequestAndResponseMetrics(new ClientIdAndBroker(clientId, "AllBrokers"));
 }