diff --git a/commons/src/main/java/com/expedia/www/haystack/client/metrics/Timer.java b/commons/src/main/java/com/expedia/www/haystack/client/metrics/Timer.java index d1b9fda..2f1fc20 100644 --- a/commons/src/main/java/com/expedia/www/haystack/client/metrics/Timer.java +++ b/commons/src/main/java/com/expedia/www/haystack/client/metrics/Timer.java @@ -29,7 +29,7 @@ public static Builder builder(String name) { * Updates the statistics kept by the counter with the specified * amount in nanoseconds. * - * @param amount Duration of a single event being measured by this timer. + * @param duration Duration of a single event being measured by this timer. */ default void record(long duration) { record(duration, TimeUnit.NANOSECONDS); @@ -38,7 +38,7 @@ default void record(long duration) { /** * Updates the statistics kept by the counter with the specified amount. * - * @param amount Duration of a single event being measured by this timer. + * @param duration Duration of a single event being measured by this timer. * @param unit Time unit for the amount being recorded. */ void record(long duration, TimeUnit unit);