@Test public void testCount() throws Exception { long count = this.lookoutRegistryMetricReader.count(); assertTrue(count > 0); }
@Override public long count() { Iterator<com.alipay.lookout.api.Metric> iterator = this.springBootActuatorRegistry .iterator(); long count = 0; while (iterator.hasNext()) { iterator.next(); count++; } return count; }
LookoutRegistryMetricReader implements MetricReader, MetricRegistryListener { @Override public long count() { Iterator<com.alipay.lookout.api.Metric> iterator = this.springBootActuatorRegistry .iterator(); long count = 0; while (iterator.hasNext()) { iterator.next(); count++; } return count; } }
LookoutRegistryMetricReader implements MetricReader, MetricRegistryListener { @Override public long count() { Iterator<com.alipay.lookout.api.Metric> iterator = this.springBootActuatorRegistry .iterator(); long count = 0; while (iterator.hasNext()) { iterator.next(); count++; } return count; } LookoutRegistryMetricReader(SpringBootActuatorRegistry springBootActuatorRegistry); }
LookoutRegistryMetricReader implements MetricReader, MetricRegistryListener { @Override public long count() { Iterator<com.alipay.lookout.api.Metric> iterator = this.springBootActuatorRegistry .iterator(); long count = 0; while (iterator.hasNext()) { iterator.next(); count++; } return count; } LookoutRegistryMetricReader(SpringBootActuatorRegistry springBootActuatorRegistry); @Override Metric<?> findOne(String metricName); @Override Iterable<Metric<?>> findAll(); @Override long count(); @Override void onRemoved(com.alipay.lookout.api.Metric metric); @Override void onAdded(com.alipay.lookout.api.Metric metric); }
LookoutRegistryMetricReader implements MetricReader, MetricRegistryListener { @Override public long count() { Iterator<com.alipay.lookout.api.Metric> iterator = this.springBootActuatorRegistry .iterator(); long count = 0; while (iterator.hasNext()) { iterator.next(); count++; } return count; } LookoutRegistryMetricReader(SpringBootActuatorRegistry springBootActuatorRegistry); @Override Metric<?> findOne(String metricName); @Override Iterable<Metric<?>> findAll(); @Override long count(); @Override void onRemoved(com.alipay.lookout.api.Metric metric); @Override void onAdded(com.alipay.lookout.api.Metric metric);  }