hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject [05/13] hbase-site git commit: Published site at 7bfbb6a3c9af4b0e2853b5ea2580a05bb471211b.
Date Wed, 09 Dec 2015 19:06:04 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/testdevapidocs/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html b/testdevapidocs/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html
index 458eaf8..c564db3 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html
@@ -273,37 +273,44 @@ implements <a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHel
 <td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#canonicalizeMetricName(java.lang.String)">canonicalizeMetricName</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in)</code>&nbsp;</td>
 </tr>
 <tr class="rowColor">
+<td class="colFirst"><code>boolean</code></td>
+<td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#checkCounterExists(java.lang.String,%20org.apache.hadoop.hbase.metrics.BaseSource)">checkCounterExists</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+                                    org.apache.hadoop.hbase.metrics.BaseSource&nbsp;source)</code>
+<div class="block">Check if a dynamic counter exists.</div>
+</td>
+</tr>
+<tr class="altColor">
 <td class="colFirst"><code>long</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#getCounter(java.lang.String,%20org.apache.hadoop.hbase.metrics.BaseSource)">getCounter</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                     org.apache.hadoop.hbase.metrics.BaseSource&nbsp;source)</code>
 <div class="block">Get the value of a counter.</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>double</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#getGaugeDouble(java.lang.String,%20org.apache.hadoop.hbase.metrics.BaseSource)">getGaugeDouble</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                             org.apache.hadoop.hbase.metrics.BaseSource&nbsp;source)</code>
 <div class="block">Get the value of a gauge as a double.</div>
 </td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>long</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#getGaugeLong(java.lang.String,%20org.apache.hadoop.hbase.metrics.BaseSource)">getGaugeLong</a></strong>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                         org.apache.hadoop.hbase.metrics.BaseSource&nbsp;source)</code>
 <div class="block">Get the value of a gauge as a long.</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>private void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#getMetrics(org.apache.hadoop.hbase.metrics.BaseSource)">getMetrics</a></strong>(org.apache.hadoop.hbase.metrics.BaseSource&nbsp;source)</code>&nbsp;</td>
 </tr>
-<tr class="rowColor">
+<tr class="altColor">
 <td class="colFirst"><code>void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#init()">init</a></strong>()</code>
 <div class="block">Init helper.</div>
 </td>
 </tr>
-<tr class="altColor">
+<tr class="rowColor">
 <td class="colFirst"><code>private void</code></td>
 <td class="colLast"><code><strong><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#reset()">reset</a></strong>()</code>&nbsp;</td>
 </tr>
@@ -595,13 +602,31 @@ implements <a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHel
 <dt><span class="strong">Returns:</span></dt><dd>long value of the counter.</dd></dl>
 </li>
 </ul>
+<a name="checkCounterExists(java.lang.String, org.apache.hadoop.hbase.metrics.BaseSource)">
+<!--   -->
+</a>
+<ul class="blockList">
+<li class="blockList">
+<h4>checkCounterExists</h4>
+<pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#line.208">checkCounterExists</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+                         org.apache.hadoop.hbase.metrics.BaseSource&nbsp;source)</pre>
+<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelper.html#checkCounterExists(java.lang.String,%20org.apache.hadoop.hbase.metrics.BaseSource)">MetricsAssertHelper</a></code></strong></div>
+<div class="block">Check if a dynamic counter exists.</div>
+<dl>
+<dt><strong>Specified by:</strong></dt>
+<dd><code><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelper.html#checkCounterExists(java.lang.String,%20org.apache.hadoop.hbase.metrics.BaseSource)">checkCounterExists</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelper.html" title="interface in org.apache.hadoop.hbase.test">MetricsAssertHelper</a></code></dd>
+<dt><span class="strong">Parameters:</span></dt><dd><code>name</code> - name of the counter.</dd><dd><code>source</code> - The BaseSource<code>BaseSource</code> that will provide the tags,
+               gauges, and counters.</dd>
+<dt><span class="strong">Returns:</span></dt><dd>boolean true id counter metric exists.</dd></dl>
+</li>
+</ul>
 <a name="getGaugeDouble(java.lang.String, org.apache.hadoop.hbase.metrics.BaseSource)">
 <!--   -->
 </a>
 <ul class="blockList">
 <li class="blockList">
 <h4>getGaugeDouble</h4>
-<pre>public&nbsp;double&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#line.208">getGaugeDouble</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;double&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#line.215">getGaugeDouble</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                     org.apache.hadoop.hbase.metrics.BaseSource&nbsp;source)</pre>
 <div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelper.html#getGaugeDouble(java.lang.String,%20org.apache.hadoop.hbase.metrics.BaseSource)">MetricsAssertHelper</a></code></strong></div>
 <div class="block">Get the value of a gauge as a double.</div>
@@ -619,7 +644,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHel
 <ul class="blockList">
 <li class="blockList">
 <h4>getGaugeLong</h4>
-<pre>public&nbsp;long&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#line.216">getGaugeLong</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
+<pre>public&nbsp;long&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#line.223">getGaugeLong</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;name,
                 org.apache.hadoop.hbase.metrics.BaseSource&nbsp;source)</pre>
 <div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelper.html#getGaugeLong(java.lang.String,%20org.apache.hadoop.hbase.metrics.BaseSource)">MetricsAssertHelper</a></code></strong></div>
 <div class="block">Get the value of a gauge as a long.</div>
@@ -637,7 +662,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHel
 <ul class="blockList">
 <li class="blockList">
 <h4>reset</h4>
-<pre>private&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#line.224">reset</a>()</pre>
+<pre>private&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#line.230">reset</a>()</pre>
 </li>
 </ul>
 <a name="getMetrics(org.apache.hadoop.hbase.metrics.BaseSource)">
@@ -646,7 +671,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHel
 <ul class="blockList">
 <li class="blockList">
 <h4>getMetrics</h4>
-<pre>private&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#line.230">getMetrics</a>(org.apache.hadoop.hbase.metrics.BaseSource&nbsp;source)</pre>
+<pre>private&nbsp;void&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#line.236">getMetrics</a>(org.apache.hadoop.hbase.metrics.BaseSource&nbsp;source)</pre>
 </li>
 </ul>
 <a name="canonicalizeMetricName(java.lang.String)">
@@ -655,7 +680,7 @@ implements <a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHel
 <ul class="blockListLast">
 <li class="blockList">
 <h4>canonicalizeMetricName</h4>
-<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#line.241">canonicalizeMetricName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in)</pre>
+<pre>private&nbsp;<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;<a href="../../../../../src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html#line.247">canonicalizeMetricName</a>(<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</a>&nbsp;in)</pre>
 </li>
 </ul>
 </li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html b/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
index 99cb6ec..c583b6a 100644
--- a/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
+++ b/testdevapidocs/org/apache/hadoop/hbase/wal/package-tree.html
@@ -120,8 +120,8 @@
 <ul>
 <li type="circle">java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Enum.html?is-external=true" title="class or interface in java.lang"><span class="strong">Enum</span></a>&lt;E&gt; (implements java.lang.<a href="http://docs.oracle.com/javase/7/docs/api/java/lang/Comparable.html?is-external=true" title="class or interface in java.lang">Comparable</a>&lt;T&gt;, java.io.<a href="http://docs.oracle.com/javase/7/docs/api/java/io/Serializable.html?is-external=true" title="class or interface in java.io">Serializable</a>)
 <ul>
-<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/IOTestProvider.AllowedOperations.html" title="enum in org.apache.hadoop.hbase.wal"><span class="strong">IOTestProvider.AllowedOperations</span></a></li>
 <li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/FaultyFSLog.FailureType.html" title="enum in org.apache.hadoop.hbase.wal"><span class="strong">FaultyFSLog.FailureType</span></a></li>
+<li type="circle">org.apache.hadoop.hbase.wal.<a href="../../../../../org/apache/hadoop/hbase/wal/IOTestProvider.AllowedOperations.html" title="enum in org.apache.hadoop.hbase.wal"><span class="strong">IOTestProvider.AllowedOperations</span></a></li>
 </ul>
 </li>
 </ul>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/testdevapidocs/src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.html
index 14d58db..b77c32a 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.html
@@ -496,7 +496,74 @@
 <span class="sourceLineNo">488</span>    admin.close();<a name="line.488"></a>
 <span class="sourceLineNo">489</span>    connection.close();<a name="line.489"></a>
 <span class="sourceLineNo">490</span>  }<a name="line.490"></a>
