@Test public void testSet() { noLabels.set(42); assertEquals(42, getValue(), .001); noLabels.labels().set(7); assertEquals(7.0, getValue(), .001); }
public void set(double val) { noLabelsChild.set(val); }
Gauge extends SimpleCollector<Gauge.Child> implements Collector.Describable { public void set(double val) { noLabelsChild.set(val); } }
Gauge extends SimpleCollector<Gauge.Child> implements Collector.Describable { public void set(double val) { noLabelsChild.set(val); } Gauge(Builder b); }
Gauge extends SimpleCollector<Gauge.Child> implements Collector.Describable { public void set(double val) { noLabelsChild.set(val); } Gauge(Builder b); static Builder build(String name, String help); static Builder build(); void inc(); void inc(double amt); void dec(); void dec(double amt); void set(double val); void setToCurrentTime(); Timer startTimer(); double setToTime(Runnable timeable); E setToTime(Callable<E> timeable); double get(); @Override List<MetricFamilySamples> collect(); @Override List<MetricFamilySamples> describe(); }
Gauge extends SimpleCollector<Gauge.Child> implements Collector.Describable { public void set(double val) { noLabelsChild.set(val); } Gauge(Builder b); static Builder build(String name, String help); static Builder build(); void inc(); void inc(double amt); void dec(); void dec(double amt); void set(double val); void setToCurrentTime(); Timer startTimer(); double setToTime(Runnable timeable); E setToTime(Callable<E> timeable); double get(); @Override List<MetricFamilySamples> collect(); @Override List<MetricFamilySamples> describe();  }