test_class.declarator: sut
test_class.modifier: private
test_class.original_string: private Gauge sut;
test_class.type: Gauge
test_class.var_name: sut
test_class.file: services/utils/metrics/src/test/java/org/eclipse/ditto/services/utils/metrics/instruments/gauge/KamonGaugeTest.java
test_class.identifier: KamonGaugeTest
test_case.body: @Test
      public void reset() {
          sut.set(5L);
          assertThat(sut.get()).isEqualTo(5L);
          sut.reset();
          assertThat(sut.get()).isEqualTo(0L);
      }
test_case.class_method_signature: KamonGaugeTest.reset()
test_case.full_signature: @Test public void reset()
test_case.identifier: reset
test_case.invocations: set isEqualTo assertThat get reset isEqualTo assertThat get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void reset()
focal_class.declarator: LOGGER = LoggerFactory.getLogger(KamonGauge.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOGGER = LoggerFactory.getLogger(KamonGauge.class);
focal_class.type: Logger
focal_class.var_name: LOGGER
focal_class.declarator: name
focal_class.modifier: private final
focal_class.original_string: private final String name;
focal_class.type: String
focal_class.var_name: name
focal_class.declarator: tags
focal_class.modifier: private final
focal_class.original_string: private final Map<String, String> tags;
focal_class.type: Map<String, String>
focal_class.var_name: tags
focal_class.file: services/utils/metrics/src/main/java/org/eclipse/ditto/services/utils/metrics/instruments/gauge/KamonGauge.java
focal_class.identifier: KamonGauge
focal_class.interfaces: implements Gauge
focal_class.class_method_signature: KamonGauge.KamonGauge(final String name, final Map<String, String> tags)
focal_class.full_signature: private  KamonGauge(final String name, final Map<String, String> tags)
focal_class.identifier: KamonGauge
focal_class.modifiers: private
focal_class.parameters: (final String name, final Map<String, String> tags)
focal_class.signature:  KamonGauge(final String name, final Map<String, String> tags)
focal_class.class_method_signature: KamonGauge.newGauge(final String name)
focal_class.full_signature: public static Gauge newGauge(final String name)
focal_class.identifier: newGauge
focal_class.modifiers: public static
focal_class.parameters: (final String name)
focal_class.return: Gauge
focal_class.signature: Gauge newGauge(final String name)
focal_class.class_method_signature: KamonGauge.increment()
focal_class.full_signature: @Override public Gauge increment()
focal_class.identifier: increment
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Gauge
focal_class.signature: Gauge increment()
focal_class.class_method_signature: KamonGauge.decrement()
focal_class.full_signature: @Override public Gauge decrement()
focal_class.identifier: decrement
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Gauge
focal_class.signature: Gauge decrement()
focal_class.class_method_signature: KamonGauge.set(final Long value)
focal_class.full_signature: @Override public void set(final Long value)
focal_class.identifier: set
focal_class.modifiers: @Override public
focal_class.parameters: (final Long value)
focal_class.return: void
focal_class.signature: void set(final Long value)
focal_class.class_method_signature: KamonGauge.get()
focal_class.full_signature: @Override public Long get()
focal_class.identifier: get
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Long
focal_class.signature: Long get()
focal_class.class_method_signature: KamonGauge.tag(final String key, final String value)
focal_class.full_signature: @Override public Gauge tag(final String key, final String value)
focal_class.identifier: tag
focal_class.modifiers: @Override public
focal_class.parameters: (final String key, final String value)
focal_class.return: Gauge
focal_class.signature: Gauge tag(final String key, final String value)
focal_class.class_method_signature: KamonGauge.tags(final Map<String, String> tags)
focal_class.full_signature: @Override public Gauge tags(final Map<String, String> tags)
focal_class.identifier: tags
focal_class.modifiers: @Override public
focal_class.parameters: (final Map<String, String> tags)
focal_class.return: Gauge
focal_class.signature: Gauge tags(final Map<String, String> tags)
focal_class.class_method_signature: KamonGauge.getTag(final String key)
focal_class.full_signature: @Nullable @Override public String getTag(final String key)
focal_class.identifier: getTag
focal_class.modifiers: @Nullable @Override public
focal_class.parameters: (final String key)
focal_class.return: String
focal_class.signature: String getTag(final String key)
focal_class.class_method_signature: KamonGauge.getTags()
focal_class.full_signature: @Override public Map<String, String> getTags()
focal_class.identifier: getTags
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: Map<String, String>
focal_class.signature: Map<String, String> getTags()
focal_class.class_method_signature: KamonGauge.reset()
focal_class.full_signature: @Override public boolean reset()
focal_class.identifier: reset
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: boolean
focal_class.signature: boolean reset()
focal_class.class_method_signature: KamonGauge.getKamonInternalGauge()
focal_class.full_signature: private kamon.metric.Gauge getKamonInternalGauge()
focal_class.identifier: getKamonInternalGauge
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: kamon.metric.Gauge
focal_class.signature: kamon.metric.Gauge getKamonInternalGauge()
focal_class.class_method_signature: KamonGauge.toString()
focal_class.full_signature: @Override public String toString()
focal_class.identifier: toString
focal_class.modifiers: @Override public
focal_class.parameters: ()
focal_class.return: String
focal_class.signature: String toString()
focal_method.body: @Override
      public boolean reset() {
          getKamonInternalGauge().update(0);
          LOGGER.trace("Reset histogram with name <{}>.", name);
          return true;
      }
focal_method.class_method_signature: KamonGauge.reset()
focal_method.full_signature: @Override public boolean reset()
focal_method.identifier: reset
focal_method.invocations: update getKamonInternalGauge trace
focal_method.modifiers: @Override public
focal_method.parameters: ()
focal_method.return: boolean
focal_method.signature: boolean reset()