-<span class="sourceLineNo">491</span>}<a name="line.491"></a>
+<span class="sourceLineNo">491</span>  <a name="line.491"></a>
+<span class="sourceLineNo">492</span>  @Test<a name="line.492"></a>
+<span class="sourceLineNo">493</span>  public void testRangeCountMetrics() throws Exception {<a name="line.493"></a>
+<span class="sourceLineNo">494</span>    String tableNameString = "testRangeCountMetrics";<a name="line.494"></a>
+<span class="sourceLineNo">495</span>    final long[] timeranges =<a name="line.495"></a>
+<span class="sourceLineNo">496</span>        { 1, 3, 10, 30, 100, 300, 1000, 3000, 10000, 30000, 60000, 120000, 300000, 600000 };<a name="line.496"></a>
+<span class="sourceLineNo">497</span>    final String timeRangeType = "TimeRangeCount";<a name="line.497"></a>
+<span class="sourceLineNo">498</span>    final String timeRangeMetricName = "Mutate";<a name="line.498"></a>
+<span class="sourceLineNo">499</span>    boolean timeRangeCountUpdated = false;<a name="line.499"></a>
+<span class="sourceLineNo">500</span><a name="line.500"></a>
+<span class="sourceLineNo">501</span>    TableName tName = TableName.valueOf(tableNameString);<a name="line.501"></a>
+<span class="sourceLineNo">502</span>    byte[] cfName = Bytes.toBytes("d");<a name="line.502"></a>
+<span class="sourceLineNo">503</span>    byte[] row = Bytes.toBytes("rk");<a name="line.503"></a>
+<span class="sourceLineNo">504</span>    byte[] qualifier = Bytes.toBytes("qual");<a name="line.504"></a>
+<span class="sourceLineNo">505</span>    byte[] initValue = Bytes.toBytes("Value");<a name="line.505"></a>
+<span class="sourceLineNo">506</span><a name="line.506"></a>
+<span class="sourceLineNo">507</span>    TEST_UTIL.createTable(tName, cfName);<a name="line.507"></a>
+<span class="sourceLineNo">508</span><a name="line.508"></a>
+<span class="sourceLineNo">509</span>    Connection connection = TEST_UTIL.getConnection();<a name="line.509"></a>
+<span class="sourceLineNo">510</span>    connection.getTable(tName).close(); // wait for the table to come up.<a name="line.510"></a>
+<span class="sourceLineNo">511</span><a name="line.511"></a>
+<span class="sourceLineNo">512</span>    // Do a first put to be sure that the connection is established, meta is there and so on.<a name="line.512"></a>
+<span class="sourceLineNo">513</span>    Table table = connection.getTable(tName);<a name="line.513"></a>
+<span class="sourceLineNo">514</span>    Put p = new Put(row);<a name="line.514"></a>
+<span class="sourceLineNo">515</span>    p.addColumn(cfName, qualifier, initValue);<a name="line.515"></a>
+<span class="sourceLineNo">516</span>    table.put(p);<a name="line.516"></a>
+<span class="sourceLineNo">517</span><a name="line.517"></a>
+<span class="sourceLineNo">518</span>    // do some puts and gets<a name="line.518"></a>
+<span class="sourceLineNo">519</span>    for (int i = 0; i &lt; 10; i++) {<a name="line.519"></a>
+<span class="sourceLineNo">520</span>      table.put(p);<a name="line.520"></a>
+<span class="sourceLineNo">521</span>    }<a name="line.521"></a>
+<span class="sourceLineNo">522</span><a name="line.522"></a>
+<span class="sourceLineNo">523</span>    Get g = new Get(row);<a name="line.523"></a>
+<span class="sourceLineNo">524</span>    for (int i = 0; i &lt; 10; i++) {<a name="line.524"></a>
+<span class="sourceLineNo">525</span>      table.get(g);<a name="line.525"></a>
+<span class="sourceLineNo">526</span>    }<a name="line.526"></a>
+<span class="sourceLineNo">527</span><a name="line.527"></a>
+<span class="sourceLineNo">528</span>    metricsRegionServer.getRegionServerWrapper().forceRecompute();<a name="line.528"></a>
+<span class="sourceLineNo">529</span><a name="line.529"></a>
+<span class="sourceLineNo">530</span>    // Check some time range counters were updated<a name="line.530"></a>
+<span class="sourceLineNo">531</span>    long prior = 0;<a name="line.531"></a>
+<span class="sourceLineNo">532</span><a name="line.532"></a>
+<span class="sourceLineNo">533</span>    String dynamicMetricName;<a name="line.533"></a>
+<span class="sourceLineNo">534</span>    for (int i = 0; i &lt; timeranges.length; i++) {<a name="line.534"></a>
+<span class="sourceLineNo">535</span>      dynamicMetricName =<a name="line.535"></a>
+<span class="sourceLineNo">536</span>          timeRangeMetricName + "_" + timeRangeType + "_" + prior + "-" + timeranges[i];<a name="line.536"></a>
+<span class="sourceLineNo">537</span>      if (metricsHelper.checkCounterExists(dynamicMetricName, serverSource)) {<a name="line.537"></a>
+<span class="sourceLineNo">538</span>        long count = metricsHelper.getCounter(dynamicMetricName, serverSource);<a name="line.538"></a>
+<span class="sourceLineNo">539</span>        if (count &gt; 0) {<a name="line.539"></a>
+<span class="sourceLineNo">540</span>          timeRangeCountUpdated = true;<a name="line.540"></a>
+<span class="sourceLineNo">541</span>          break;<a name="line.541"></a>
+<span class="sourceLineNo">542</span>        }<a name="line.542"></a>
+<span class="sourceLineNo">543</span>      }<a name="line.543"></a>
+<span class="sourceLineNo">544</span>      prior = timeranges[i];<a name="line.544"></a>
+<span class="sourceLineNo">545</span>    }<a name="line.545"></a>
+<span class="sourceLineNo">546</span>    dynamicMetricName =<a name="line.546"></a>
+<span class="sourceLineNo">547</span>        timeRangeMetricName + "_" + timeRangeType + "_" + timeranges[timeranges.length - 1] + "-inf";<a name="line.547"></a>
+<span class="sourceLineNo">548</span>    if (metricsHelper.checkCounterExists(dynamicMetricName, serverSource)) {<a name="line.548"></a>
+<span class="sourceLineNo">549</span>      long count = metricsHelper.getCounter(dynamicMetricName, serverSource);<a name="line.549"></a>
+<span class="sourceLineNo">550</span>      if (count &gt; 0) {<a name="line.550"></a>
+<span class="sourceLineNo">551</span>        timeRangeCountUpdated = true;<a name="line.551"></a>
+<span class="sourceLineNo">552</span>      }<a name="line.552"></a>
+<span class="sourceLineNo">553</span>    }<a name="line.553"></a>
+<span class="sourceLineNo">554</span>    assertEquals(true, timeRangeCountUpdated);<a name="line.554"></a>
+<span class="sourceLineNo">555</span><a name="line.555"></a>
+<span class="sourceLineNo">556</span>    table.close();<a name="line.556"></a>
+<span class="sourceLineNo">557</span>  }<a name="line.557"></a>
+<span class="sourceLineNo">558</span>}<a name="line.558"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelper.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelper.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelper.html
index 30c8d03..c668259 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelper.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelper.html
@@ -148,25 +148,35 @@
 <span class="sourceLineNo">140</span>  long getCounter(String name, BaseSource source);<a name="line.140"></a>
 <span class="sourceLineNo">141</span><a name="line.141"></a>
 <span class="sourceLineNo">142</span>  /**<a name="line.142"></a>
-<span class="sourceLineNo">143</span>   * Get the value of a gauge as a double.<a name="line.143"></a>
+<span class="sourceLineNo">143</span>   * Check if a dynamic counter exists.<a name="line.143"></a>
 <span class="sourceLineNo">144</span>   *<a name="line.144"></a>
-<span class="sourceLineNo">145</span>   * @param name   name of the gauge.<a name="line.145"></a>
+<span class="sourceLineNo">145</span>   * @param name   name of the counter.<a name="line.145"></a>
 <span class="sourceLineNo">146</span>   * @param source The BaseSource{@link BaseSource} that will provide the tags,<a name="line.146"></a>
 <span class="sourceLineNo">147</span>   *               gauges, and counters.<a name="line.147"></a>
-<span class="sourceLineNo">148</span>   * @return double value of the gauge.<a name="line.148"></a>
+<span class="sourceLineNo">148</span>   * @return boolean true id counter metric exists.<a name="line.148"></a>
 <span class="sourceLineNo">149</span>   */<a name="line.149"></a>
-<span class="sourceLineNo">150</span>  double getGaugeDouble(String name, BaseSource source);<a name="line.150"></a>
+<span class="sourceLineNo">150</span>  boolean checkCounterExists(String name, BaseSource source);<a name="line.150"></a>
 <span class="sourceLineNo">151</span><a name="line.151"></a>
 <span class="sourceLineNo">152</span>  /**<a name="line.152"></a>
-<span class="sourceLineNo">153</span>   * Get the value of a gauge as a long.<a name="line.153"></a>
+<span class="sourceLineNo">153</span>   * Get the value of a gauge as a double.<a name="line.153"></a>
 <span class="sourceLineNo">154</span>   *<a name="line.154"></a>
 <span class="sourceLineNo">155</span>   * @param name   name of the gauge.<a name="line.155"></a>
 <span class="sourceLineNo">156</span>   * @param source The BaseSource{@link BaseSource} that will provide the tags,<a name="line.156"></a>
 <span class="sourceLineNo">157</span>   *               gauges, and counters.<a name="line.157"></a>
-<span class="sourceLineNo">158</span>   * @return long value of the gauge.<a name="line.158"></a>
+<span class="sourceLineNo">158</span>   * @return double value of the gauge.<a name="line.158"></a>
 <span class="sourceLineNo">159</span>   */<a name="line.159"></a>
-<span class="sourceLineNo">160</span>  long getGaugeLong(String name, BaseSource source);<a name="line.160"></a>
-<span class="sourceLineNo">161</span>}<a name="line.161"></a>
+<span class="sourceLineNo">160</span>  double getGaugeDouble(String name, BaseSource source);<a name="line.160"></a>
+<span class="sourceLineNo">161</span><a name="line.161"></a>
+<span class="sourceLineNo">162</span>  /**<a name="line.162"></a>
+<span class="sourceLineNo">163</span>   * Get the value of a gauge as a long.<a name="line.163"></a>
+<span class="sourceLineNo">164</span>   *<a name="line.164"></a>
+<span class="sourceLineNo">165</span>   * @param name   name of the gauge.<a name="line.165"></a>
+<span class="sourceLineNo">166</span>   * @param source The BaseSource{@link BaseSource} that will provide the tags,<a name="line.166"></a>
+<span class="sourceLineNo">167</span>   *               gauges, and counters.<a name="line.167"></a>
+<span class="sourceLineNo">168</span>   * @return long value of the gauge.<a name="line.168"></a>
+<span class="sourceLineNo">169</span>   */<a name="line.169"></a>
+<span class="sourceLineNo">170</span>  long getGaugeLong(String name, BaseSource source);<a name="line.170"></a>
+<span class="sourceLineNo">171</span>}<a name="line.171"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.MockMetricsBuilder.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.MockMetricsBuilder.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.MockMetricsBuilder.html
index 8da38fb..2c9ef67 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.MockMetricsBuilder.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.MockMetricsBuilder.html
@@ -213,43 +213,49 @@
 <span class="sourceLineNo">205</span>  }<a name="line.205"></a>
 <span class="sourceLineNo">206</span><a name="line.206"></a>
 <span class="sourceLineNo">207</span>  @Override<a name="line.207"></a>
