diff --git a/api/src/main/java/org/eclipse/microprofile/metrics/MetricType.java b/api/src/main/java/org/eclipse/microprofile/metrics/MetricType.java index 80ed1c88..e2be172d 100644 --- a/api/src/main/java/org/eclipse/microprofile/metrics/MetricType.java +++ b/api/src/main/java/org/eclipse/microprofile/metrics/MetricType.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2017, 2019 Contributors to the Eclipse Foundation + * Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation * 2017 Red Hat, Inc. and/or its affiliates * and other contributors as indicated by the @author tags. * @@ -48,7 +48,7 @@ public enum MetricType { HISTOGRAM("histogram", Histogram.class), /** - * A timer aggregates timing durations and provides duration statistics, plus throughput statistics + * A timer aggregates timing durations and provides duration statistics */ TIMER("timer", Timer.class), diff --git a/api/src/main/java/org/eclipse/microprofile/metrics/Timer.java b/api/src/main/java/org/eclipse/microprofile/metrics/Timer.java index 30aae28a..f10b69db 100644 --- a/api/src/main/java/org/eclipse/microprofile/metrics/Timer.java +++ b/api/src/main/java/org/eclipse/microprofile/metrics/Timer.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2017, 2020 Contributors to the Eclipse Foundation + * Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation * 2010, 2013 Coda Hale, Yammer.com * * See the NOTICES file(s) distributed with this work for additional diff --git a/api/src/main/java/org/eclipse/microprofile/metrics/annotation/Counted.java b/api/src/main/java/org/eclipse/microprofile/metrics/annotation/Counted.java index a13426e9..ea6e0296 100644 --- a/api/src/main/java/org/eclipse/microprofile/metrics/annotation/Counted.java +++ b/api/src/main/java/org/eclipse/microprofile/metrics/annotation/Counted.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2017 Contributors to the Eclipse Foundation + * Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation * 2012 Ryan W Tenney (ryan@10e.us) * * See the NOTICES file(s) distributed with this work for additional diff --git a/api/src/main/java/org/eclipse/microprofile/metrics/annotation/Timed.java b/api/src/main/java/org/eclipse/microprofile/metrics/annotation/Timed.java index f11b30ee..139d92ba 100644 --- a/api/src/main/java/org/eclipse/microprofile/metrics/annotation/Timed.java +++ b/api/src/main/java/org/eclipse/microprofile/metrics/annotation/Timed.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2017, 2020 Contributors to the Eclipse Foundation + * Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation * 2010-2013 Coda Hale, Yammer.com * * See the NOTICES file(s) distributed with this work for additional @@ -37,7 +37,7 @@ /** * An annotation for marking a method, constructor, or class as timed. The underlying * {@link org.eclipse.microprofile.metrics.Timer Timer} metric aggregates timing durations and provides duration - * statistics, plus throughput statistics. There is a lightweight alternative + * statistics. *

* Given a method annotated with {@literal @}Timed like this: *

diff --git a/api/src/main/java/org/eclipse/microprofile/metrics/annotation/package-info.java b/api/src/main/java/org/eclipse/microprofile/metrics/annotation/package-info.java index c9804d59..1fcae015 100644 --- a/api/src/main/java/org/eclipse/microprofile/metrics/annotation/package-info.java +++ b/api/src/main/java/org/eclipse/microprofile/metrics/annotation/package-info.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2017, 2019 Contributors to the Eclipse Foundation + * Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation * * See the NOTICES file(s) distributed with this work for additional * information regarding copyright ownership. @@ -44,8 +44,7 @@ *

Interceptor Bindings

*

* MicroProfile Metrics provides interceptor bindings which can be used to instrument an application: - * {@literal @}Counted, {@literal @}Gauge, {@literal @}Metered, {@literal @}Timed, {@literal @}SimplyTimed and - * {@literal @}ConcurrentGauge. + * {@literal @}Counted, {@literal @}Gauge and {@literal @}Timed *

* An example using {@literal @}Counted, * diff --git a/api/src/main/java/org/eclipse/microprofile/metrics/package-info.java b/api/src/main/java/org/eclipse/microprofile/metrics/package-info.java index 140f78b6..cb677cc6 100644 --- a/api/src/main/java/org/eclipse/microprofile/metrics/package-info.java +++ b/api/src/main/java/org/eclipse/microprofile/metrics/package-info.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2017, 2018 Contributors to the Eclipse Foundation + * Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation * * See the NOTICES file(s) distributed with this work for additional * information regarding copyright ownership. @@ -23,7 +23,7 @@ /** * MicroProfile Metrics * - *

Rational

+ *

Rationale

* *

* To ensure reliable operation of software it is necessary to monitor essential system parameters. There is already JMX @@ -34,7 +34,7 @@ * *

Adding Metrics

*

- * MicroProfile Metrics provides 6 different metric types that can be used to instrument an application. Developers can + * MicroProfile Metrics provides 4 different metric types that can be used to instrument an application. Developers can * create an accompanying {@link org.eclipse.microprofile.metrics.Metadata Metadata} object to supply the metric's name, * description, display name, and units. Once the metric and the metadata are registered against the application * {@link org.eclipse.microprofile.metrics.MetricRegistry MetricRegistry}, the metrics will be available in the REST diff --git a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/MetricRegistryTest.java b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/MetricRegistryTest.java index 94c4f7aa..37683a99 100644 --- a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/MetricRegistryTest.java +++ b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/MetricRegistryTest.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2017, 2019 Contributors to the Eclipse Foundation + * Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation * * See the NOTICES file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/DefaultNameMetricMethodBean.java b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/DefaultNameMetricMethodBean.java index 7bcaa465..d60fdda3 100644 --- a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/DefaultNameMetricMethodBean.java +++ b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/DefaultNameMetricMethodBean.java @@ -1,5 +1,10 @@ /** + ********************************************************************** + * Copyright (c) 2013, 2022 Contributors to the Eclipse Foundation * Copyright © 2013 Antonin Stefanutti (antonin.stefanutti@gmail.com) + * + * See the NOTICES file(s) distributed with this work for additional + * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsConstructorBean.java b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsConstructorBean.java index b700b3d0..af9df9d2 100644 --- a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsConstructorBean.java +++ b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsConstructorBean.java @@ -1,5 +1,10 @@ /** + ********************************************************************** + * Copyright (c) 2013, 2022 Contributors to the Eclipse Foundation * Copyright © 2013 Antonin Stefanutti (antonin.stefanutti@gmail.com) + * + * See the NOTICES file(s) distributed with this work for additional + * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsConstructorBeanTest.java b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsConstructorBeanTest.java index 2d0ca83c..815db6ab 100644 --- a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsConstructorBeanTest.java +++ b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsConstructorBeanTest.java @@ -1,5 +1,10 @@ /** + ********************************************************************** + * Copyright (c) 2013, 2022 Contributors to the Eclipse Foundation * Copyright © 2013 Antonin Stefanutti (antonin.stefanutti@gmail.com) + * + * See the NOTICES file(s) distributed with this work for additional + * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsMethodBean.java b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsMethodBean.java index fb526fa2..5531792e 100644 --- a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsMethodBean.java +++ b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsMethodBean.java @@ -1,6 +1,11 @@ /** + ********************************************************************** + * Copyright (c) 2013, 2022 Contributors to the Eclipse Foundation * Copyright © 2013 Antonin Stefanutti (antonin.stefanutti@gmail.com) - * + * + * See the NOTICES file(s) distributed with this work for additional + * information regarding copyright ownership. + * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at diff --git a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsMethodBeanTest.java b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsMethodBeanTest.java index 535caf2c..82a25672 100644 --- a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsMethodBeanTest.java +++ b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/MultipleMetricsMethodBeanTest.java @@ -1,5 +1,10 @@ /** + ********************************************************************** + * Copyright (c) 2013, 2022 Contributors to the Eclipse Foundation * Copyright © 2013 Antonin Stefanutti (antonin.stefanutti@gmail.com) + * + * See the NOTICES file(s) distributed with this work for additional + * information regarding copyright ownership. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/TimerTest.java b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/TimerTest.java index 1ada3480..40c7f41e 100644 --- a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/TimerTest.java +++ b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/metrics/TimerTest.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2017, 2020 Contributors to the Eclipse Foundation + * Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation * 2010-2013 Coda Hale, Yammer.com * * See the NOTICES file(s) distributed with this work for additional diff --git a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/tags/TagsTest.java b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/tags/TagsTest.java index 02b81d0e..bea16d7d 100644 --- a/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/tags/TagsTest.java +++ b/tck/api/src/main/java/org/eclipse/microprofile/metrics/tck/tags/TagsTest.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2017, 2018 Contributors to the Eclipse Foundation + * Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation * * See the NOTICES file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/MetricAppBean.java b/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/MetricAppBean.java index e1aaeed2..8fef2677 100644 --- a/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/MetricAppBean.java +++ b/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/MetricAppBean.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2017, 2019 Contributors to the Eclipse Foundation + * Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation * * See the NOTICES file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/MpMetricTest.java b/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/MpMetricTest.java index 498afe23..6db751ae 100644 --- a/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/MpMetricTest.java +++ b/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/MpMetricTest.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2017, 2019 Contributors to the Eclipse Foundation + * Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation * * See the NOTICES file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/ReusedMetricsTest.java b/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/ReusedMetricsTest.java index 3b64202d..0bb65d8f 100644 --- a/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/ReusedMetricsTest.java +++ b/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/ReusedMetricsTest.java @@ -1,6 +1,6 @@ /* * ******************************************************************** - * Copyright (c) 2017, 2019 Contributors to the Eclipse Foundation + * Copyright (c) 2017, 2022 Contributors to the Eclipse Foundation * * See the NOTICES file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/multipleinstances/DependentScopedBean.java b/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/multipleinstances/DependentScopedBean.java index 9ca856a7..82853f3b 100644 --- a/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/multipleinstances/DependentScopedBean.java +++ b/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/multipleinstances/DependentScopedBean.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2019 Contributors to the Eclipse Foundation + * Copyright (c) 2019, 2022 Contributors to the Eclipse Foundation * * See the NOTICES file(s) distributed with this work for additional * information regarding copyright ownership. diff --git a/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/multipleinstances/MultipleBeanInstancesTest.java b/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/multipleinstances/MultipleBeanInstancesTest.java index 3ff72ec7..910fdd9a 100644 --- a/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/multipleinstances/MultipleBeanInstancesTest.java +++ b/tck/rest/src/main/java/org/eclipse/microprofile/metrics/test/multipleinstances/MultipleBeanInstancesTest.java @@ -1,6 +1,6 @@ /* ********************************************************************** - * Copyright (c) 2019 Contributors to the Eclipse Foundation + * Copyright (c) 2019, 2022 Contributors to the Eclipse Foundation * * See the NOTICES file(s) distributed with this work for additional * information regarding copyright ownership.