From e733452205e54c73fe1ce7f6522ef41e029f79ae Mon Sep 17 00:00:00 2001 From: Matilda Clerke Date: Mon, 14 Oct 2024 08:47:21 +1100 Subject: [PATCH] 7311: Add javadoc to LabelledGauge.isLabelsObserved Signed-off-by: Matilda Clerke --- .../besu/plugin/services/metrics/LabelledGauge.java | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/metrics/LabelledGauge.java b/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/metrics/LabelledGauge.java index c2f64c1113..16a2f1e59b 100644 --- a/plugin-api/src/main/java/org/hyperledger/besu/plugin/services/metrics/LabelledGauge.java +++ b/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); + /** + * 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); }