-<span class="sourceLineNo">208</span>  public double getGaugeDouble(String name, BaseSource source) {<a name="line.208"></a>
+<span class="sourceLineNo">208</span>  public boolean checkCounterExists(String name, BaseSource source) {<a name="line.208"></a>
 <span class="sourceLineNo">209</span>    getMetrics(source);<a name="line.209"></a>
 <span class="sourceLineNo">210</span>    String cName = canonicalizeMetricName(name);<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    assertNotNull("Should get gauge "+cName + " but did not",gauges.get(cName));<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    return  gauges.get(cName).doubleValue();<a name="line.212"></a>
-<span class="sourceLineNo">213</span>  }<a name="line.213"></a>
-<span class="sourceLineNo">214</span><a name="line.214"></a>
-<span class="sourceLineNo">215</span>  @Override<a name="line.215"></a>
-<span class="sourceLineNo">216</span>  public long getGaugeLong(String name, BaseSource source) {<a name="line.216"></a>
-<span class="sourceLineNo">217</span>    getMetrics(source);<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    String cName = canonicalizeMetricName(name);<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    assertNotNull("Should get gauge " + cName + " but did not", gauges.get(cName));<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    return gauges.get(cName).longValue();<a name="line.220"></a>
-<span class="sourceLineNo">221</span>  }<a name="line.221"></a>
-<span class="sourceLineNo">222</span><a name="line.222"></a>
-<span class="sourceLineNo">223</span><a name="line.223"></a>
-<span class="sourceLineNo">224</span>  private void reset() {<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    tags.clear();<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    gauges.clear();<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    counters.clear();<a name="line.227"></a>
+<span class="sourceLineNo">211</span>    return (counters.get(cName) != null) ? true : false;<a name="line.211"></a>
+<span class="sourceLineNo">212</span>  }<a name="line.212"></a>
+<span class="sourceLineNo">213</span>  <a name="line.213"></a>
+<span class="sourceLineNo">214</span>  @Override<a name="line.214"></a>
+<span class="sourceLineNo">215</span>  public double getGaugeDouble(String name, BaseSource source) {<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    getMetrics(source);<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    String cName = canonicalizeMetricName(name);<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    assertNotNull("Should get gauge "+cName + " but did not",gauges.get(cName));<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    return  gauges.get(cName).doubleValue();<a name="line.219"></a>
+<span class="sourceLineNo">220</span>  }<a name="line.220"></a>
+<span class="sourceLineNo">221</span><a name="line.221"></a>
+<span class="sourceLineNo">222</span>  @Override<a name="line.222"></a>
+<span class="sourceLineNo">223</span>  public long getGaugeLong(String name, BaseSource source) {<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    getMetrics(source);<a name="line.224"></a>
+<span class="sourceLineNo">225</span>    String cName = canonicalizeMetricName(name);<a name="line.225"></a>
+<span class="sourceLineNo">226</span>    assertNotNull("Should get gauge " + cName + " but did not", gauges.get(cName));<a name="line.226"></a>
+<span class="sourceLineNo">227</span>    return gauges.get(cName).longValue();<a name="line.227"></a>
 <span class="sourceLineNo">228</span>  }<a name="line.228"></a>
 <span class="sourceLineNo">229</span><a name="line.229"></a>
-<span class="sourceLineNo">230</span>  private void getMetrics(BaseSource source) {<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    reset();<a name="line.231"></a>
-<span class="sourceLineNo">232</span>    if (!(source instanceof MetricsSource)) {<a name="line.232"></a>
-<span class="sourceLineNo">233</span>      assertTrue("The Source passed must be a MetricsSource", false);<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    }<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    MetricsSource impl = (MetricsSource) source;<a name="line.235"></a>
-<span class="sourceLineNo">236</span><a name="line.236"></a>
-<span class="sourceLineNo">237</span>    impl.getMetrics(new MockMetricsBuilder(), true);<a name="line.237"></a>
-<span class="sourceLineNo">238</span><a name="line.238"></a>
-<span class="sourceLineNo">239</span>  }<a name="line.239"></a>
-<span class="sourceLineNo">240</span><a name="line.240"></a>
-<span class="sourceLineNo">241</span>  private String canonicalizeMetricName(String in) {<a name="line.241"></a>
-<span class="sourceLineNo">242</span>    return in.toLowerCase().replaceAll("[^A-Za-z0-9 ]", "");<a name="line.242"></a>
-<span class="sourceLineNo">243</span>  }<a name="line.243"></a>
-<span class="sourceLineNo">244</span>}<a name="line.244"></a>
+<span class="sourceLineNo">230</span>  private void reset() {<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    tags.clear();<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    gauges.clear();<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    counters.clear();<a name="line.233"></a>
+<span class="sourceLineNo">234</span>  }<a name="line.234"></a>
+<span class="sourceLineNo">235</span><a name="line.235"></a>
+<span class="sourceLineNo">236</span>  private void getMetrics(BaseSource source) {<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    reset();<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    if (!(source instanceof MetricsSource)) {<a name="line.238"></a>
+<span class="sourceLineNo">239</span>      assertTrue("The Source passed must be a MetricsSource", false);<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    }<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    MetricsSource impl = (MetricsSource) source;<a name="line.241"></a>
+<span class="sourceLineNo">242</span><a name="line.242"></a>
+<span class="sourceLineNo">243</span>    impl.getMetrics(new MockMetricsBuilder(), true);<a name="line.243"></a>
+<span class="sourceLineNo">244</span><a name="line.244"></a>
+<span class="sourceLineNo">245</span>  }<a name="line.245"></a>
+<span class="sourceLineNo">246</span><a name="line.246"></a>
+<span class="sourceLineNo">247</span>  private String canonicalizeMetricName(String in) {<a name="line.247"></a>
+<span class="sourceLineNo">248</span>    return in.toLowerCase().replaceAll("[^A-Za-z0-9 ]", "");<a name="line.248"></a>
+<span class="sourceLineNo">249</span>  }<a name="line.249"></a>
+<span class="sourceLineNo">250</span>}<a name="line.250"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.MockRecordBuilder.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.MockRecordBuilder.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.MockRecordBuilder.html
index 8da38fb..2c9ef67 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.MockRecordBuilder.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.MockRecordBuilder.html
@@ -213,43 +213,49 @@
 <span class="sourceLineNo">205</span>  }<a name="line.205"></a>
 <span class="sourceLineNo">206</span><a name="line.206"></a>
 <span class="sourceLineNo">207</span>  @Override<a name="line.207"></a>
-<span class="sourceLineNo">208</span>  public double getGaugeDouble(String name, BaseSource source) {<a name="line.208"></a>
+<span class="sourceLineNo">208</span>  public boolean checkCounterExists(String name, BaseSource source) {<a name="line.208"></a>
 <span class="sourceLineNo">209</span>    getMetrics(source);<a name="line.209"></a>
 <span class="sourceLineNo">210</span>    String cName = canonicalizeMetricName(name);<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    assertNotNull("Should get gauge "+cName + " but did not",gauges.get(cName));<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    return  gauges.get(cName).doubleValue();<a name="line.212"></a>
-<span class="sourceLineNo">213</span>  }<a name="line.213"></a>
-<span class="sourceLineNo">214</span><a name="line.214"></a>
-<span class="sourceLineNo">215</span>  @Override<a name="line.215"></a>
-<span class="sourceLineNo">216</span>  public long getGaugeLong(String name, BaseSource source) {<a name="line.216"></a>
-<span class="sourceLineNo">217</span>    getMetrics(source);<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    String cName = canonicalizeMetricName(name);<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    assertNotNull("Should get gauge " + cName + " but did not", gauges.get(cName));<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    return gauges.get(cName).longValue();<a name="line.220"></a>
-<span class="sourceLineNo">221</span>  }<a name="line.221"></a>
-<span class="sourceLineNo">222</span><a name="line.222"></a>
-<span class="sourceLineNo">223</span><a name="line.223"></a>
-<span class="sourceLineNo">224</span>  private void reset() {<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    tags.clear();<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    gauges.clear();<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    counters.clear();<a name="line.227"></a>
+<span class="sourceLineNo">211</span>    return (counters.get(cName) != null) ? true : false;<a name="line.211"></a>
+<span class="sourceLineNo">212</span>  }<a name="line.212"></a>
+<span class="sourceLineNo">213</span>  <a name="line.213"></a>
+<span class="sourceLineNo">214</span>  @Override<a name="line.214"></a>
+<span class="sourceLineNo">215</span>  public double getGaugeDouble(String name, BaseSource source) {<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    getMetrics(source);<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    String cName = canonicalizeMetricName(name);<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    assertNotNull("Should get gauge "+cName + " but did not",gauges.get(cName));<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    return  gauges.get(cName).doubleValue();<a name="line.219"></a>
+<span class="sourceLineNo">220</span>  }<a name="line.220"></a>
+<span class="sourceLineNo">221</span><a name="line.221"></a>
+<span class="sourceLineNo">222</span>  @Override<a name="line.222"></a>
+<span class="sourceLineNo">223</span>  public long getGaugeLong(String name, BaseSource source) {<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    getMetrics(source);<a name="line.224"></a>
+<span class="sourceLineNo">225</span>    String cName = canonicalizeMetricName(name);<a name="line.225"></a>
+<span class="sourceLineNo">226</span>    assertNotNull("Should get gauge " + cName + " but did not", gauges.get(cName));<a name="line.226"></a>
+<span class="sourceLineNo">227</span>    return gauges.get(cName).longValue();<a name="line.227"></a>
 <span class="sourceLineNo">228</span>  }<a name="line.228"></a>
 <span class="sourceLineNo">229</span><a name="line.229"></a>
-<span class="sourceLineNo">230</span>  private void getMetrics(BaseSource source) {<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    reset();<a name="line.231"></a>
-<span class="sourceLineNo">232</span>    if (!(source instanceof MetricsSource)) {<a name="line.232"></a>
-<span class="sourceLineNo">233</span>      assertTrue("The Source passed must be a MetricsSource", false);<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    }<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    MetricsSource impl = (MetricsSource) source;<a name="line.235"></a>
-<span class="sourceLineNo">236</span><a name="line.236"></a>
-<span class="sourceLineNo">237</span>    impl.getMetrics(new MockMetricsBuilder(), true);<a name="line.237"></a>
-<span class="sourceLineNo">238</span><a name="line.238"></a>
-<span class="sourceLineNo">239</span>  }<a name="line.239"></a>
-<span class="sourceLineNo">240</span><a name="line.240"></a>
-<span class="sourceLineNo">241</span>  private String canonicalizeMetricName(String in) {<a name="line.241"></a>
-<span class="sourceLineNo">242</span>    return in.toLowerCase().replaceAll("[^A-Za-z0-9 ]", "");<a name="line.242"></a>
-<span class="sourceLineNo">243</span>  }<a name="line.243"></a>
-<span class="sourceLineNo">244</span>}<a name="line.244"></a>
+<span class="sourceLineNo">230</span>  private void reset() {<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    tags.clear();<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    gauges.clear();<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    counters.clear();<a name="line.233"></a>
+<span class="sourceLineNo">234</span>  }<a name="line.234"></a>
+<span class="sourceLineNo">235</span><a name="line.235"></a>
+<span class="sourceLineNo">236</span>  private void getMetrics(BaseSource source) {<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    reset();<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    if (!(source instanceof MetricsSource)) {<a name="line.238"></a>
+<span class="sourceLineNo">239</span>      assertTrue("The Source passed must be a MetricsSource", false);<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    }<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    MetricsSource impl = (MetricsSource) source;<a name="line.241"></a>
+<span class="sourceLineNo">242</span><a name="line.242"></a>
+<span class="sourceLineNo">243</span>    impl.getMetrics(new MockMetricsBuilder(), true);<a name="line.243"></a>
+<span class="sourceLineNo">244</span><a name="line.244"></a>
+<span class="sourceLineNo">245</span>  }<a name="line.245"></a>
+<span class="sourceLineNo">246</span><a name="line.246"></a>
+<span class="sourceLineNo">247</span>  private String canonicalizeMetricName(String in) {<a name="line.247"></a>
+<span class="sourceLineNo">248</span>    return in.toLowerCase().replaceAll("[^A-Za-z0-9 ]", "");<a name="line.248"></a>
+<span class="sourceLineNo">249</span>  }<a name="line.249"></a>
+<span class="sourceLineNo">250</span>}<a name="line.250"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html b/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html
index 8da38fb..2c9ef67 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html
@@ -213,43 +213,49 @@
 <span class="sourceLineNo">205</span>  }<a name="line.205"></a>
 <span class="sourceLineNo">206</span><a name="line.206"></a>
 <span class="sourceLineNo">207</span>  @Override<a name="line.207"></a>
