7311: Add javadoc to LabelledGauge.isLabelsObserved

Signed-off-by: Matilda Clerke <matilda.clerke@consensys.net>
pull/7628/head
Matilda Clerke 2 months ago
parent 56c1f9d1bc
commit e733452205
  1. 7
      plugin-api/src/main/java/org/hyperledger/besu/plugin/services/metrics/LabelledGauge.java

@ -26,5 +26,12 @@ public interface LabelledGauge {
*/ */
void labels(final DoubleSupplier valueSupplier, final String... labelValues); void labels(final DoubleSupplier valueSupplier, final String... labelValues);
/**
* Checks whether the supplied labelValues are already observed by this LabelledGauge
*
* @param labelValues The labelValues to check
* @return true if the supplied labelValues are already observed by this LabelledGauge, false
* otherwise
*/
boolean isLabelsObserved(final String... labelValues); boolean isLabelsObserved(final String... labelValues);
} }

Loading…
Cancel
Save