This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/tomee-site-pub.git


The following commit(s) were added to refs/heads/asf-site by this push:
     new 2c635ac736 [site-publish] source tomee-site-generator 
https://github.com/apache/tomee-site-generator 
https://ci-builds.apache.org/job/Tomee/job/site-publish
2c635ac736 is described below

commit 2c635ac736653a334a284469dec3908c46a8245c
Author: jenkins <[email protected]>
AuthorDate: Sat Aug 13 00:46:09 2022 +0000

    [site-publish] source tomee-site-generator
    https://github.com/apache/tomee-site-generator
    https://ci-builds.apache.org/job/Tomee/job/site-publish
---
 microprofile-6.0/javadoc/index-all.html                             | 2 +-
 .../javadoc/org/eclipse/microprofile/metrics/Gauge.html             | 6 +++---
 .../javadoc/org/eclipse/microprofile/metrics/annotation/Gauge.html  | 4 +++-
 .../javadoc/org/eclipse/microprofile/metrics/package-summary.html   | 2 +-
 4 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/microprofile-6.0/javadoc/index-all.html 
b/microprofile-6.0/javadoc/index-all.html
index 7c727a2cf8..f484d87851 100644
--- a/microprofile-6.0/javadoc/index-all.html
+++ b/microprofile-6.0/javadoc/index-all.html
@@ -1577,7 +1577,7 @@
 <dd>
 <div class="block">An annotation for marking a method or field as a 
gauge.</div>
 </dd>
-<dt><a href="org/eclipse/microprofile/metrics/Gauge.html" title="interface in 
org.eclipse.microprofile.metrics"><span 
class="typeNameLink">Gauge</span></a>&lt;<a 
href="org/eclipse/microprofile/metrics/Gauge.html" title="type parameter in 
Gauge">T</a>&gt; - Interface in <a 
href="org/eclipse/microprofile/metrics/package-summary.html">org.eclipse.microprofile.metrics</a></dt>
+<dt><a href="org/eclipse/microprofile/metrics/Gauge.html" title="interface in 
org.eclipse.microprofile.metrics"><span 
class="typeNameLink">Gauge</span></a>&lt;<a 
href="org/eclipse/microprofile/metrics/Gauge.html" title="type parameter in 
Gauge">T</a> extends java.lang.Number&gt; - Interface in <a 
href="org/eclipse/microprofile/metrics/package-summary.html">org.eclipse.microprofile.metrics</a></dt>
 <dd>
 <div class="block">A gauge metric is an instantaneous reading of a particular 
value.</div>
 </dd>
diff --git 
a/microprofile-6.0/javadoc/org/eclipse/microprofile/metrics/Gauge.html 
b/microprofile-6.0/javadoc/org/eclipse/microprofile/metrics/Gauge.html
index ebf0a9bd87..83a4efdd20 100644
--- a/microprofile-6.0/javadoc/org/eclipse/microprofile/metrics/Gauge.html
+++ b/microprofile-6.0/javadoc/org/eclipse/microprofile/metrics/Gauge.html
@@ -92,7 +92,7 @@ var activeTableTab = "activeTableTab";
 <!-- ======== START OF CLASS DATA ======== -->
 <div class="header">
 <div class="subTitle">org.eclipse.microprofile.metrics</div>
-<h2 title="Interface Gauge" class="title">Interface Gauge&lt;T&gt;</h2>
+<h2 title="Interface Gauge" class="title">Interface Gauge&lt;T extends 
java.lang.Number&gt;</h2>
 </div>
 <div class="contentContainer">
 <div class="description">
@@ -100,7 +100,7 @@ var activeTableTab = "activeTableTab";
 <li class="blockList">
 <dl>
 <dt><span class="paramLabel">Type Parameters:</span></dt>
-<dd><code>T</code> - the type of the metric's value</dd>
+<dd><code>T</code> - the type of the metric's value. Must be numeric.</dd>
 </dl>
 <dl>
 <dt>All Superinterfaces:</dt>
@@ -113,7 +113,7 @@ var activeTableTab = "activeTableTab";
 <hr>
 <br>
 <pre>@FunctionalInterface
-public interface <span class="typeNameLabel">Gauge&lt;T&gt;</span>
+public interface <span class="typeNameLabel">Gauge&lt;T extends 
java.lang.Number&gt;</span>
 extends <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" 
title="interface in org.eclipse.microprofile.metrics">Metric</a></pre>
 <div class="block">A gauge metric is an instantaneous reading of a particular 
value. To instrument a queue's depth, for example:<br>
  
diff --git 
a/microprofile-6.0/javadoc/org/eclipse/microprofile/metrics/annotation/Gauge.html
 
b/microprofile-6.0/javadoc/org/eclipse/microprofile/metrics/annotation/Gauge.html
index 3d5f17e144..7e9cbc8c21 100644
--- 
a/microprofile-6.0/javadoc/org/eclipse/microprofile/metrics/annotation/Gauge.html
+++ 
b/microprofile-6.0/javadoc/org/eclipse/microprofile/metrics/annotation/Gauge.html
@@ -112,7 +112,9 @@ public @interface <span 
class="memberNameLabel">Gauge</span></pre>
  </pre>
  
  A gauge with the fully qualified class name + <code>queueSize</code> will be 
created which uses the annotated method's
- return value as its value.</div>
+ return value as its value.
+ 
+ The annotated method/field must be of numeric type (extends 
<code>Number</code>).</div>
 <dl>
 <dt><span class="simpleTagLabel">Examples (en):</span></dt>
 <dd><a 
href="../../../../../../../../tomee-9.0/examples/mp-metrics-gauge.html">mp-metrics-gauge</a></dd>
diff --git 
a/microprofile-6.0/javadoc/org/eclipse/microprofile/metrics/package-summary.html
 
b/microprofile-6.0/javadoc/org/eclipse/microprofile/metrics/package-summary.html
index f45a269c3b..d4ad670c29 100644
--- 
a/microprofile-6.0/javadoc/org/eclipse/microprofile/metrics/package-summary.html
+++ 
b/microprofile-6.0/javadoc/org/eclipse/microprofile/metrics/package-summary.html
@@ -98,7 +98,7 @@
 </td>
 </tr>
 <tr class="altColor">
-<td class="colFirst"><a 
href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface 
in org.eclipse.microprofile.metrics">Gauge</a>&lt;T&gt;</td>
+<td class="colFirst"><a 
href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface 
in org.eclipse.microprofile.metrics">Gauge</a>&lt;T extends 
java.lang.Number&gt;</td>
 <td class="colLast">
 <div class="block">A gauge metric is an instantaneous reading of a particular 
value.</div>
 </td>

Reply via email to