-<span class="sourceLineNo">208</span>  public double getGaugeDouble(String name, BaseSource source) {<a name="line.208"></a>
+<span class="sourceLineNo">208</span>  public boolean checkCounterExists(String name, BaseSource source) {<a name="line.208"></a>
 <span class="sourceLineNo">209</span>    getMetrics(source);<a name="line.209"></a>
 <span class="sourceLineNo">210</span>    String cName = canonicalizeMetricName(name);<a name="line.210"></a>
-<span class="sourceLineNo">211</span>    assertNotNull("Should get gauge "+cName + " but did not",gauges.get(cName));<a name="line.211"></a>
-<span class="sourceLineNo">212</span>    return  gauges.get(cName).doubleValue();<a name="line.212"></a>
-<span class="sourceLineNo">213</span>  }<a name="line.213"></a>
-<span class="sourceLineNo">214</span><a name="line.214"></a>
-<span class="sourceLineNo">215</span>  @Override<a name="line.215"></a>
-<span class="sourceLineNo">216</span>  public long getGaugeLong(String name, BaseSource source) {<a name="line.216"></a>
-<span class="sourceLineNo">217</span>    getMetrics(source);<a name="line.217"></a>
-<span class="sourceLineNo">218</span>    String cName = canonicalizeMetricName(name);<a name="line.218"></a>
-<span class="sourceLineNo">219</span>    assertNotNull("Should get gauge " + cName + " but did not", gauges.get(cName));<a name="line.219"></a>
-<span class="sourceLineNo">220</span>    return gauges.get(cName).longValue();<a name="line.220"></a>
-<span class="sourceLineNo">221</span>  }<a name="line.221"></a>
-<span class="sourceLineNo">222</span><a name="line.222"></a>
-<span class="sourceLineNo">223</span><a name="line.223"></a>
-<span class="sourceLineNo">224</span>  private void reset() {<a name="line.224"></a>
-<span class="sourceLineNo">225</span>    tags.clear();<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    gauges.clear();<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    counters.clear();<a name="line.227"></a>
+<span class="sourceLineNo">211</span>    return (counters.get(cName) != null) ? true : false;<a name="line.211"></a>
+<span class="sourceLineNo">212</span>  }<a name="line.212"></a>
+<span class="sourceLineNo">213</span>  <a name="line.213"></a>
+<span class="sourceLineNo">214</span>  @Override<a name="line.214"></a>
+<span class="sourceLineNo">215</span>  public double getGaugeDouble(String name, BaseSource source) {<a name="line.215"></a>
+<span class="sourceLineNo">216</span>    getMetrics(source);<a name="line.216"></a>
+<span class="sourceLineNo">217</span>    String cName = canonicalizeMetricName(name);<a name="line.217"></a>
+<span class="sourceLineNo">218</span>    assertNotNull("Should get gauge "+cName + " but did not",gauges.get(cName));<a name="line.218"></a>
+<span class="sourceLineNo">219</span>    return  gauges.get(cName).doubleValue();<a name="line.219"></a>
+<span class="sourceLineNo">220</span>  }<a name="line.220"></a>
+<span class="sourceLineNo">221</span><a name="line.221"></a>
+<span class="sourceLineNo">222</span>  @Override<a name="line.222"></a>
+<span class="sourceLineNo">223</span>  public long getGaugeLong(String name, BaseSource source) {<a name="line.223"></a>
+<span class="sourceLineNo">224</span>    getMetrics(source);<a name="line.224"></a>
+<span class="sourceLineNo">225</span>    String cName = canonicalizeMetricName(name);<a name="line.225"></a>
+<span class="sourceLineNo">226</span>    assertNotNull("Should get gauge " + cName + " but did not", gauges.get(cName));<a name="line.226"></a>
+<span class="sourceLineNo">227</span>    return gauges.get(cName).longValue();<a name="line.227"></a>
 <span class="sourceLineNo">228</span>  }<a name="line.228"></a>
 <span class="sourceLineNo">229</span><a name="line.229"></a>
-<span class="sourceLineNo">230</span>  private void getMetrics(BaseSource source) {<a name="line.230"></a>
-<span class="sourceLineNo">231</span>    reset();<a name="line.231"></a>
-<span class="sourceLineNo">232</span>    if (!(source instanceof MetricsSource)) {<a name="line.232"></a>
-<span class="sourceLineNo">233</span>      assertTrue("The Source passed must be a MetricsSource", false);<a name="line.233"></a>
-<span class="sourceLineNo">234</span>    }<a name="line.234"></a>
-<span class="sourceLineNo">235</span>    MetricsSource impl = (MetricsSource) source;<a name="line.235"></a>
-<span class="sourceLineNo">236</span><a name="line.236"></a>
-<span class="sourceLineNo">237</span>    impl.getMetrics(new MockMetricsBuilder(), true);<a name="line.237"></a>
-<span class="sourceLineNo">238</span><a name="line.238"></a>
-<span class="sourceLineNo">239</span>  }<a name="line.239"></a>
-<span class="sourceLineNo">240</span><a name="line.240"></a>
-<span class="sourceLineNo">241</span>  private String canonicalizeMetricName(String in) {<a name="line.241"></a>
-<span class="sourceLineNo">242</span>    return in.toLowerCase().replaceAll("[^A-Za-z0-9 ]", "");<a name="line.242"></a>
-<span class="sourceLineNo">243</span>  }<a name="line.243"></a>
-<span class="sourceLineNo">244</span>}<a name="line.244"></a>
+<span class="sourceLineNo">230</span>  private void reset() {<a name="line.230"></a>
+<span class="sourceLineNo">231</span>    tags.clear();<a name="line.231"></a>
+<span class="sourceLineNo">232</span>    gauges.clear();<a name="line.232"></a>
+<span class="sourceLineNo">233</span>    counters.clear();<a name="line.233"></a>
+<span class="sourceLineNo">234</span>  }<a name="line.234"></a>
+<span class="sourceLineNo">235</span><a name="line.235"></a>
+<span class="sourceLineNo">236</span>  private void getMetrics(BaseSource source) {<a name="line.236"></a>
+<span class="sourceLineNo">237</span>    reset();<a name="line.237"></a>
+<span class="sourceLineNo">238</span>    if (!(source instanceof MetricsSource)) {<a name="line.238"></a>
+<span class="sourceLineNo">239</span>      assertTrue("The Source passed must be a MetricsSource", false);<a name="line.239"></a>
+<span class="sourceLineNo">240</span>    }<a name="line.240"></a>
+<span class="sourceLineNo">241</span>    MetricsSource impl = (MetricsSource) source;<a name="line.241"></a>
+<span class="sourceLineNo">242</span><a name="line.242"></a>
+<span class="sourceLineNo">243</span>    impl.getMetrics(new MockMetricsBuilder(), true);<a name="line.243"></a>
+<span class="sourceLineNo">244</span><a name="line.244"></a>
+<span class="sourceLineNo">245</span>  }<a name="line.245"></a>
+<span class="sourceLineNo">246</span><a name="line.246"></a>
+<span class="sourceLineNo">247</span>  private String canonicalizeMetricName(String in) {<a name="line.247"></a>
+<span class="sourceLineNo">248</span>    return in.toLowerCase().replaceAll("[^A-Za-z0-9 ]", "");<a name="line.248"></a>
+<span class="sourceLineNo">249</span>  }<a name="line.249"></a>
+<span class="sourceLineNo">250</span>}<a name="line.250"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/xref-test/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.html
----------------------------------------------------------------------
diff --git a/xref-test/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.html b/xref-test/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.html
index 44ffc24..2beb4c4 100644
--- a/xref-test/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.html
+++ b/xref-test/org/apache/hadoop/hbase/regionserver/TestRegionServerMetrics.html
@@ -498,7 +498,74 @@
 <a class="jxr_linenumber" name="488" href="#488">488</a>     admin.close();
 <a class="jxr_linenumber" name="489" href="#489">489</a>     connection.close();
 <a class="jxr_linenumber" name="490" href="#490">490</a>   }
