/** * {@inheritDoc} */ @Override public Metric getResult() { Metric metric = new Metric(metricName, namespace, dimensions); // Reset since this handler is created once but produces N results dimensions = Sets.newLinkedHashSet(); metricName = null; namespace = null; return metric; }
/** * {@inheritDoc} */ @Override public Metric getResult() { Metric metric = new Metric(metricName, namespace, dimensions); // Reset since this handler is created once but produces N results dimensions = Sets.newLinkedHashSet(); metricName = null; namespace = null; return metric; }
/** * {@inheritDoc} */ @Override public Metric getResult() { Metric metric = new Metric(metricName, namespace, dimensions); // Reset since this handler is created once but produces N results dimensions = Sets.newLinkedHashSet(); metricName = null; namespace = null; return metric; }
/** * {@inheritDoc} */ @Override public Metric getResult() { Metric metric = new Metric(metricName, namespace, dimensions); // Reset since this handler is created once but produces N results dimensions = Sets.newLinkedHashSet(); metricName = null; namespace = null; return metric; }
/** * {@inheritDoc} */ @Override public Metric getResult() { Metric metric = new Metric(metricName, namespace, dimensions); // Reset since this handler is created once but produces N results dimensions = Sets.newLinkedHashSet(); metricName = null; namespace = null; return metric; }
/** * {@inheritDoc} */ @Override public Metric getResult() { Metric metric = new Metric(metricName, namespace, dimensions); // Reset since this handler is created once but produces N results dimensions = Sets.newLinkedHashSet(); metricName = null; namespace = null; return metric; }