| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
| <!-- NewPage --> |
| <html lang="en"> |
| <head> |
| <title>MetricRegistry</title> |
| <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style"> |
| <script type="text/javascript" src="../../../../script.js"></script> |
| |
| <link rel="shortcut icon" href="/img/microprofile-favicon.png"> |
| </head> |
| <body> |
| <script type="text/javascript"><!-- |
| try { |
| if (location.href.indexOf('is-external=true') == -1) { |
| parent.document.title="MetricRegistry"; |
| } |
| } |
| catch(err) { |
| } |
| //--> |
| var methods = {"i0":6,"i1":6,"i2":6,"i3":6,"i4":6,"i5":6,"i6":6,"i7":6,"i8":6,"i9":6,"i10":6,"i11":6,"i12":6,"i13":6,"i14":6,"i15":6,"i16":6,"i17":6,"i18":6,"i19":6,"i20":6,"i21":6,"i22":6,"i23":6,"i24":6,"i25":6,"i26":6,"i27":6,"i28":6,"i29":6,"i30":6,"i31":6,"i32":6,"i33":6,"i34":6,"i35":6,"i36":6,"i37":6,"i38":6,"i39":6,"i40":6,"i41":6,"i42":6,"i43":6,"i44":6,"i45":6,"i46":6,"i47":6,"i48":6,"i49":6,"i50":6,"i51":6,"i52":6,"i53":6,"i54":6,"i55":6,"i56":6,"i57":17,"i58":17,"i59":6,"i60":6,"i61":6,"i62":6,"i63":6,"i64":6,"i65":6,"i66":6,"i67":6,"i68":6,"i69":6,"i70":6,"i71":6,"i72":6,"i73":6,"i74":6}; |
| var tabs = {65535:["t0","All Methods"],1:["t1","Static Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],16:["t5","Default Methods"]}; |
| var altColor = "altColor"; |
| var rowColor = "rowColor"; |
| var tableTab = "tableTab"; |
| var activeTableTab = "activeTableTab"; |
| </script> |
| <noscript> |
| <div>JavaScript is disabled on your browser.</div> |
| </noscript> |
| <!-- ========= START OF TOP NAVBAR ======= --> |
| <div class="topNav"><a name="navbar.top"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.top.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.Type.html" title="enum in org.eclipse.microprofile.metrics"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/microprofile/metrics/MetricRegistry.html" target="_top">Frames</a></li> |
| <li><a href="MetricRegistry.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_top"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_top"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.top"> |
| <!-- --> |
| </a></div> |
| <!-- ========= END OF TOP NAVBAR ========= --> |
| <!-- ======== START OF CLASS DATA ======== --> |
| <div class="header"> |
| <div class="subTitle">org.eclipse.microprofile.metrics</div> |
| <h2 title="Interface MetricRegistry" class="title">Interface MetricRegistry</h2> |
| </div> |
| <div class="contentContainer"> |
| <div class="description"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <hr> |
| <br> |
| <pre>public interface <span class="typeNameLabel">MetricRegistry</span></pre> |
| <div class="block">The registry that stores metrics and their metadata. The MetricRegistry provides methods to register, create and |
| retrieve metrics and their respective metadata.</div> |
| <dl> |
| <dt><span class="seeLabel">See Also:</span></dt> |
| <dd><a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics"><code>MetricFilter</code></a></dd> |
| <dt><span class="simpleTagLabel">Examples (en):</span></dt> |
| <dd><a href="../../../../../../../tomee-9.0/examples/mp-metrics-histogram.html">mp-metrics-histogram</a></dd> |
| <dt><span class="simpleTagLabel">Examples (es):</span></dt> |
| <dd><a href="../../../../../../../tomee-9.0/es/examples/mp-metrics-histogram.html">mp-metrics-histogram</a></dd> |
| <dt><span class="simpleTagLabel">Examples (pt):</span></dt> |
| <dd><a href="../../../../../../../tomee-9.0/pt/examples/mp-metrics-histogram.html">mp-metrics-histogram</a></dd> |
| </dl> |
| </li> |
| </ul> |
| </div> |
| <div class="summary"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ======== NESTED CLASS SUMMARY ======== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="nested.class.summary"> |
| <!-- --> |
| </a> |
| <h3>Nested Class Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Nested Class Summary table, listing nested classes, and an explanation"> |
| <caption><span>Nested Classes</span><span class="tabEnd"> </span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Interface and Description</th> |
| </tr> |
| <tr class="altColor"> |
| <td class="colFirst"><code>static class </code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.Type.html" title="enum in org.eclipse.microprofile.metrics">MetricRegistry.Type</a></span></code> |
| <div class="block">An enumeration representing the scopes of the MetricRegistry</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| <!-- ========== METHOD SUMMARY =========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.summary"> |
| <!-- --> |
| </a> |
| <h3>Method Summary</h3> |
| <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation"> |
| <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd"> </span></span><span id="t1" class="tableTab"><span><a href="javascript:show(1);">Static Methods</a></span><span class="tabEnd"> </span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd"> </span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd"> </span></span><span id="t5" class="tableTab"><span><a href="javascript:show(16);">Default Methods</a></span><span class="tabEnd"> </span></span></caption> |
| <tr> |
| <th class="colFirst" scope="col">Modifier and Type</th> |
| <th class="colLast" scope="col">Method and Description</th> |
| </tr> |
| <tr id="i0" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#concurrentGauge-org.eclipse.microprofile.metrics.Metadata-">concurrentGauge</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name; or |
| create and register a new <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i1" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#concurrentGauge-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Tag...-">concurrentGauge</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and |
| with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i2" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#concurrentGauge-org.eclipse.microprofile.metrics.MetricID-">concurrentGauge</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register a new |
| <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i3" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#concurrentGauge-java.lang.String-">concurrentGauge</a></span>(java.lang.String name)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name; or create and register a |
| new <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i4" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#concurrentGauge-java.lang.String-org.eclipse.microprofile.metrics.Tag...-">concurrentGauge</a></span>(java.lang.String name, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i5" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#counter-org.eclipse.microprofile.metrics.Metadata-">counter</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with no |
| tags; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i6" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#counter-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Tag...-">counter</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with the |
| provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i7" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#counter-org.eclipse.microprofile.metrics.MetricID-">counter</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> if |
| none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i8" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#counter-java.lang.String-">counter</a></span>(java.lang.String name)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with no tags; or create and |
| register a new <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i9" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#counter-java.lang.String-org.eclipse.microprofile.metrics.Tag...-">counter</a></span>(java.lang.String name, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i10" class="altColor"> |
| <td class="colFirst"><code><T extends java.lang.Number><br><a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><T></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#gauge-org.eclipse.microprofile.metrics.Metadata-java.util.function.Supplier-org.eclipse.microprofile.metrics.Tag...-">gauge</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| java.util.function.Supplier<T> supplier, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the @{link Metadata}'s name and with the |
| provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register this gauge if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i11" class="rowColor"> |
| <td class="colFirst"><code><T,R extends java.lang.Number><br><a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><R></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#gauge-org.eclipse.microprofile.metrics.Metadata-T-java.util.function.Function-org.eclipse.microprofile.metrics.Tag...-">gauge</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| T object, |
| java.util.function.Function<T,R> func, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> of type <code>Number</code> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with |
| the @{link Metadata}'s name and with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register this gauge if none is |
| registered.</div> |
| </td> |
| </tr> |
| <tr id="i12" class="altColor"> |
| <td class="colFirst"><code><T extends java.lang.Number><br><a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><T></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#gauge-org.eclipse.microprofile.metrics.MetricID-java.util.function.Supplier-">gauge</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID, |
| java.util.function.Supplier<T> supplier)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register this gauge if none is |
| registered.</div> |
| </td> |
| </tr> |
| <tr id="i13" class="rowColor"> |
| <td class="colFirst"><code><T,R extends java.lang.Number><br><a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><R></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#gauge-org.eclipse.microprofile.metrics.MetricID-T-java.util.function.Function-">gauge</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID, |
| T object, |
| java.util.function.Function<T,R> func)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> of type <code>Number</code> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create |
| and register this gauge if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i14" class="altColor"> |
| <td class="colFirst"><code><T extends java.lang.Number><br><a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><T></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#gauge-java.lang.String-java.util.function.Supplier-org.eclipse.microprofile.metrics.Tag...-">gauge</a></span>(java.lang.String name, |
| java.util.function.Supplier<T> supplier, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; |
| or create and register this gauge if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i15" class="rowColor"> |
| <td class="colFirst"><code><T,R extends java.lang.Number><br><a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><R></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#gauge-java.lang.String-T-java.util.function.Function-org.eclipse.microprofile.metrics.Tag...-">gauge</a></span>(java.lang.String name, |
| T object, |
| java.util.function.Function<T,R> func, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> of type <code>Number</code> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this |
| name and with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register this gauge if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i16" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getConcurrentGauge-org.eclipse.microprofile.metrics.MetricID-">getConcurrentGauge</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i17" class="rowColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getConcurrentGauges--">getConcurrentGauges</a></span>()</code> |
| <div class="block">Returns a map of all the concurrent gauges in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| </td> |
| </tr> |
| <tr id="i18" class="altColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getConcurrentGauges-org.eclipse.microprofile.metrics.MetricFilter-">getConcurrentGauges</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</code> |
| <div class="block">Returns a map of all the concurrent gauges in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given |
| filter.</div> |
| </td> |
| </tr> |
| <tr id="i19" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getCounter-org.eclipse.microprofile.metrics.MetricID-">getCounter</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i20" class="altColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getCounters--">getCounters</a></span>()</code> |
| <div class="block">Returns a map of all the counters in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| </td> |
| </tr> |
| <tr id="i21" class="rowColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getCounters-org.eclipse.microprofile.metrics.MetricFilter-">getCounters</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</code> |
| <div class="block">Returns a map of all the counters in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| </td> |
| </tr> |
| <tr id="i22" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><?></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getGauge-org.eclipse.microprofile.metrics.MetricID-">getGauge</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i23" class="rowColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getGauges--">getGauges</a></span>()</code> |
| <div class="block">Returns a map of all the gauges in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| </td> |
| </tr> |
| <tr id="i24" class="altColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getGauges-org.eclipse.microprofile.metrics.MetricFilter-">getGauges</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</code> |
| <div class="block">Returns a map of all the gauges in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| </td> |
| </tr> |
| <tr id="i25" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getHistogram-org.eclipse.microprofile.metrics.MetricID-">getHistogram</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i26" class="altColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getHistograms--">getHistograms</a></span>()</code> |
| <div class="block">Returns a map of all the histograms in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| </td> |
| </tr> |
| <tr id="i27" class="rowColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getHistograms-org.eclipse.microprofile.metrics.MetricFilter-">getHistograms</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</code> |
| <div class="block">Returns a map of all the histograms in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| </td> |
| </tr> |
| <tr id="i28" class="altColor"> |
| <td class="colFirst"><code>java.util.Map<java.lang.String,<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetadata--">getMetadata</a></span>()</code> |
| <div class="block">Returns a map of all the metadata in the registry and their names.</div> |
| </td> |
| </tr> |
| <tr id="i29" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetadata-java.lang.String-">getMetadata</a></span>(java.lang.String name)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> for the provided name.</div> |
| </td> |
| </tr> |
| <tr id="i30" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMeter-org.eclipse.microprofile.metrics.MetricID-">getMeter</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i31" class="rowColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMeters--">getMeters</a></span>()</code> |
| <div class="block">Returns a map of all the meters in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| </td> |
| </tr> |
| <tr id="i32" class="altColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMeters-org.eclipse.microprofile.metrics.MetricFilter-">getMeters</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</code> |
| <div class="block">Returns a map of all the meters in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| </td> |
| </tr> |
| <tr id="i33" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetric-org.eclipse.microprofile.metrics.MetricID-">getMetric</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics"><code>Metric</code></a> registered for a provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i34" class="altColor"> |
| <td class="colFirst"><code><T extends <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>><br>T</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetric-org.eclipse.microprofile.metrics.MetricID-java.lang.Class-">getMetric</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID, |
| java.lang.Class<T> asType)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics"><code>Metric</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> as the provided type.</div> |
| </td> |
| </tr> |
| <tr id="i35" class="rowColor"> |
| <td class="colFirst"><code>java.util.SortedSet<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetricIDs--">getMetricIDs</a></span>()</code> |
| <div class="block">Returns a set of the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s of all the metrics in the registry.</div> |
| </td> |
| </tr> |
| <tr id="i36" class="altColor"> |
| <td class="colFirst"><code>java.util.Map<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetrics--">getMetrics</a></span>()</code> |
| <div class="block">Returns a map of all the metrics in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s at query time.</div> |
| </td> |
| </tr> |
| <tr id="i37" class="rowColor"> |
| <td class="colFirst"><code><T extends <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>><br>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,T></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetrics-java.lang.Class-org.eclipse.microprofile.metrics.MetricFilter-">getMetrics</a></span>(java.lang.Class<T> ofType, |
| <a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</code> |
| <div class="block">Returns a map of all the metrics in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter and |
| which are assignable to the provided type.</div> |
| </td> |
| </tr> |
| <tr id="i38" class="altColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetrics-org.eclipse.microprofile.metrics.MetricFilter-">getMetrics</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</code> |
| <div class="block">Returns a map of all the metrics in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| </td> |
| </tr> |
| <tr id="i39" class="rowColor"> |
| <td class="colFirst"><code>java.util.SortedSet<java.lang.String></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getNames--">getNames</a></span>()</code> |
| <div class="block">Returns a set of the names of all the metrics in the registry.</div> |
| </td> |
| </tr> |
| <tr id="i40" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getSimpleTimer-org.eclipse.microprofile.metrics.MetricID-">getSimpleTimer</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i41" class="rowColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getSimpleTimers--">getSimpleTimers</a></span>()</code> |
| <div class="block">Returns a map of all the simple timers in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| </td> |
| </tr> |
| <tr id="i42" class="altColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getSimpleTimers-org.eclipse.microprofile.metrics.MetricFilter-">getSimpleTimers</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</code> |
| <div class="block">Returns a map of all the simple timers in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| </td> |
| </tr> |
| <tr id="i43" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getTimer-org.eclipse.microprofile.metrics.MetricID-">getTimer</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| </td> |
| </tr> |
| <tr id="i44" class="altColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getTimers--">getTimers</a></span>()</code> |
| <div class="block">Returns a map of all the timers in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| </td> |
| </tr> |
| <tr id="i45" class="rowColor"> |
| <td class="colFirst"><code>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a>></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getTimers-org.eclipse.microprofile.metrics.MetricFilter-">getTimers</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</code> |
| <div class="block">Returns a map of all the timers in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| </td> |
| </tr> |
| <tr id="i46" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.Type.html" title="enum in org.eclipse.microprofile.metrics">MetricRegistry.Type</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getType--">getType</a></span>()</code> |
| <div class="block">Returns the type of this metric registry.</div> |
| </td> |
| </tr> |
| <tr id="i47" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#histogram-org.eclipse.microprofile.metrics.Metadata-">histogram</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with no |
| tags; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i48" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#histogram-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Tag...-">histogram</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with the |
| provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i49" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#histogram-org.eclipse.microprofile.metrics.MetricID-">histogram</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register a new |
| <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i50" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#histogram-java.lang.String-">histogram</a></span>(java.lang.String name)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with no tags; or create and |
| register a new <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i51" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#histogram-java.lang.String-org.eclipse.microprofile.metrics.Tag...-">histogram</a></span>(java.lang.String name, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i52" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#meter-org.eclipse.microprofile.metrics.Metadata-">meter</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with no tags; |
| or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i53" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#meter-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Tag...-">meter</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with the |
| provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i54" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#meter-org.eclipse.microprofile.metrics.MetricID-">meter</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> if |
| none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i55" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#meter-java.lang.String-">meter</a></span>(java.lang.String name)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with no tags; or create and |
| register a new <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i56" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#meter-java.lang.String-org.eclipse.microprofile.metrics.Tag...-">meter</a></span>(java.lang.String name, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; |
| or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i57" class="rowColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#name-java.lang.Class-java.lang.String...-">name</a></span>(java.lang.Class<?> klass, |
| java.lang.String... names)</code> |
| <div class="block">Concatenates a class name and elements to form a dotted name, eliding any null values or empty strings.</div> |
| </td> |
| </tr> |
| <tr id="i58" class="altColor"> |
| <td class="colFirst"><code>static java.lang.String</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#name-java.lang.String-java.lang.String...-">name</a></span>(java.lang.String name, |
| java.lang.String... names)</code> |
| <div class="block">Concatenates elements to form a dotted name, eliding any null values or empty strings.</div> |
| </td> |
| </tr> |
| <tr id="i59" class="rowColor"> |
| <td class="colFirst"><code><T extends <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>><br>T</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#register-org.eclipse.microprofile.metrics.Metadata-T-">register</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| T metric)</code> |
| <div class="block">Given a <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics"><code>Metric</code></a> and <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>, registers the metric with a <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the name provided |
| by the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> and with no tags.</div> |
| </td> |
| </tr> |
| <tr id="i60" class="altColor"> |
| <td class="colFirst"><code><T extends <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>><br>T</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#register-org.eclipse.microprofile.metrics.Metadata-T-org.eclipse.microprofile.metrics.Tag...-">register</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| T metric, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Given a <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics"><code>Metric</code></a> and <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>, registers both under a <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the name provided by |
| the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> and with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s.</div> |
| </td> |
| </tr> |
| <tr id="i61" class="rowColor"> |
| <td class="colFirst"><code><T extends <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>><br>T</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#register-java.lang.String-T-">register</a></span>(java.lang.String name, |
| T metric)</code> |
| <div class="block">Given a <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics"><code>Metric</code></a>, registers it under a <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the given name and with no tags.</div> |
| </td> |
| </tr> |
| <tr id="i62" class="altColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#remove-org.eclipse.microprofile.metrics.MetricID-">remove</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Removes the metric with the given MetricID</div> |
| </td> |
| </tr> |
| <tr id="i63" class="rowColor"> |
| <td class="colFirst"><code>boolean</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#remove-java.lang.String-">remove</a></span>(java.lang.String name)</code> |
| <div class="block">Removes all metrics with the given name.</div> |
| </td> |
| </tr> |
| <tr id="i64" class="altColor"> |
| <td class="colFirst"><code>void</code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#removeMatching-org.eclipse.microprofile.metrics.MetricFilter-">removeMatching</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</code> |
| <div class="block">Removes all metrics which match the given filter.</div> |
| </td> |
| </tr> |
| <tr id="i65" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#simpleTimer-org.eclipse.microprofile.metrics.Metadata-">simpleTimer</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered under the the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and |
| with no tags; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i66" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#simpleTimer-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Tag...-">simpleTimer</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered under the the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and |
| with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i67" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#simpleTimer-org.eclipse.microprofile.metrics.MetricID-">simpleTimer</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register a new |
| <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i68" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#simpleTimer-java.lang.String-">simpleTimer</a></span>(java.lang.String name)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with no tags; or create |
| and register a new <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i69" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#simpleTimer-java.lang.String-org.eclipse.microprofile.metrics.Tag...-">simpleTimer</a></span>(java.lang.String name, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i70" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#timer-org.eclipse.microprofile.metrics.Metadata-">timer</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered under the the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with no |
| tags; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i71" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#timer-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Tag...-">timer</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered under the the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with the |
| provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i72" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#timer-org.eclipse.microprofile.metrics.MetricID-">timer</a></span>(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> if |
| none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i73" class="rowColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#timer-java.lang.String-">timer</a></span>(java.lang.String name)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with no tags; or create and |
| register a new <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| <tr id="i74" class="altColor"> |
| <td class="colFirst"><code><a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a></code></td> |
| <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#timer-java.lang.String-org.eclipse.microprofile.metrics.Tag...-">timer</a></span>(java.lang.String name, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</code> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; |
| or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> if none is registered.</div> |
| </td> |
| </tr> |
| </table> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| <div class="details"> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <!-- ============ METHOD DETAIL ========== --> |
| <ul class="blockList"> |
| <li class="blockList"><a name="method.detail"> |
| <!-- --> |
| </a> |
| <h3>Method Detail</h3> |
| <a name="name-java.lang.String-java.lang.String...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>name</h4> |
| <pre>static java.lang.String name(java.lang.String name, |
| java.lang.String... names)</pre> |
| <div class="block">Concatenates elements to form a dotted name, eliding any null values or empty strings.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the first element of the name</dd> |
| <dd><code>names</code> - the remaining elements of the name</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>name</code> and <code>names</code> concatenated by periods</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="name-java.lang.Class-java.lang.String...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>name</h4> |
| <pre>static java.lang.String name(java.lang.Class<?> klass, |
| java.lang.String... names)</pre> |
| <div class="block">Concatenates a class name and elements to form a dotted name, eliding any null values or empty strings.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>klass</code> - the first element of the name</dd> |
| <dd><code>names</code> - the remaining elements of the name</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>klass</code> and <code>names</code> concatenated by periods</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="register-java.lang.String-org.eclipse.microprofile.metrics.Metric-"> |
| <!-- --> |
| </a><a name="register-java.lang.String-T-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre><T extends <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>> T register(java.lang.String name, |
| T metric) |
| throws java.lang.IllegalArgumentException</pre> |
| <div class="block">Given a <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics"><code>Metric</code></a>, registers it under a <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the given name and with no tags. A |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. However, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is |
| already registered with this metric name and is not equal to the created <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an |
| exception will be thrown.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - the type of the metric</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dd><code>metric</code> - the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>metric</code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - if the name is already registered or if Metadata with different values has already been registered |
| with the name</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="register-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Metric-"> |
| <!-- --> |
| </a><a name="register-org.eclipse.microprofile.metrics.Metadata-T-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre><T extends <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>> T register(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| T metric) |
| throws java.lang.IllegalArgumentException</pre> |
| <div class="block">Given a <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics"><code>Metric</code></a> and <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>, registers the metric with a <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the name provided |
| by the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> and with no tags. |
| <p> |
| Note: If a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and is not equal to the provided |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - the type of the metric</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the metadata</dd> |
| <dd><code>metric</code> - the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>metric</code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - if the name is already registered or if Metadata with different values has already been registered |
| with the name</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>1.1</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="register-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Metric-org.eclipse.microprofile.metrics.Tag:A-"> |
| <!-- --> |
| </a><a name="register-org.eclipse.microprofile.metrics.Metadata-T-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>register</h4> |
| <pre><T extends <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>> T register(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| T metric, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags) |
| throws java.lang.IllegalArgumentException</pre> |
| <div class="block">Given a <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics"><code>Metric</code></a> and <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>, registers both under a <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the name provided by |
| the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> and with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s. |
| <p> |
| Note: If a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and is not equal to the provided |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - the type of the metric</dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the metadata</dd> |
| <dd><code>metric</code> - the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd><code>metric</code></dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - if the name is already registered or if Metadata with different values has already been registered |
| with the name</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="counter-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>counter</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a> counter(java.lang.String name)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with no tags; or create and |
| register a new <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="counter-java.lang.String-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>counter</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a> counter(java.lang.String name, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="counter-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>counter</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a> counter(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> if |
| none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - the ID of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="counter-org.eclipse.microprofile.metrics.Metadata-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>counter</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a> counter(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with no |
| tags; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> if none is registered. If a <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> was created, the |
| provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered. |
| <p> |
| Note: During retrieval or creation, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and |
| is not equal to the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="counter-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>counter</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a> counter(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with the |
| provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> if none is registered. If a <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> |
| was created, the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered. |
| <p> |
| Note: During retrieval or creation, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and |
| is not equal to the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the name of the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="concurrentGauge-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>concurrentGauge</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a> concurrentGauge(java.lang.String name)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name; or create and register a |
| new <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> if none is registered. If a <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> |
| object will be registered with the name and type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="concurrentGauge-java.lang.String-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>concurrentGauge</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a> concurrentGauge(java.lang.String name, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> if none is registered. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="concurrentGauge-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>concurrentGauge</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a> concurrentGauge(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register a new |
| <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> if none is registered. If a <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> |
| object will be registered with the name and type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - the ID of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="concurrentGauge-org.eclipse.microprofile.metrics.Metadata-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>concurrentGauge</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a> concurrentGauge(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name; or |
| create and register a new <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> if none is registered. If a <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> was |
| created, the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered. |
| <p> |
| Note: During retrieval or creation, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and |
| is not equal to the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="concurrentGauge-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>concurrentGauge</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a> concurrentGauge(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and |
| with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> if none is registered. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> was created, the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered. |
| <p> |
| Note: During retrieval or creation, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and |
| is not equal to the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the name of the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="gauge-java.lang.String-java.lang.Object-java.util.function.Function-org.eclipse.microprofile.metrics.Tag:A-"> |
| <!-- --> |
| </a><a name="gauge-java.lang.String-T-java.util.function.Function-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gauge</h4> |
| <pre><T,R extends java.lang.Number> <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><R> gauge(java.lang.String name, |
| T object, |
| java.util.function.Function<T,R> func, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> of type <code>Number</code> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this |
| name and with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register this gauge if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used. |
| |
| The created <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> will apply a <code>Function</code> to the provided object to |
| resolve a <code>Number</code> value.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - The Type of the Object of which the function <code>func</code> is applied to</dd> |
| <dd><code>R</code> - A <code>Number</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - The name of the Gauge metric</dd> |
| <dd><code>object</code> - The object that the <code>Function</code> <code>func</code> will be applied to</dd> |
| <dd><code>func</code> - The <code>Function</code> that will be applied to <code>object</code></dd> |
| <dd><code>tags</code> - The tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="gauge-org.eclipse.microprofile.metrics.MetricID-java.lang.Object-java.util.function.Function-"> |
| <!-- --> |
| </a><a name="gauge-org.eclipse.microprofile.metrics.MetricID-T-java.util.function.Function-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gauge</h4> |
| <pre><T,R extends java.lang.Number> <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><R> gauge(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID, |
| T object, |
| java.util.function.Function<T,R> func)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> of type <code>Number</code> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create |
| and register this gauge if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used. |
| |
| The created <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> will apply a <code>Function</code> to the provided object to |
| resolve a <code>Number</code> value.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - The Type of the Object of which the function <code>func</code> is applied to</dd> |
| <dd><code>R</code> - A <code>Number</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - The MetricID of the Gauge metric</dd> |
| <dd><code>object</code> - The object that the <code>Function</code> <code>func</code> will be applied to</dd> |
| <dd><code>func</code> - The <code>Function</code> that will be applied to <code>object</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="gauge-org.eclipse.microprofile.metrics.Metadata-java.lang.Object-java.util.function.Function-org.eclipse.microprofile.metrics.Tag:A-"> |
| <!-- --> |
| </a><a name="gauge-org.eclipse.microprofile.metrics.Metadata-T-java.util.function.Function-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gauge</h4> |
| <pre><T,R extends java.lang.Number> <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><R> gauge(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| T object, |
| java.util.function.Function<T,R> func, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> of type <code>Number</code> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with |
| the @{link Metadata}'s name and with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register this gauge if none is |
| registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used. |
| |
| The created <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> will apply a <code>Function</code> to the provided object to |
| resolve a <code>Number</code> value.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - The Type of the Object of which the function <code>func</code> is applied to</dd> |
| <dd><code>R</code> - A <code>Number</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - The Metadata of the Gauge</dd> |
| <dd><code>object</code> - The object that the <code>Function</code> <code>func</code> will be applied to</dd> |
| <dd><code>func</code> - The <code>Function</code> that will be applied to <code>object</code></dd> |
| <dd><code>tags</code> - The tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="gauge-java.lang.String-java.util.function.Supplier-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gauge</h4> |
| <pre><T extends java.lang.Number> <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><T> gauge(java.lang.String name, |
| java.util.function.Supplier<T> supplier, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; |
| or create and register this gauge if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used. |
| |
| The created <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> will return the value that the <code>Supplier</code> will |
| provide.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - A <code>Number</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - The name of the Gauge</dd> |
| <dd><code>supplier</code> - The <code>Supplier</code> function that will return the value for the Gauge |
| metric</dd> |
| <dd><code>tags</code> - The tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="gauge-org.eclipse.microprofile.metrics.MetricID-java.util.function.Supplier-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gauge</h4> |
| <pre><T extends java.lang.Number> <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><T> gauge(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID, |
| java.util.function.Supplier<T> supplier)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register this gauge if none is |
| registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used. |
| |
| The created <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> will return the value that the <code>Supplier</code> will |
| provide.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - A <code>Number</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - The <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a></dd> |
| <dd><code>supplier</code> - The <code>Supplier</code> function that will return the value for the Gauge |
| metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="gauge-org.eclipse.microprofile.metrics.Metadata-java.util.function.Supplier-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>gauge</h4> |
| <pre><T extends java.lang.Number> <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><T> gauge(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| java.util.function.Supplier<T> supplier, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the @{link Metadata}'s name and with the |
| provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register this gauge if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used. |
| |
| The created <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> will return the value that the <code>Supplier</code> will |
| provide.</div> |
| <dl> |
| <dt><span class="paramLabel">Type Parameters:</span></dt> |
| <dd><code>T</code> - A <code>Number</code></dd> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - The metadata of the gauge</dd> |
| <dd><code>supplier</code> - The <code>Supplier</code> function that will return the value for the Gauge |
| metric</dd> |
| <dd><code>tags</code> - The tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="histogram-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>histogram</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a> histogram(java.lang.String name)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with no tags; or create and |
| register a new <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="histogram-java.lang.String-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>histogram</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a> histogram(java.lang.String name, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="histogram-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>histogram</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a> histogram(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register a new |
| <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - the ID of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="histogram-org.eclipse.microprofile.metrics.Metadata-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>histogram</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a> histogram(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with no |
| tags; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> if none is registered. If a <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> was created, |
| the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered. |
| <p> |
| Note: During retrieval or creation, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and |
| is not equal to the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="histogram-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>histogram</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a> histogram(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with the |
| provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> if none is registered. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> was created, the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered. |
| <p> |
| Note: During retrieval or creation, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and |
| is not equal to the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the name of the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="meter-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>meter</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a> meter(java.lang.String name)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with no tags; or create and |
| register a new <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="meter-java.lang.String-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>meter</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a> meter(java.lang.String name, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; |
| or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="meter-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>meter</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a> meter(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> if |
| none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - the ID of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="meter-org.eclipse.microprofile.metrics.Metadata-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>meter</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a> meter(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with no tags; |
| or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> if none is registered. If a <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> was created, the provided |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered. |
| <p> |
| Note: During retrieval or creation, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and |
| is not equal to the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="meter-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>meter</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a> meter(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with the |
| provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> if none is registered. If a <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> was |
| created, the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered. |
| <p> |
| Note: During retrieval or creation, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and |
| is not equal to the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the name of the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="timer-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>timer</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a> timer(java.lang.String name)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with no tags; or create and |
| register a new <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="timer-java.lang.String-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>timer</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a> timer(java.lang.String name, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; |
| or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="timer-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>timer</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a> timer(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> if |
| none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - the ID of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="timer-org.eclipse.microprofile.metrics.Metadata-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>timer</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a> timer(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered under the the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with no |
| tags; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> if none is registered. If a <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> was created, the |
| provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered. |
| <p> |
| Note: During retrieval or creation, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and |
| is not equal to the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a></dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="timer-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>timer</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a> timer(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered under the the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and with the |
| provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> if none is registered. If a <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> was |
| created, the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered. |
| <p> |
| Note: During retrieval or creation, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and |
| is not equal to the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the name of the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="simpleTimer-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>simpleTimer</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a> simpleTimer(java.lang.String name)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with no tags; or create |
| and register a new <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.3</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="simpleTimer-java.lang.String-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>simpleTimer</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a> simpleTimer(java.lang.String name, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with this name and with the provided |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.3</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="simpleTimer-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>simpleTimer</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a> simpleTimer(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered under the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>; or create and register a new |
| <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> if none is registered. |
| |
| If a <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> was created, a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered with the name and type. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered with this metric name then that <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> will be used.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - the ID of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="simpleTimer-org.eclipse.microprofile.metrics.Metadata-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>simpleTimer</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a> simpleTimer(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered under the the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and |
| with no tags; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> if none is registered. If a <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> |
| was created, the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered. |
| <p> |
| Note: During retrieval or creation, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and |
| is not equal to the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.3</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="simpleTimer-org.eclipse.microprofile.metrics.Metadata-org.eclipse.microprofile.metrics.Tag...-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>simpleTimer</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a> simpleTimer(<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> metadata, |
| <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics">Tag</a>... tags)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered under the the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> with the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a>'s name and |
| with the provided <a href="../../../../org/eclipse/microprofile/metrics/Tag.html" title="class in org.eclipse.microprofile.metrics"><code>Tag</code></a>s; or create and register a new <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> if none is registered. If a |
| <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> was created, the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object will be registered. |
| <p> |
| Note: During retrieval or creation, if a <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object is already registered under this metric name and |
| is not equal to the provided <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> object then an exception will be thrown. |
| </p></div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metadata</code> - the name of the metric</dd> |
| <dd><code>tags</code> - the tags of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>a new or pre-existing <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.3</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMetric-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMetric</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a> getMetric(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics"><code>Metric</code></a> registered for a provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - lookup key, not <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics"><code>Metric</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> or <code>null</code> if none has been |
| registered so far</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMetric-org.eclipse.microprofile.metrics.MetricID-java.lang.Class-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMetric</h4> |
| <pre><T extends <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>> T getMetric(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID, |
| java.lang.Class<T> asType)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics"><code>Metric</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> as the provided type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - lookup key, not <code>null</code></dd> |
| <dd><code>asType</code> - the return type which is expected to be compatible with the actual type of the registered metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics"><code>Metric</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a> or <code>null</code> if none has been |
| registered so far</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - If the registered metric was not assignable to the provided type</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCounter-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCounter</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a> getCounter(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - lookup key, not <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a> registered for the key or <code>null</code> if none has been registered so far</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - If the registered metric was not assignable to <a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics"><code>Counter</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getConcurrentGauge-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConcurrentGauge</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a> getConcurrentGauge(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - lookup key, not <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a> registered for the key or <code>null</code> if none has been registered so far</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - If the registered metric was not assignable to <a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics"><code>ConcurrentGauge</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getGauge-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGauge</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a><?> getGauge(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - lookup key, not <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a> registered for the key or <code>null</code> if none has been registered so far</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - If the registered metric was not assignable to <a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics"><code>Gauge</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getHistogram-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHistogram</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a> getHistogram(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - lookup key, not <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a> registered for the key or <code>null</code> if none has been registered so far</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - If the registered metric was not assignable to <a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics"><code>Histogram</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMeter-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMeter</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a> getMeter(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - lookup key, not <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a> registered for the key or <code>null</code> if none has been registered so far</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - If the registered metric was not assignable to <a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics"><code>Meter</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTimer-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTimer</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a> getTimer(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - lookup key, not <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a> registered for the key or <code>null</code> if none has been registered so far</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - If the registered metric was not assignable to <a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics"><code>Timer</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSimpleTimer-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSimpleTimer</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a> getSimpleTimer(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered for the provided <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - lookup key, not <code>null</code></dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a> registered for the key or <code>null</code> if none has been registered so far</dd> |
| <dt><span class="throwsLabel">Throws:</span></dt> |
| <dd><code>java.lang.IllegalArgumentException</code> - If the registered metric was not assignable to <a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics"><code>SimpleTimer</code></a></dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMetadata-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMetadata</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a> getMetadata(java.lang.String name)</pre> |
| <div class="block">Return the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> for the provided name.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the <a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics"><code>Metadata</code></a> for the provided name of <code>null</code> if none has been registered for that name</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="remove-java.lang.String-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>boolean remove(java.lang.String name)</pre> |
| <div class="block">Removes all metrics with the given name.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>name</code> - the name of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether or not the metric was removed</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="remove-org.eclipse.microprofile.metrics.MetricID-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>remove</h4> |
| <pre>boolean remove(<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a> metricID)</pre> |
| <div class="block">Removes the metric with the given MetricID</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>metricID</code> - the MetricID of the metric</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>whether or not the metric was removed</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>2.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="removeMatching-org.eclipse.microprofile.metrics.MetricFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>removeMatching</h4> |
| <pre>void removeMatching(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</pre> |
| <div class="block">Removes all metrics which match the given filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filter</code> - a filter</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getNames--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getNames</h4> |
| <pre>java.util.SortedSet<java.lang.String> getNames()</pre> |
| <div class="block">Returns a set of the names of all the metrics in the registry.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the names of all the metrics</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMetricIDs--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMetricIDs</h4> |
| <pre>java.util.SortedSet<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>> getMetricIDs()</pre> |
| <div class="block">Returns a set of the <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s of all the metrics in the registry.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>the MetricIDs of all the metrics</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getGauges--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGauges</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a>> getGauges()</pre> |
| <div class="block">Returns a map of all the gauges in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the gauges in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getGauges-org.eclipse.microprofile.metrics.MetricFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getGauges</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Gauge.html" title="interface in org.eclipse.microprofile.metrics">Gauge</a>> getGauges(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</pre> |
| <div class="block">Returns a map of all the gauges in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filter</code> - the metric filter to match</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the gauges in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCounters--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCounters</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a>> getCounters()</pre> |
| <div class="block">Returns a map of all the counters in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the counters in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getCounters-org.eclipse.microprofile.metrics.MetricFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getCounters</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Counter.html" title="interface in org.eclipse.microprofile.metrics">Counter</a>> getCounters(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</pre> |
| <div class="block">Returns a map of all the counters in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filter</code> - the metric filter to match</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the counters in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getConcurrentGauges--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConcurrentGauges</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a>> getConcurrentGauges()</pre> |
| <div class="block">Returns a map of all the concurrent gauges in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the concurrent gauges in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getConcurrentGauges-org.eclipse.microprofile.metrics.MetricFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getConcurrentGauges</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/ConcurrentGauge.html" title="interface in org.eclipse.microprofile.metrics">ConcurrentGauge</a>> getConcurrentGauges(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</pre> |
| <div class="block">Returns a map of all the concurrent gauges in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given |
| filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filter</code> - the metric filter to match</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the concurrent gauges in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getHistograms--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHistograms</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a>> getHistograms()</pre> |
| <div class="block">Returns a map of all the histograms in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the histograms in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getHistograms-org.eclipse.microprofile.metrics.MetricFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getHistograms</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Histogram.html" title="interface in org.eclipse.microprofile.metrics">Histogram</a>> getHistograms(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</pre> |
| <div class="block">Returns a map of all the histograms in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filter</code> - the metric filter to match</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the histograms in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMeters--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMeters</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a>> getMeters()</pre> |
| <div class="block">Returns a map of all the meters in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the meters in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMeters-org.eclipse.microprofile.metrics.MetricFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMeters</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Meter.html" title="interface in org.eclipse.microprofile.metrics">Meter</a>> getMeters(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</pre> |
| <div class="block">Returns a map of all the meters in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filter</code> - the metric filter to match</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the meters in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTimers--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTimers</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a>> getTimers()</pre> |
| <div class="block">Returns a map of all the timers in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the timers in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getTimers-org.eclipse.microprofile.metrics.MetricFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getTimers</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Timer.html" title="interface in org.eclipse.microprofile.metrics">Timer</a>> getTimers(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</pre> |
| <div class="block">Returns a map of all the timers in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filter</code> - the metric filter to match</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the timers in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSimpleTimers--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSimpleTimers</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a>> getSimpleTimers()</pre> |
| <div class="block">Returns a map of all the simple timers in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the timers in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getSimpleTimers-org.eclipse.microprofile.metrics.MetricFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getSimpleTimers</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/SimpleTimer.html" title="interface in org.eclipse.microprofile.metrics">SimpleTimer</a>> getSimpleTimers(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</pre> |
| <div class="block">Returns a map of all the simple timers in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filter</code> - the metric filter to match</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the timers in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMetrics-org.eclipse.microprofile.metrics.MetricFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMetrics</h4> |
| <pre>java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>> getMetrics(<a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</pre> |
| <div class="block">Returns a map of all the metrics in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>filter</code> - the metric filter to match</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the metrics in the registry</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMetrics-java.lang.Class-org.eclipse.microprofile.metrics.MetricFilter-"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMetrics</h4> |
| <pre><T extends <a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>> java.util.SortedMap<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,T> getMetrics(java.lang.Class<T> ofType, |
| <a href="../../../../org/eclipse/microprofile/metrics/MetricFilter.html" title="interface in org.eclipse.microprofile.metrics">MetricFilter</a> filter)</pre> |
| <div class="block">Returns a map of all the metrics in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s which match the given filter and |
| which are assignable to the provided type.</div> |
| <dl> |
| <dt><span class="paramLabel">Parameters:</span></dt> |
| <dd><code>ofType</code> - the type to which all returned metrics should be assignable</dd> |
| <dd><code>filter</code> - the metric filter to match</dd> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the metrics in the registry</dd> |
| <dt><span class="simpleTagLabel">Since:</span></dt> |
| <dd>3.0</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMetrics--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMetrics</h4> |
| <pre>java.util.Map<<a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics">MetricID</a>,<a href="../../../../org/eclipse/microprofile/metrics/Metric.html" title="interface in org.eclipse.microprofile.metrics">Metric</a>> getMetrics()</pre> |
| <div class="block">Returns a map of all the metrics in the registry and their <a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><code>MetricID</code></a>s at query time. The only guarantee |
| about this method is that any key has a value (compared to using <a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetric-org.eclipse.microprofile.metrics.MetricID-"><code>getMetric(MetricID)</code></a> and |
| <a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetricIDs--"><code>getMetricIDs()</code></a> together). |
| |
| It is <b>only</b> intended for bulk querying, if you need a single or a few entries, always prefer |
| <a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetric-org.eclipse.microprofile.metrics.MetricID-"><code>getMetric(MetricID)</code></a> or <a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetrics-org.eclipse.microprofile.metrics.MetricFilter-"><code>getMetrics(MetricFilter)</code></a>.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the metrics in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getMetadata--"> |
| <!-- --> |
| </a> |
| <ul class="blockList"> |
| <li class="blockList"> |
| <h4>getMetadata</h4> |
| <pre>java.util.Map<java.lang.String,<a href="../../../../org/eclipse/microprofile/metrics/Metadata.html" title="interface in org.eclipse.microprofile.metrics">Metadata</a>> getMetadata()</pre> |
| <div class="block">Returns a map of all the metadata in the registry and their names. The only guarantee about this method is that |
| any key has a value (compared to using <a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetadata-java.lang.String-"><code>getMetadata(String)</code></a>. |
| |
| It is <b>only</b> intended for bulk querying, if you need a single or a few metadata, always prefer |
| <a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.html#getMetadata-java.lang.String-"><code>getMetadata(String)</code></a>}.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>all the metadata in the registry</dd> |
| </dl> |
| </li> |
| </ul> |
| <a name="getType--"> |
| <!-- --> |
| </a> |
| <ul class="blockListLast"> |
| <li class="blockList"> |
| <h4>getType</h4> |
| <pre><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.Type.html" title="enum in org.eclipse.microprofile.metrics">MetricRegistry.Type</a> getType()</pre> |
| <div class="block">Returns the type of this metric registry.</div> |
| <dl> |
| <dt><span class="returnLabel">Returns:</span></dt> |
| <dd>Type of this registry (VENDOR, BASE, APPLICATION)</dd> |
| </dl> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </li> |
| </ul> |
| </div> |
| </div> |
| <!-- ========= END OF CLASS DATA ========= --> |
| <!-- ======= START OF BOTTOM NAVBAR ====== --> |
| <div class="bottomNav"><a name="navbar.bottom"> |
| <!-- --> |
| </a> |
| <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div> |
| <a name="navbar.bottom.firstrow"> |
| <!-- --> |
| </a> |
| <ul class="navList" title="Navigation"> |
| <li><a href="../../../../overview-summary.html">Overview</a></li> |
| <li><a href="package-summary.html">Package</a></li> |
| <li class="navBarCell1Rev">Class</li> |
| <li><a href="package-tree.html">Tree</a></li> |
| <li><a href="../../../../deprecated-list.html">Deprecated</a></li> |
| <li><a href="../../../../index-all.html">Index</a></li> |
| <li><a href="../../../../help-doc.html">Help</a></li> |
| </ul> |
| </div> |
| <div class="subNav"> |
| <ul class="navList"> |
| <li><a href="../../../../org/eclipse/microprofile/metrics/MetricID.html" title="class in org.eclipse.microprofile.metrics"><span class="typeNameLink">Prev Class</span></a></li> |
| <li><a href="../../../../org/eclipse/microprofile/metrics/MetricRegistry.Type.html" title="enum in org.eclipse.microprofile.metrics"><span class="typeNameLink">Next Class</span></a></li> |
| </ul> |
| <ul class="navList"> |
| <li><a href="../../../../index.html?org/eclipse/microprofile/metrics/MetricRegistry.html" target="_top">Frames</a></li> |
| <li><a href="MetricRegistry.html" target="_top">No Frames</a></li> |
| </ul> |
| <ul class="navList" id="allclasses_navbar_bottom"> |
| <li><a href="../../../../allclasses-noframe.html">All Classes</a></li> |
| </ul> |
| <div> |
| <script type="text/javascript"><!-- |
| allClassesLink = document.getElementById("allclasses_navbar_bottom"); |
| if(window==top) { |
| allClassesLink.style.display = "block"; |
| } |
| else { |
| allClassesLink.style.display = "none"; |
| } |
| //--> |
| </script> |
| </div> |
| <div> |
| <ul class="subNavList"> |
| <li>Summary: </li> |
| <li><a href="#nested.class.summary">Nested</a> | </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.summary">Method</a></li> |
| </ul> |
| <ul class="subNavList"> |
| <li>Detail: </li> |
| <li>Field | </li> |
| <li>Constr | </li> |
| <li><a href="#method.detail">Method</a></li> |
| </ul> |
| </div> |
| <a name="skip.navbar.bottom"> |
| <!-- --> |
| </a></div> |
| <!-- ======== END OF BOTTOM NAVBAR ======= --> |
| </body> |
| </html> |