-<a class="jxr_linenumber" name="491" href="#491">491</a> }
+<a class="jxr_linenumber" name="491" href="#491">491</a>   
+<a class="jxr_linenumber" name="492" href="#492">492</a>   @Test
+<a class="jxr_linenumber" name="493" href="#493">493</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testRangeCountMetrics() <strong class="jxr_keyword">throws</strong> Exception {
+<a class="jxr_linenumber" name="494" href="#494">494</a>     String tableNameString = <span class="jxr_string">"testRangeCountMetrics"</span>;
+<a class="jxr_linenumber" name="495" href="#495">495</a>     <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong>[] timeranges =
+<a class="jxr_linenumber" name="496" href="#496">496</a>         { 1, 3, 10, 30, 100, 300, 1000, 3000, 10000, 30000, 60000, 120000, 300000, 600000 };
+<a class="jxr_linenumber" name="497" href="#497">497</a>     <strong class="jxr_keyword">final</strong> String timeRangeType = <span class="jxr_string">"TimeRangeCount"</span>;
+<a class="jxr_linenumber" name="498" href="#498">498</a>     <strong class="jxr_keyword">final</strong> String timeRangeMetricName = <span class="jxr_string">"Mutate"</span>;
+<a class="jxr_linenumber" name="499" href="#499">499</a>     <strong class="jxr_keyword">boolean</strong> timeRangeCountUpdated = false;
+<a class="jxr_linenumber" name="500" href="#500">500</a> 
+<a class="jxr_linenumber" name="501" href="#501">501</a>     TableName tName = TableName.valueOf(tableNameString);
+<a class="jxr_linenumber" name="502" href="#502">502</a>     byte[] cfName = Bytes.toBytes(<span class="jxr_string">"d"</span>);
+<a class="jxr_linenumber" name="503" href="#503">503</a>     byte[] row = Bytes.toBytes(<span class="jxr_string">"rk"</span>);
+<a class="jxr_linenumber" name="504" href="#504">504</a>     byte[] qualifier = Bytes.toBytes(<span class="jxr_string">"qual"</span>);
+<a class="jxr_linenumber" name="505" href="#505">505</a>     byte[] initValue = Bytes.toBytes(<span class="jxr_string">"Value"</span>);
+<a class="jxr_linenumber" name="506" href="#506">506</a> 
+<a class="jxr_linenumber" name="507" href="#507">507</a>     TEST_UTIL.createTable(tName, cfName);
+<a class="jxr_linenumber" name="508" href="#508">508</a> 
+<a class="jxr_linenumber" name="509" href="#509">509</a>     Connection connection = TEST_UTIL.getConnection();
+<a class="jxr_linenumber" name="510" href="#510">510</a>     connection.getTable(tName).close(); <em class="jxr_comment">// wait for the table to come up.</em>
+<a class="jxr_linenumber" name="511" href="#511">511</a> 
+<a class="jxr_linenumber" name="512" href="#512">512</a>     <em class="jxr_comment">// Do a first put to be sure that the connection is established, meta is there and so on.</em>
+<a class="jxr_linenumber" name="513" href="#513">513</a>     Table table = connection.getTable(tName);
+<a class="jxr_linenumber" name="514" href="#514">514</a>     Put p = <strong class="jxr_keyword">new</strong> Put(row);
+<a class="jxr_linenumber" name="515" href="#515">515</a>     p.addColumn(cfName, qualifier, initValue);
+<a class="jxr_linenumber" name="516" href="#516">516</a>     table.put(p);
+<a class="jxr_linenumber" name="517" href="#517">517</a> 
+<a class="jxr_linenumber" name="518" href="#518">518</a>     <em class="jxr_comment">// do some puts and gets</em>
+<a class="jxr_linenumber" name="519" href="#519">519</a>     <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; 10; i++) {
+<a class="jxr_linenumber" name="520" href="#520">520</a>       table.put(p);
+<a class="jxr_linenumber" name="521" href="#521">521</a>     }
+<a class="jxr_linenumber" name="522" href="#522">522</a> 
+<a class="jxr_linenumber" name="523" href="#523">523</a>     Get g = <strong class="jxr_keyword">new</strong> Get(row);
+<a class="jxr_linenumber" name="524" href="#524">524</a>     <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; 10; i++) {
+<a class="jxr_linenumber" name="525" href="#525">525</a>       table.get(g);
+<a class="jxr_linenumber" name="526" href="#526">526</a>     }
+<a class="jxr_linenumber" name="527" href="#527">527</a> 
+<a class="jxr_linenumber" name="528" href="#528">528</a>     metricsRegionServer.getRegionServerWrapper().forceRecompute();
+<a class="jxr_linenumber" name="529" href="#529">529</a> 
+<a class="jxr_linenumber" name="530" href="#530">530</a>     <em class="jxr_comment">// Check some time range counters were updated</em>
+<a class="jxr_linenumber" name="531" href="#531">531</a>     <strong class="jxr_keyword">long</strong> prior = 0;
+<a class="jxr_linenumber" name="532" href="#532">532</a> 
+<a class="jxr_linenumber" name="533" href="#533">533</a>     String dynamicMetricName;
+<a class="jxr_linenumber" name="534" href="#534">534</a>     <strong class="jxr_keyword">for</strong> (<strong class="jxr_keyword">int</strong> i = 0; i &lt; timeranges.length; i++) {
+<a class="jxr_linenumber" name="535" href="#535">535</a>       dynamicMetricName =
+<a class="jxr_linenumber" name="536" href="#536">536</a>           timeRangeMetricName + <span class="jxr_string">"_"</span> + timeRangeType + <span class="jxr_string">"_"</span> + prior + <span class="jxr_string">"-"</span> + timeranges[i];
+<a class="jxr_linenumber" name="537" href="#537">537</a>       <strong class="jxr_keyword">if</strong> (metricsHelper.checkCounterExists(dynamicMetricName, serverSource)) {
+<a class="jxr_linenumber" name="538" href="#538">538</a>         <strong class="jxr_keyword">long</strong> count = metricsHelper.getCounter(dynamicMetricName, serverSource);
+<a class="jxr_linenumber" name="539" href="#539">539</a>         <strong class="jxr_keyword">if</strong> (count &gt; 0) {
+<a class="jxr_linenumber" name="540" href="#540">540</a>           timeRangeCountUpdated = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="541" href="#541">541</a>           <strong class="jxr_keyword">break</strong>;
+<a class="jxr_linenumber" name="542" href="#542">542</a>         }
+<a class="jxr_linenumber" name="543" href="#543">543</a>       }
+<a class="jxr_linenumber" name="544" href="#544">544</a>       prior = timeranges[i];
+<a class="jxr_linenumber" name="545" href="#545">545</a>     }
+<a class="jxr_linenumber" name="546" href="#546">546</a>     dynamicMetricName =
+<a class="jxr_linenumber" name="547" href="#547">547</a>         timeRangeMetricName + <span class="jxr_string">"_"</span> + timeRangeType + <span class="jxr_string">"_"</span> + timeranges[timeranges.length - 1] + <span class="jxr_string">"-inf"</span>;
+<a class="jxr_linenumber" name="548" href="#548">548</a>     <strong class="jxr_keyword">if</strong> (metricsHelper.checkCounterExists(dynamicMetricName, serverSource)) {
+<a class="jxr_linenumber" name="549" href="#549">549</a>       <strong class="jxr_keyword">long</strong> count = metricsHelper.getCounter(dynamicMetricName, serverSource);
+<a class="jxr_linenumber" name="550" href="#550">550</a>       <strong class="jxr_keyword">if</strong> (count &gt; 0) {
+<a class="jxr_linenumber" name="551" href="#551">551</a>         timeRangeCountUpdated = <strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="552" href="#552">552</a>       }
+<a class="jxr_linenumber" name="553" href="#553">553</a>     }
+<a class="jxr_linenumber" name="554" href="#554">554</a>     assertEquals(<strong class="jxr_keyword">true</strong>, timeRangeCountUpdated);
+<a class="jxr_linenumber" name="555" href="#555">555</a> 
+<a class="jxr_linenumber" name="556" href="#556">556</a>     table.close();
+<a class="jxr_linenumber" name="557" href="#557">557</a>   }
+<a class="jxr_linenumber" name="558" href="#558">558</a> }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/xref-test/org/apache/hadoop/hbase/test/MetricsAssertHelper.html
----------------------------------------------------------------------
diff --git a/xref-test/org/apache/hadoop/hbase/test/MetricsAssertHelper.html b/xref-test/org/apache/hadoop/hbase/test/MetricsAssertHelper.html
index 5b358eb..a76de6b 100644
--- a/xref-test/org/apache/hadoop/hbase/test/MetricsAssertHelper.html
+++ b/xref-test/org/apache/hadoop/hbase/test/MetricsAssertHelper.html
@@ -150,25 +150,35 @@
 <a class="jxr_linenumber" name="140" href="#140">140</a>   <strong class="jxr_keyword">long</strong> getCounter(String name, BaseSource source);
 <a class="jxr_linenumber" name="141" href="#141">141</a> 
 <a class="jxr_linenumber" name="142" href="#142">142</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="143" href="#143">143</a> <em class="jxr_javadoccomment">   * Get the value of a gauge as a double.</em>
+<a class="jxr_linenumber" name="143" href="#143">143</a> <em class="jxr_javadoccomment">   * Check if a dynamic counter exists.</em>
 <a class="jxr_linenumber" name="144" href="#144">144</a> <em class="jxr_javadoccomment">   *</em>
-<a class="jxr_linenumber" name="145" href="#145">145</a> <em class="jxr_javadoccomment">   * @param name   name of the gauge.</em>
+<a class="jxr_linenumber" name="145" href="#145">145</a> <em class="jxr_javadoccomment">   * @param name   name of the counter.</em>
 <a class="jxr_linenumber" name="146" href="#146">146</a> <em class="jxr_javadoccomment">   * @param source The BaseSource{@link BaseSource} that will provide the tags,</em>
 <a class="jxr_linenumber" name="147" href="#147">147</a> <em class="jxr_javadoccomment">   *               gauges, and counters.</em>
-<a class="jxr_linenumber" name="148" href="#148">148</a> <em class="jxr_javadoccomment">   * @return double value of the gauge.</em>
+<a class="jxr_linenumber" name="148" href="#148">148</a> <em class="jxr_javadoccomment">   * @return boolean true id counter metric exists.</em>
 <a class="jxr_linenumber" name="149" href="#149">149</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="150" href="#150">150</a>   <strong class="jxr_keyword">double</strong> getGaugeDouble(String name, BaseSource source);
+<a class="jxr_linenumber" name="150" href="#150">150</a>   <strong class="jxr_keyword">boolean</strong> checkCounterExists(String name, BaseSource source);
 <a class="jxr_linenumber" name="151" href="#151">151</a> 
 <a class="jxr_linenumber" name="152" href="#152">152</a>   <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="153" href="#153">153</a> <em class="jxr_javadoccomment">   * Get the value of a gauge as a long.</em>
+<a class="jxr_linenumber" name="153" href="#153">153</a> <em class="jxr_javadoccomment">   * Get the value of a gauge as a double.</em>
 <a class="jxr_linenumber" name="154" href="#154">154</a> <em class="jxr_javadoccomment">   *</em>
 <a class="jxr_linenumber" name="155" href="#155">155</a> <em class="jxr_javadoccomment">   * @param name   name of the gauge.</em>
 <a class="jxr_linenumber" name="156" href="#156">156</a> <em class="jxr_javadoccomment">   * @param source The BaseSource{@link BaseSource} that will provide the tags,</em>
 <a class="jxr_linenumber" name="157" href="#157">157</a> <em class="jxr_javadoccomment">   *               gauges, and counters.</em>
