From 01f01e650b238a55ec567e5a97a5f17f5a5168ac Mon Sep 17 00:00:00 2001 From: Jon Bratseth Date: Mon, 6 Apr 2020 11:50:14 +0200 Subject: Measure failing maintenance deployments --- .../src/main/java/com/yahoo/jdisc/Metric.java | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'jdisc_core/src/main/java/com/yahoo/jdisc') diff --git a/jdisc_core/src/main/java/com/yahoo/jdisc/Metric.java b/jdisc_core/src/main/java/com/yahoo/jdisc/Metric.java index d6206dcf966..0e9db8fb1ea 100644 --- a/jdisc_core/src/main/java/com/yahoo/jdisc/Metric.java +++ b/jdisc_core/src/main/java/com/yahoo/jdisc/Metric.java @@ -22,7 +22,7 @@ import java.util.Map; public interface Metric { /** - *

Set a metric value. This is typically used with histogram-type metrics.

+ * Set a metric value. This is typically used with histogram-type metrics. * * @param key The name of the metric to modify. * @param val The value to assign to the named metric. @@ -31,28 +31,28 @@ public interface Metric { void set(String key, Number val, Context ctx); /** - *

Add to a metric value. This is typically used with counter-type metrics.

+ * Add to a metric value. This is typically used with counter-type metrics. * - * @param key The name of the metric to modify. - * @param val The value to add to the named metric. - * @param ctx The context to further describe this entry. + * @param key the name of the metric to modify + * @param val the value to add to the named metric + * @param ctx the context to further describe this entry */ void add(String key, Number val, Context ctx); /** - *

Creates a {@link MetricConsumer}-specific {@link Context} object that encapsulates the given properties. The + * Creates a {@link MetricConsumer}-specific {@link Context} object that encapsulates the given properties. The * returned Context object should be passed along every future call to {@link #set(String, Number, Context)} and - * {@link #add(String, Number, Context)} where the properties match those given here.

+ * {@link #add(String, Number, Context)} where the properties match those given here. * - * @param properties The properties to incorporate in the context. - * @return The created context. + * @param properties the properties to incorporate in the context + * @return the created context */ Context createContext(Map properties); /** - *

Declares the interface for the arbitrary context object to pass to both the {@link + * Declares the interface for the arbitrary context object to pass to both the {@link * #set(String, Number, Context)} and {@link #add(String, Number, Context)} methods. This is intentionally empty so - * that implementations can vary.

+ * that implementations can vary. */ interface Context { -- cgit v1.2.3