예제 #1
0
 public long getNumProduceRequests() {
   return produceRequestStats.getNumRequests();
 }
예제 #2
0
 public double getAvgProduceRequestms() {
   return produceRequestStats.getAvgMetric() / (1000.0 * 1000.0);
 }
예제 #3
0
 public double getMaxProduceRequestMs() {
   return produceRequestStats.getMaxMetric() / (1000.0 * 1000.0);
 }
예제 #4
0
 public double getProduceRequestsPerSecond() {
   return produceRequestStats.getRequestsPerSecond();
 }