-<a class="jxr_linenumber" name="158" href="#158">158</a> <em class="jxr_javadoccomment">   * @return long value of the gauge.</em>
+<a class="jxr_linenumber" name="158" href="#158">158</a> <em class="jxr_javadoccomment">   * @return double value of the gauge.</em>
 <a class="jxr_linenumber" name="159" href="#159">159</a> <em class="jxr_javadoccomment">   */</em>
-<a class="jxr_linenumber" name="160" href="#160">160</a>   <strong class="jxr_keyword">long</strong> getGaugeLong(String name, BaseSource source);
-<a class="jxr_linenumber" name="161" href="#161">161</a> }
+<a class="jxr_linenumber" name="160" href="#160">160</a>   <strong class="jxr_keyword">double</strong> getGaugeDouble(String name, BaseSource source);
+<a class="jxr_linenumber" name="161" href="#161">161</a> 
+<a class="jxr_linenumber" name="162" href="#162">162</a>   <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="163" href="#163">163</a> <em class="jxr_javadoccomment">   * Get the value of a gauge as a long.</em>
+<a class="jxr_linenumber" name="164" href="#164">164</a> <em class="jxr_javadoccomment">   *</em>
+<a class="jxr_linenumber" name="165" href="#165">165</a> <em class="jxr_javadoccomment">   * @param name   name of the gauge.</em>
+<a class="jxr_linenumber" name="166" href="#166">166</a> <em class="jxr_javadoccomment">   * @param source The BaseSource{@link BaseSource} that will provide the tags,</em>
+<a class="jxr_linenumber" name="167" href="#167">167</a> <em class="jxr_javadoccomment">   *               gauges, and counters.</em>
+<a class="jxr_linenumber" name="168" href="#168">168</a> <em class="jxr_javadoccomment">   * @return long value of the gauge.</em>
+<a class="jxr_linenumber" name="169" href="#169">169</a> <em class="jxr_javadoccomment">   */</em>
+<a class="jxr_linenumber" name="170" href="#170">170</a>   <strong class="jxr_keyword">long</strong> getGaugeLong(String name, BaseSource source);
+<a class="jxr_linenumber" name="171" href="#171">171</a> }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/xref-test/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html
----------------------------------------------------------------------
diff --git a/xref-test/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html b/xref-test/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html
index 6f25932..949409a 100644
--- a/xref-test/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html
+++ b/xref-test/org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html
@@ -215,43 +215,49 @@
 <a class="jxr_linenumber" name="205" href="#205">205</a>   }
 <a class="jxr_linenumber" name="206" href="#206">206</a> 
 <a class="jxr_linenumber" name="207" href="#207">207</a>   @Override
-<a class="jxr_linenumber" name="208" href="#208">208</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">double</strong> getGaugeDouble(String name, BaseSource source) {
+<a class="jxr_linenumber" name="208" href="#208">208</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">boolean</strong> checkCounterExists(String name, BaseSource source) {
 <a class="jxr_linenumber" name="209" href="#209">209</a>     getMetrics(source);
 <a class="jxr_linenumber" name="210" href="#210">210</a>     String cName = canonicalizeMetricName(name);
-<a class="jxr_linenumber" name="211" href="#211">211</a>     assertNotNull(<span class="jxr_string">"Should get gauge "</span>+cName + <span class="jxr_string">" but did not"</span>,gauges.get(cName));
-<a class="jxr_linenumber" name="212" href="#212">212</a>     <strong class="jxr_keyword">return</strong>  gauges.get(cName).doubleValue();
-<a class="jxr_linenumber" name="213" href="#213">213</a>   }
-<a class="jxr_linenumber" name="214" href="#214">214</a> 
-<a class="jxr_linenumber" name="215" href="#215">215</a>   @Override
-<a class="jxr_linenumber" name="216" href="#216">216</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">long</strong> getGaugeLong(String name, BaseSource source) {
-<a class="jxr_linenumber" name="217" href="#217">217</a>     getMetrics(source);
-<a class="jxr_linenumber" name="218" href="#218">218</a>     String cName = canonicalizeMetricName(name);
-<a class="jxr_linenumber" name="219" href="#219">219</a>     assertNotNull(<span class="jxr_string">"Should get gauge "</span> + cName + <span class="jxr_string">" but did not"</span>, gauges.get(cName));
-<a class="jxr_linenumber" name="220" href="#220">220</a>     <strong class="jxr_keyword">return</strong> gauges.get(cName).longValue();
-<a class="jxr_linenumber" name="221" href="#221">221</a>   }
-<a class="jxr_linenumber" name="222" href="#222">222</a> 
-<a class="jxr_linenumber" name="223" href="#223">223</a> 
-<a class="jxr_linenumber" name="224" href="#224">224</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> reset() {
-<a class="jxr_linenumber" name="225" href="#225">225</a>     tags.clear();
-<a class="jxr_linenumber" name="226" href="#226">226</a>     gauges.clear();
-<a class="jxr_linenumber" name="227" href="#227">227</a>     counters.clear();
+<a class="jxr_linenumber" name="211" href="#211">211</a>     <strong class="jxr_keyword">return</strong> (counters.get(cName) != <strong class="jxr_keyword">null</strong>) ? <strong class="jxr_keyword">true</strong> : false;
+<a class="jxr_linenumber" name="212" href="#212">212</a>   }
+<a class="jxr_linenumber" name="213" href="#213">213</a>   
+<a class="jxr_linenumber" name="214" href="#214">214</a>   @Override
+<a class="jxr_linenumber" name="215" href="#215">215</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">double</strong> getGaugeDouble(String name, BaseSource source) {
+<a class="jxr_linenumber" name="216" href="#216">216</a>     getMetrics(source);
+<a class="jxr_linenumber" name="217" href="#217">217</a>     String cName = canonicalizeMetricName(name);
+<a class="jxr_linenumber" name="218" href="#218">218</a>     assertNotNull(<span class="jxr_string">"Should get gauge "</span>+cName + <span class="jxr_string">" but did not"</span>,gauges.get(cName));
+<a class="jxr_linenumber" name="219" href="#219">219</a>     <strong class="jxr_keyword">return</strong>  gauges.get(cName).doubleValue();
+<a class="jxr_linenumber" name="220" href="#220">220</a>   }
+<a class="jxr_linenumber" name="221" href="#221">221</a> 
+<a class="jxr_linenumber" name="222" href="#222">222</a>   @Override
+<a class="jxr_linenumber" name="223" href="#223">223</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">long</strong> getGaugeLong(String name, BaseSource source) {
+<a class="jxr_linenumber" name="224" href="#224">224</a>     getMetrics(source);
+<a class="jxr_linenumber" name="225" href="#225">225</a>     String cName = canonicalizeMetricName(name);
+<a class="jxr_linenumber" name="226" href="#226">226</a>     assertNotNull(<span class="jxr_string">"Should get gauge "</span> + cName + <span class="jxr_string">" but did not"</span>, gauges.get(cName));
+<a class="jxr_linenumber" name="227" href="#227">227</a>     <strong class="jxr_keyword">return</strong> gauges.get(cName).longValue();
 <a class="jxr_linenumber" name="228" href="#228">228</a>   }
 <a class="jxr_linenumber" name="229" href="#229">229</a> 
-<a class="jxr_linenumber" name="230" href="#230">230</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> getMetrics(BaseSource source) {
-<a class="jxr_linenumber" name="231" href="#231">231</a>     reset();
-<a class="jxr_linenumber" name="232" href="#232">232</a>     <strong class="jxr_keyword">if</strong> (!(source instanceof MetricsSource)) {
-<a class="jxr_linenumber" name="233" href="#233">233</a>       assertTrue(<span class="jxr_string">"The Source passed must be a MetricsSource"</span>, false);
-<a class="jxr_linenumber" name="234" href="#234">234</a>     }
-<a class="jxr_linenumber" name="235" href="#235">235</a>     MetricsSource impl = (MetricsSource) source;
-<a class="jxr_linenumber" name="236" href="#236">236</a> 
-<a class="jxr_linenumber" name="237" href="#237">237</a>     impl.getMetrics(<strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html">MockMetricsBuilder</a>(), <strong class="jxr_keyword">true</strong>);
-<a class="jxr_linenumber" name="238" href="#238">238</a> 
-<a class="jxr_linenumber" name="239" href="#239">239</a>   }
-<a class="jxr_linenumber" name="240" href="#240">240</a> 
-<a class="jxr_linenumber" name="241" href="#241">241</a>   <strong class="jxr_keyword">private</strong> String canonicalizeMetricName(String in) {
-<a class="jxr_linenumber" name="242" href="#242">242</a>     <strong class="jxr_keyword">return</strong> in.toLowerCase().replaceAll(<span class="jxr_string">"[^A-Za-z0-9 ]"</span>, <span class="jxr_string">""</span>);
-<a class="jxr_linenumber" name="243" href="#243">243</a>   }
-<a class="jxr_linenumber" name="244" href="#244">244</a> }
+<a class="jxr_linenumber" name="230" href="#230">230</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> reset() {
+<a class="jxr_linenumber" name="231" href="#231">231</a>     tags.clear();
+<a class="jxr_linenumber" name="232" href="#232">232</a>     gauges.clear();
+<a class="jxr_linenumber" name="233" href="#233">233</a>     counters.clear();
+<a class="jxr_linenumber" name="234" href="#234">234</a>   }
+<a class="jxr_linenumber" name="235" href="#235">235</a> 
+<a class="jxr_linenumber" name="236" href="#236">236</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> getMetrics(BaseSource source) {
+<a class="jxr_linenumber" name="237" href="#237">237</a>     reset();
+<a class="jxr_linenumber" name="238" href="#238">238</a>     <strong class="jxr_keyword">if</strong> (!(source instanceof MetricsSource)) {
+<a class="jxr_linenumber" name="239" href="#239">239</a>       assertTrue(<span class="jxr_string">"The Source passed must be a MetricsSource"</span>, false);
+<a class="jxr_linenumber" name="240" href="#240">240</a>     }
+<a class="jxr_linenumber" name="241" href="#241">241</a>     MetricsSource impl = (MetricsSource) source;
+<a class="jxr_linenumber" name="242" href="#242">242</a> 
+<a class="jxr_linenumber" name="243" href="#243">243</a>     impl.getMetrics(<strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/hadoop/hbase/test/MetricsAssertHelperImpl.html">MockMetricsBuilder</a>(), <strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="244" href="#244">244</a> 
+<a class="jxr_linenumber" name="245" href="#245">245</a>   }
+<a class="jxr_linenumber" name="246" href="#246">246</a> 
+<a class="jxr_linenumber" name="247" href="#247">247</a>   <strong class="jxr_keyword">private</strong> String canonicalizeMetricName(String in) {
+<a class="jxr_linenumber" name="248" href="#248">248</a>     <strong class="jxr_keyword">return</strong> in.toLowerCase().replaceAll(<span class="jxr_string">"[^A-Za-z0-9 ]"</span>, <span class="jxr_string">""</span>);
+<a class="jxr_linenumber" name="249" href="#249">249</a>   }
+<a class="jxr_linenumber" name="250" href="#250">250</a> }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/xref/allclasses-frame.html
----------------------------------------------------------------------
diff --git a/xref/allclasses-frame.html b/xref/allclasses-frame.html
index e21f611..3b0940c 100644
--- a/xref/allclasses-frame.html
+++ b/xref/allclasses-frame.html
@@ -3618,6 +3618,15 @@
 				<a href="org/apache/hadoop/metrics2/lib/MutableHistogram.html" target="classFrame">MutableHistogram</a>
 			</li>
 						<li>
