Ejemplo n.º 1
0
 @Override
 public void collectStats(StatsCollector collector) {
   collector.record("seh.dummy.retries", 1);
 }
Ejemplo n.º 2
0
 /**
  * Collects the stats and metrics tracked by this instance.
  *
  * @param collector The collector to use.
  */
 public static void collectStats(final StatsCollector collector) {
   collector.record("http.latency", httplatency, "type=all");
 }