+				<a href="org/apache/hadoop/metrics2/lib/MutableRangeHistogram.html" target="classFrame">MutableRangeHistogram</a>
+			</li>
+						<li>
+				<a href="org/apache/hadoop/metrics2/lib/MutableSizeHistogram.html" target="classFrame">MutableSizeHistogram</a>
+			</li>
+						<li>
+				<a href="org/apache/hadoop/metrics2/lib/MutableTimeHistogram.html" target="classFrame">MutableTimeHistogram</a>
+			</li>
+						<li>
 				<a href="org/apache/hadoop/hbase/client/Mutation.html" target="classFrame">Mutation</a>
 			</li>
 						<li>
@@ -6891,6 +6900,9 @@
 				<a href="org/apache/hadoop/hbase/generated/master/master_jsp.html" target="classFrame">master_jsp</a>
 			</li>
 						<li>
+				<a href="org/apache/hadoop/hbase/generated/regionserver/region_jsp.html" target="classFrame">region_jsp</a>
+			</li>
+						<li>
 				<a href="org/apache/hadoop/hbase/generated/regionserver/regionserver_jsp.html" target="classFrame">regionserver_jsp</a>
 			</li>
 						<li>
@@ -6900,6 +6912,9 @@
 				<a href="org/apache/hadoop/hbase/generated/master/snapshot_jsp.html" target="classFrame">snapshot_jsp</a>
 			</li>
 						<li>
+				<a href="org/apache/hadoop/hbase/generated/regionserver/storeFile_jsp.html" target="classFrame">storeFile_jsp</a>
+			</li>
+						<li>
 				<a href="org/apache/hadoop/hbase/generated/master/table_jsp.html" target="classFrame">table_jsp</a>
 			</li>
 						<li>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/xref/org/apache/hadoop/hbase/generated/regionserver/package-frame.html
----------------------------------------------------------------------
diff --git a/xref/org/apache/hadoop/hbase/generated/regionserver/package-frame.html b/xref/org/apache/hadoop/hbase/generated/regionserver/package-frame.html
index fe5e59c..8faa847 100644
--- a/xref/org/apache/hadoop/hbase/generated/regionserver/package-frame.html
+++ b/xref/org/apache/hadoop/hbase/generated/regionserver/package-frame.html
@@ -16,8 +16,14 @@
 
       	<ul>
       		          	<li>
+            	<a href="region_jsp.html" target="classFrame">region_jsp</a>
+          	</li>
+          	          	<li>
             	<a href="regionserver_jsp.html" target="classFrame">regionserver_jsp</a>
           	</li>
+          	          	<li>
+            	<a href="storeFile_jsp.html" target="classFrame">storeFile_jsp</a>
+          	</li>
           	      	</ul>
 
 	</body>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/xref/org/apache/hadoop/hbase/generated/regionserver/package-summary.html
----------------------------------------------------------------------
diff --git a/xref/org/apache/hadoop/hbase/generated/regionserver/package-summary.html b/xref/org/apache/hadoop/hbase/generated/regionserver/package-summary.html
index fa1e1b3..8bbbecf 100644
--- a/xref/org/apache/hadoop/hbase/generated/regionserver/package-summary.html
+++ b/xref/org/apache/hadoop/hbase/generated/regionserver/package-summary.html
@@ -37,9 +37,19 @@
         	<tbody>
         		            	<tr>
               		<td>
+                		<a href="region_jsp.html" target="classFrame">region_jsp</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
                 		<a href="regionserver_jsp.html" target="classFrame">regionserver_jsp</a>
               		</td>
             	</tr>
+				            	<tr>
+              		<td>
+                		<a href="storeFile_jsp.html" target="classFrame">storeFile_jsp</a>
+              		</td>
+            	</tr>
 				        	</tbody>
       	</table>
 		

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/xref/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.html
----------------------------------------------------------------------
diff --git a/xref/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.html b/xref/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.html
index 34a49c5..61b7407 100644
--- a/xref/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.html
+++ b/xref/org/apache/hadoop/hbase/ipc/MetricsHBaseServerSourceImpl.html
@@ -102,15 +102,15 @@
 <a class="jxr_linenumber" name="92" href="#92">92</a>          SENT_BYTES_DESC, 0L);
 <a class="jxr_linenumber" name="93" href="#93">93</a>      <strong class="jxr_keyword">this</strong>.receivedBytes = <strong class="jxr_keyword">this</strong>.getMetricsRegistry().newCounter(RECEIVED_BYTES_NAME,
 <a class="jxr_linenumber" name="94" href="#94">94</a>          RECEIVED_BYTES_DESC, 0L);
-<a class="jxr_linenumber" name="95" href="#95">95</a>      <strong class="jxr_keyword">this</strong>.queueCallTime = <strong class="jxr_keyword">this</strong>.getMetricsRegistry().newHistogram(QUEUE_CALL_TIME_NAME,
+<a class="jxr_linenumber" name="95" href="#95">95</a>      <strong class="jxr_keyword">this</strong>.queueCallTime = <strong class="jxr_keyword">this</strong>.getMetricsRegistry().newTimeHistogram(QUEUE_CALL_TIME_NAME,
 <a class="jxr_linenumber" name="96" href="#96">96</a>          QUEUE_CALL_TIME_DESC);
-<a class="jxr_linenumber" name="97" href="#97">97</a>      <strong class="jxr_keyword">this</strong>.processCallTime = <strong class="jxr_keyword">this</strong>.getMetricsRegistry().newHistogram(PROCESS_CALL_TIME_NAME,
+<a class="jxr_linenumber" name="97" href="#97">97</a>      <strong class="jxr_keyword">this</strong>.processCallTime = <strong class="jxr_keyword">this</strong>.getMetricsRegistry().newTimeHistogram(PROCESS_CALL_TIME_NAME,
 <a class="jxr_linenumber" name="98" href="#98">98</a>          PROCESS_CALL_TIME_DESC);
-<a class="jxr_linenumber" name="99" href="#99">99</a>      <strong class="jxr_keyword">this</strong>.totalCallTime = <strong class="jxr_keyword">this</strong>.getMetricsRegistry().newHistogram(TOTAL_CALL_TIME_NAME,
+<a class="jxr_linenumber" name="99" href="#99">99</a>      <strong class="jxr_keyword">this</strong>.totalCallTime = <strong class="jxr_keyword">this</strong>.getMetricsRegistry().newTimeHistogram(TOTAL_CALL_TIME_NAME,
 <a class="jxr_linenumber" name="100" href="#100">100</a>         TOTAL_CALL_TIME_DESC);
-<a class="jxr_linenumber" name="101" href="#101">101</a>     <strong class="jxr_keyword">this</strong>.requestSize = <strong class="jxr_keyword">this</strong>.getMetricsRegistry().newHistogram(REQUEST_SIZE_NAME,
+<a class="jxr_linenumber" name="101" href="#101">101</a>     <strong class="jxr_keyword">this</strong>.requestSize = <strong class="jxr_keyword">this</strong>.getMetricsRegistry().newSizeHistogram(REQUEST_SIZE_NAME,
 <a class="jxr_linenumber" name="102" href="#102">102</a>         REQUEST_SIZE_DESC);
-<a class="jxr_linenumber" name="103" href="#103">103</a>     <strong class="jxr_keyword">this</strong>.responseSize = <strong class="jxr_keyword">this</strong>.getMetricsRegistry().newHistogram(RESPONSE_SIZE_NAME,
+<a class="jxr_linenumber" name="103" href="#103">103</a>     <strong class="jxr_keyword">this</strong>.responseSize = <strong class="jxr_keyword">this</strong>.getMetricsRegistry().newSizeHistogram(RESPONSE_SIZE_NAME,
 <a class="jxr_linenumber" name="104" href="#104">104</a>               RESPONSE_SIZE_DESC);
 <a class="jxr_linenumber" name="105" href="#105">105</a>   }
 <a class="jxr_linenumber" name="106" href="#106">106</a> 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/xref/org/apache/hadoop/hbase/master/MetricsAssignmentManagerSourceImpl.html
----------------------------------------------------------------------
diff --git a/xref/org/apache/hadoop/hbase/master/MetricsAssignmentManagerSourceImpl.html b/xref/org/apache/hadoop/hbase/master/MetricsAssignmentManagerSourceImpl.html
index 9b0aa73..3507a7c 100644
--- a/xref/org/apache/hadoop/hbase/master/MetricsAssignmentManagerSourceImpl.html
+++ b/xref/org/apache/hadoop/hbase/master/MetricsAssignmentManagerSourceImpl.html
@@ -56,8 +56,8 @@
 <a class="jxr_linenumber" name="46" href="#46">46</a>      ritGauge = metricsRegistry.newGauge(RIT_COUNT_NAME, <span class="jxr_string">""</span>, 0l);
 <a class="jxr_linenumber" name="47" href="#47">47</a>      ritCountOverThresholdGauge = metricsRegistry.newGauge(RIT_COUNT_OVER_THRESHOLD_NAME, <span class="jxr_string">""</span>, 0l);
 <a class="jxr_linenumber" name="48" href="#48">48</a>      ritOldestAgeGauge = metricsRegistry.newGauge(RIT_OLDEST_AGE_NAME, <span class="jxr_string">""</span>, 0l);
-<a class="jxr_linenumber" name="49" href="#49">49</a>      assignTimeHisto = metricsRegistry.newHistogram(ASSIGN_TIME_NAME);
-<a class="jxr_linenumber" name="50" href="#50">50</a>      bulkAssignTimeHisto = metricsRegistry.newHistogram(BULK_ASSIGN_TIME_NAME);
+<a class="jxr_linenumber" name="49" href="#49">49</a>      assignTimeHisto = metricsRegistry.newTimeHistogram(ASSIGN_TIME_NAME);
+<a class="jxr_linenumber" name="50" href="#50">50</a>      bulkAssignTimeHisto = metricsRegistry.newTimeHistogram(BULK_ASSIGN_TIME_NAME);
 <a class="jxr_linenumber" name="51" href="#51">51</a>    }
 <a class="jxr_linenumber" name="52" href="#52">52</a>  
 <a class="jxr_linenumber" name="53" href="#53">53</a>    @Override

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/xref/org/apache/hadoop/hbase/master/MetricsMasterFilesystemSourceImpl.html
----------------------------------------------------------------------
diff --git a/xref/org/apache/hadoop/hbase/master/MetricsMasterFilesystemSourceImpl.html b/xref/org/apache/hadoop/hbase/master/MetricsMasterFilesystemSourceImpl.html
index 4c5f219..28f1ad6 100644
--- a/xref/org/apache/hadoop/hbase/master/MetricsMasterFilesystemSourceImpl.html
+++ b/xref/org/apache/hadoop/hbase/master/MetricsMasterFilesystemSourceImpl.html
@@ -52,33 +52,35 @@
 <a class="jxr_linenumber" name="42" href="#42">42</a>  
 <a class="jxr_linenumber" name="43" href="#43">43</a>    @Override
 <a class="jxr_linenumber" name="44" href="#44">44</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> init() {
-<a class="jxr_linenumber" name="45" href="#45">45</a>      splitSizeHisto = metricsRegistry.newHistogram(SPLIT_SIZE_NAME, SPLIT_SIZE_DESC);
-<a class="jxr_linenumber" name="46" href="#46">46</a>      splitTimeHisto = metricsRegistry.newHistogram(SPLIT_TIME_NAME, SPLIT_TIME_DESC);
-<a class="jxr_linenumber" name="47" href="#47">47</a>      metaSplitTimeHisto = metricsRegistry.newHistogram(META_SPLIT_TIME_NAME, META_SPLIT_TIME_DESC);
-<a class="jxr_linenumber" name="48" href="#48">48</a>      metaSplitSizeHisto = metricsRegistry.newHistogram(META_SPLIT_SIZE_NAME, META_SPLIT_SIZE_DESC);
-<a class="jxr_linenumber" name="49" href="#49">49</a>    }
-<a class="jxr_linenumber" name="50" href="#50">50</a>  
-<a class="jxr_linenumber" name="51" href="#51">51</a>    @Override
-<a class="jxr_linenumber" name="52" href="#52">52</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> updateSplitTime(<strong class="jxr_keyword">long</strong> time) {
-<a class="jxr_linenumber" name="53" href="#53">53</a>      splitTimeHisto.add(time);
-<a class="jxr_linenumber" name="54" href="#54">54</a>    }
-<a class="jxr_linenumber" name="55" href="#55">55</a>  
-<a class="jxr_linenumber" name="56" href="#56">56</a>    @Override
-<a class="jxr_linenumber" name="57" href="#57">57</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> updateSplitSize(<strong class="jxr_keyword">long</strong> size) {
-<a class="jxr_linenumber" name="58" href="#58">58</a>      splitSizeHisto.add(size);
-<a class="jxr_linenumber" name="59" href="#59">59</a>    }
-<a class="jxr_linenumber" name="60" href="#60">60</a>  
-<a class="jxr_linenumber" name="61" href="#61">61</a>  
-<a class="jxr_linenumber" name="62" href="#62">62</a>    @Override
-<a class="jxr_linenumber" name="63" href="#63">63</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> updateMetaWALSplitTime(<strong class="jxr_keyword">long</strong> time) {
-<a class="jxr_linenumber" name="64" href="#64">64</a>      metaSplitTimeHisto.add(time);
-<a class="jxr_linenumber" name="65" href="#65">65</a>    }
-<a class="jxr_linenumber" name="66" href="#66">66</a>  
-<a class="jxr_linenumber" name="67" href="#67">67</a>    @Override
-<a class="jxr_linenumber" name="68" href="#68">68</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> updateMetaWALSplitSize(<strong class="jxr_keyword">long</strong> size) {
-<a class="jxr_linenumber" name="69" href="#69">69</a>      metaSplitSizeHisto.add(size);
-<a class="jxr_linenumber" name="70" href="#70">70</a>    }
-<a class="jxr_linenumber" name="71" href="#71">71</a>  }
+<a class="jxr_linenumber" name="45" href="#45">45</a>      splitSizeHisto = metricsRegistry.newSizeHistogram(SPLIT_SIZE_NAME, SPLIT_SIZE_DESC);
+<a class="jxr_linenumber" name="46" href="#46">46</a>      splitTimeHisto = metricsRegistry.newTimeHistogram(SPLIT_TIME_NAME, SPLIT_TIME_DESC);
+<a class="jxr_linenumber" name="47" href="#47">47</a>      metaSplitTimeHisto =
+<a class="jxr_linenumber" name="48" href="#48">48</a>          metricsRegistry.newTimeHistogram(META_SPLIT_TIME_NAME, META_SPLIT_TIME_DESC);
+<a class="jxr_linenumber" name="49" href="#49">49</a>      metaSplitSizeHisto =
+<a class="jxr_linenumber" name="50" href="#50">50</a>          metricsRegistry.newSizeHistogram(META_SPLIT_SIZE_NAME, META_SPLIT_SIZE_DESC);
+<a class="jxr_linenumber" name="51" href="#51">51</a>    }
+<a class="jxr_linenumber" name="52" href="#52">52</a>  
+<a class="jxr_linenumber" name="53" href="#53">53</a>    @Override
+<a class="jxr_linenumber" name="54" href="#54">54</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> updateSplitTime(<strong class="jxr_keyword">long</strong> time) {
+<a class="jxr_linenumber" name="55" href="#55">55</a>      splitTimeHisto.add(time);
+<a class="jxr_linenumber" name="56" href="#56">56</a>    }
+<a class="jxr_linenumber" name="57" href="#57">57</a>  
+<a class="jxr_linenumber" name="58" href="#58">58</a>    @Override
+<a class="jxr_linenumber" name="59" href="#59">59</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> updateSplitSize(<strong class="jxr_keyword">long</strong> size) {
+<a class="jxr_linenumber" name="60" href="#60">60</a>      splitSizeHisto.add(size);
+<a class="jxr_linenumber" name="61" href="#61">61</a>    }
+<a class="jxr_linenumber" name="62" href="#62">62</a>  
+<a class="jxr_linenumber" name="63" href="#63">63</a>  
+<a class="jxr_linenumber" name="64" href="#64">64</a>    @Override
+<a class="jxr_linenumber" name="65" href="#65">65</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> updateMetaWALSplitTime(<strong class="jxr_keyword">long</strong> time) {
+<a class="jxr_linenumber" name="66" href="#66">66</a>      metaSplitTimeHisto.add(time);
+<a class="jxr_linenumber" name="67" href="#67">67</a>    }
+<a class="jxr_linenumber" name="68" href="#68">68</a>  
+<a class="jxr_linenumber" name="69" href="#69">69</a>    @Override
+<a class="jxr_linenumber" name="70" href="#70">70</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> updateMetaWALSplitSize(<strong class="jxr_keyword">long</strong> size) {
+<a class="jxr_linenumber" name="71" href="#71">71</a>      metaSplitSizeHisto.add(size);
+<a class="jxr_linenumber" name="72" href="#72">72</a>    }
+<a class="jxr_linenumber" name="73" href="#73">73</a>  }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/04ad6c11/xref/org/apache/hadoop/hbase/master/MetricsSnapshotSourceImpl.html
----------------------------------------------------------------------
diff --git a/xref/org/apache/hadoop/hbase/master/MetricsSnapshotSourceImpl.html b/xref/org/apache/hadoop/hbase/master/MetricsSnapshotSourceImpl.html
index 97ca6d5..f46d9a7 100644
--- a/xref/org/apache/hadoop/hbase/master/MetricsSnapshotSourceImpl.html
+++ b/xref/org/apache/hadoop/hbase/master/MetricsSnapshotSourceImpl.html
@@ -51,11 +51,11 @@
 <a class="jxr_linenumber" name="41" href="#41">41</a>  
 <a class="jxr_linenumber" name="42" href="#42">42</a>    @Override
 <a class="jxr_linenumber" name="43" href="#43">43</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> init() {
-<a class="jxr_linenumber" name="44" href="#44">44</a>      snapshotTimeHisto = metricsRegistry.newHistogram(
+<a class="jxr_linenumber" name="44" href="#44">44</a>      snapshotTimeHisto = metricsRegistry.newTimeHistogram(
 <a class="jxr_linenumber" name="45" href="#45">45</a>          SNAPSHOT_TIME_NAME, SNAPSHOT_TIME_DESC);
-<a class="jxr_linenumber" name="46" href="#46">46</a>      snapshotCloneTimeHisto = metricsRegistry.newHistogram(
+<a class="jxr_linenumber" name="46" href="#46">46</a>      snapshotCloneTimeHisto = metricsRegistry.newTimeHistogram(
 <a class="jxr_linenumber" name="47" href="#47">47</a>          SNAPSHOT_CLONE_TIME_NAME, SNAPSHOT_CLONE_TIME_DESC);
-<a class="jxr_linenumber" name="48" href="#48">48</a>      snapshotRestoreTimeHisto = metricsRegistry.newHistogram(
+<a class="jxr_linenumber" name="48" href="#48">48</a>      snapshotRestoreTimeHisto = metricsRegistry.newTimeHistogram(
 <a class="jxr_linenumber" name="49" href="#49">49</a>          SNAPSHOT_RESTORE_TIME_NAME, SNAPSHOT_RESTORE_TIME_DESC);
 <a class="jxr_linenumber" name="50" href="#50">50</a>    }
 <a class="jxr_linenumber" name="51" href="#51">51</a>  


Mime
View raw message