hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [04/51] [partial] hbase-site git commit: Published site at .
Date Wed, 06 Sep 2017 15:13:58 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/metrics/MetricRegistryInfo.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/metrics/MetricRegistryInfo.html b/devapidocs/src-html/org/apache/hadoop/hbase/metrics/MetricRegistryInfo.html
index a40aa29..4d8a968 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/metrics/MetricRegistryInfo.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/metrics/MetricRegistryInfo.html
@@ -27,7 +27,7 @@
 <span class="sourceLineNo">019</span>package org.apache.hadoop.hbase.metrics;<a name="line.19"></a>
 <span class="sourceLineNo">020</span><a name="line.20"></a>
 <span class="sourceLineNo">021</span><a name="line.21"></a>
-<span class="sourceLineNo">022</span>import org.apache.commons.lang.builder.HashCodeBuilder;<a name="line.22"></a>
+<span class="sourceLineNo">022</span>import org.apache.commons.lang3.builder.HashCodeBuilder;<a name="line.22"></a>
 <span class="sourceLineNo">023</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.23"></a>
 <span class="sourceLineNo">024</span><a name="line.24"></a>
 <span class="sourceLineNo">025</span>/**<a name="line.25"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/metrics/impl/HBaseMetrics2HadoopMetricsAdapter.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/metrics/impl/HBaseMetrics2HadoopMetricsAdapter.html b/devapidocs/src-html/org/apache/hadoop/hbase/metrics/impl/HBaseMetrics2HadoopMetricsAdapter.html
index 2f1598f..16c47ec 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/metrics/impl/HBaseMetrics2HadoopMetricsAdapter.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/metrics/impl/HBaseMetrics2HadoopMetricsAdapter.html
@@ -42,7 +42,7 @@
 <span class="sourceLineNo">034</span><a name="line.34"></a>
 <span class="sourceLineNo">035</span>import java.util.Map;<a name="line.35"></a>
 <span class="sourceLineNo">036</span><a name="line.36"></a>
-<span class="sourceLineNo">037</span>import org.apache.commons.lang.StringUtils;<a name="line.37"></a>
+<span class="sourceLineNo">037</span>import org.apache.commons.lang3.StringUtils;<a name="line.37"></a>
 <span class="sourceLineNo">038</span>import org.apache.commons.logging.Log;<a name="line.38"></a>
 <span class="sourceLineNo">039</span>import org.apache.commons.logging.LogFactory;<a name="line.39"></a>
 <span class="sourceLineNo">040</span>import org.apache.hadoop.hbase.metrics.Counter;<a name="line.40"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.NamedLock.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.NamedLock.html b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.NamedLock.html
index 4c60248..e5a3533 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.NamedLock.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.NamedLock.html
@@ -35,7 +35,7 @@
 <span class="sourceLineNo">027</span>import java.util.Map.Entry;<a name="line.27"></a>
 <span class="sourceLineNo">028</span>import java.util.concurrent.ConcurrentHashMap;<a name="line.28"></a>
 <span class="sourceLineNo">029</span><a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.commons.lang.builder.HashCodeBuilder;<a name="line.30"></a>
+<span class="sourceLineNo">030</span>import org.apache.commons.lang3.builder.HashCodeBuilder;<a name="line.30"></a>
 <span class="sourceLineNo">031</span>import org.apache.commons.logging.Log;<a name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.commons.logging.LogFactory;<a name="line.32"></a>
 <span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.DoNotRetryIOException;<a name="line.33"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.SetQuotaOperations.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.SetQuotaOperations.html b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.SetQuotaOperations.html
index 4c60248..e5a3533 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.SetQuotaOperations.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.SetQuotaOperations.html
@@ -35,7 +35,7 @@
 <span class="sourceLineNo">027</span>import java.util.Map.Entry;<a name="line.27"></a>
 <span class="sourceLineNo">028</span>import java.util.concurrent.ConcurrentHashMap;<a name="line.28"></a>
 <span class="sourceLineNo">029</span><a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.commons.lang.builder.HashCodeBuilder;<a name="line.30"></a>
+<span class="sourceLineNo">030</span>import org.apache.commons.lang3.builder.HashCodeBuilder;<a name="line.30"></a>
 <span class="sourceLineNo">031</span>import org.apache.commons.logging.Log;<a name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.commons.logging.LogFactory;<a name="line.32"></a>
 <span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.DoNotRetryIOException;<a name="line.33"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.SizeSnapshotWithTimestamp.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.SizeSnapshotWithTimestamp.html b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.SizeSnapshotWithTimestamp.html
index 4c60248..e5a3533 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.SizeSnapshotWithTimestamp.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.SizeSnapshotWithTimestamp.html
@@ -35,7 +35,7 @@
 <span class="sourceLineNo">027</span>import java.util.Map.Entry;<a name="line.27"></a>
 <span class="sourceLineNo">028</span>import java.util.concurrent.ConcurrentHashMap;<a name="line.28"></a>
 <span class="sourceLineNo">029</span><a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.commons.lang.builder.HashCodeBuilder;<a name="line.30"></a>
+<span class="sourceLineNo">030</span>import org.apache.commons.lang3.builder.HashCodeBuilder;<a name="line.30"></a>
 <span class="sourceLineNo">031</span>import org.apache.commons.logging.Log;<a name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.commons.logging.LogFactory;<a name="line.32"></a>
 <span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.DoNotRetryIOException;<a name="line.33"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.html b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.html
index 4c60248..e5a3533 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/MasterQuotaManager.html
@@ -35,7 +35,7 @@
 <span class="sourceLineNo">027</span>import java.util.Map.Entry;<a name="line.27"></a>
 <span class="sourceLineNo">028</span>import java.util.concurrent.ConcurrentHashMap;<a name="line.28"></a>
 <span class="sourceLineNo">029</span><a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.commons.lang.builder.HashCodeBuilder;<a name="line.30"></a>
+<span class="sourceLineNo">030</span>import org.apache.commons.lang3.builder.HashCodeBuilder;<a name="line.30"></a>
 <span class="sourceLineNo">031</span>import org.apache.commons.logging.Log;<a name="line.31"></a>
 <span class="sourceLineNo">032</span>import org.apache.commons.logging.LogFactory;<a name="line.32"></a>
 <span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.DoNotRetryIOException;<a name="line.33"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.SnapshotWithSize.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.SnapshotWithSize.html b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.SnapshotWithSize.html
index 9f9d5e7..da2b5e5 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.SnapshotWithSize.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.SnapshotWithSize.html
@@ -39,7 +39,7 @@
 <span class="sourceLineNo">031</span>import java.util.function.Predicate;<a name="line.31"></a>
 <span class="sourceLineNo">032</span>import java.util.stream.Collectors;<a name="line.32"></a>
 <span class="sourceLineNo">033</span><a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.commons.lang.builder.HashCodeBuilder;<a name="line.34"></a>
+<span class="sourceLineNo">034</span>import org.apache.commons.lang3.builder.HashCodeBuilder;<a name="line.34"></a>
 <span class="sourceLineNo">035</span>import org.apache.commons.logging.Log;<a name="line.35"></a>
 <span class="sourceLineNo">036</span>import org.apache.commons.logging.LogFactory;<a name="line.36"></a>
 <span class="sourceLineNo">037</span>import org.apache.hadoop.conf.Configuration;<a name="line.37"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.StoreFileReference.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.StoreFileReference.html b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.StoreFileReference.html
index 9f9d5e7..da2b5e5 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.StoreFileReference.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.StoreFileReference.html
@@ -39,7 +39,7 @@
 <span class="sourceLineNo">031</span>import java.util.function.Predicate;<a name="line.31"></a>
 <span class="sourceLineNo">032</span>import java.util.stream.Collectors;<a name="line.32"></a>
 <span class="sourceLineNo">033</span><a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.commons.lang.builder.HashCodeBuilder;<a name="line.34"></a>
+<span class="sourceLineNo">034</span>import org.apache.commons.lang3.builder.HashCodeBuilder;<a name="line.34"></a>
 <span class="sourceLineNo">035</span>import org.apache.commons.logging.Log;<a name="line.35"></a>
 <span class="sourceLineNo">036</span>import org.apache.commons.logging.LogFactory;<a name="line.36"></a>
 <span class="sourceLineNo">037</span>import org.apache.hadoop.conf.Configuration;<a name="line.37"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html
index 9f9d5e7..da2b5e5 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SnapshotQuotaObserverChore.html
@@ -39,7 +39,7 @@
 <span class="sourceLineNo">031</span>import java.util.function.Predicate;<a name="line.31"></a>
 <span class="sourceLineNo">032</span>import java.util.stream.Collectors;<a name="line.32"></a>
 <span class="sourceLineNo">033</span><a name="line.33"></a>
-<span class="sourceLineNo">034</span>import org.apache.commons.lang.builder.HashCodeBuilder;<a name="line.34"></a>
+<span class="sourceLineNo">034</span>import org.apache.commons.lang3.builder.HashCodeBuilder;<a name="line.34"></a>
 <span class="sourceLineNo">035</span>import org.apache.commons.logging.Log;<a name="line.35"></a>
 <span class="sourceLineNo">036</span>import org.apache.commons.logging.LogFactory;<a name="line.36"></a>
 <span class="sourceLineNo">037</span>import org.apache.hadoop.conf.Configuration;<a name="line.37"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.SpaceQuotaStatus.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.SpaceQuotaStatus.html b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.SpaceQuotaStatus.html
index b408e5f..33d0cb9 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.SpaceQuotaStatus.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.SpaceQuotaStatus.html
@@ -26,7 +26,7 @@
 <span class="sourceLineNo">018</span><a name="line.18"></a>
 <span class="sourceLineNo">019</span>import java.util.Objects;<a name="line.19"></a>
 <span class="sourceLineNo">020</span><a name="line.20"></a>
-<span class="sourceLineNo">021</span>import org.apache.commons.lang.builder.HashCodeBuilder;<a name="line.21"></a>
+<span class="sourceLineNo">021</span>import org.apache.commons.lang3.builder.HashCodeBuilder;<a name="line.21"></a>
 <span class="sourceLineNo">022</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.22"></a>
 <span class="sourceLineNo">023</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.23"></a>
 <span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos;<a name="line.24"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html
index b408e5f..33d0cb9 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/quotas/SpaceQuotaSnapshot.html
@@ -26,7 +26,7 @@
 <span class="sourceLineNo">018</span><a name="line.18"></a>
 <span class="sourceLineNo">019</span>import java.util.Objects;<a name="line.19"></a>
 <span class="sourceLineNo">020</span><a name="line.20"></a>
-<span class="sourceLineNo">021</span>import org.apache.commons.lang.builder.HashCodeBuilder;<a name="line.21"></a>
+<span class="sourceLineNo">021</span>import org.apache.commons.lang3.builder.HashCodeBuilder;<a name="line.21"></a>
 <span class="sourceLineNo">022</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.22"></a>
 <span class="sourceLineNo">023</span>import org.apache.hadoop.hbase.shaded.protobuf.ProtobufUtil;<a name="line.23"></a>
 <span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.shaded.protobuf.generated.QuotaProtos;<a name="line.24"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/CellSet.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/CellSet.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/CellSet.html
index 10cc879..2e707c2 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/CellSet.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/CellSet.html
@@ -26,175 +26,176 @@
 <span class="sourceLineNo">018</span> */<a name="line.18"></a>
 <span class="sourceLineNo">019</span>package org.apache.hadoop.hbase.regionserver;<a name="line.19"></a>
 <span class="sourceLineNo">020</span><a name="line.20"></a>
-<span class="sourceLineNo">021</span>import org.apache.hadoop.hbase.shaded.com.google.common.annotations.VisibleForTesting;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import java.util.Collection;<a name="line.22"></a>
-<span class="sourceLineNo">023</span>import java.util.Comparator;<a name="line.23"></a>
-<span class="sourceLineNo">024</span>import java.util.Iterator;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import java.util.NavigableSet;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import java.util.NavigableMap;<a name="line.26"></a>
-<span class="sourceLineNo">027</span>import java.util.SortedSet;<a name="line.27"></a>
-<span class="sourceLineNo">028</span>import java.util.concurrent.ConcurrentSkipListMap;<a name="line.28"></a>
-<span class="sourceLineNo">029</span><a name="line.29"></a>
-<span class="sourceLineNo">030</span>import org.apache.hadoop.hbase.Cell;<a name="line.30"></a>
-<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.CellComparator;<a name="line.31"></a>
-<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.32"></a>
-<span class="sourceLineNo">033</span><a name="line.33"></a>
-<span class="sourceLineNo">034</span>/**<a name="line.34"></a>
-<span class="sourceLineNo">035</span> * A {@link java.util.Set} of {@link Cell}s, where an add will overwrite the entry if already<a name="line.35"></a>
-<span class="sourceLineNo">036</span> * exists in the set.  The call to add returns true if no value in the backing map or false if<a name="line.36"></a>
-<span class="sourceLineNo">037</span> * there was an entry with same key (though value may be different).<a name="line.37"></a>
-<span class="sourceLineNo">038</span> * implementation is tolerant of concurrent get and set and won't throw<a name="line.38"></a>
-<span class="sourceLineNo">039</span> * ConcurrentModificationException when iterating.<a name="line.39"></a>
-<span class="sourceLineNo">040</span> */<a name="line.40"></a>
-<span class="sourceLineNo">041</span>@InterfaceAudience.Private<a name="line.41"></a>
-<span class="sourceLineNo">042</span>public class CellSet implements NavigableSet&lt;Cell&gt;  {<a name="line.42"></a>
-<span class="sourceLineNo">043</span>  // Implemented on top of a {@link java.util.concurrent.ConcurrentSkipListMap}<a name="line.43"></a>
-<span class="sourceLineNo">044</span>  // Differ from CSLS in one respect, where CSLS does "Adds the specified element to this set if it<a name="line.44"></a>
-<span class="sourceLineNo">045</span>  // is not already present.", this implementation "Adds the specified element to this set EVEN<a name="line.45"></a>
-<span class="sourceLineNo">046</span>  // if it is already present overwriting what was there previous".<a name="line.46"></a>
-<span class="sourceLineNo">047</span>  // Otherwise, has same attributes as ConcurrentSkipListSet<a name="line.47"></a>
-<span class="sourceLineNo">048</span>  private final NavigableMap&lt;Cell, Cell&gt; delegatee; ///<a name="line.48"></a>
-<span class="sourceLineNo">049</span><a name="line.49"></a>
-<span class="sourceLineNo">050</span>  CellSet(final CellComparator c) {<a name="line.50"></a>
-<span class="sourceLineNo">051</span>    this.delegatee = new ConcurrentSkipListMap&lt;&gt;(c);<a name="line.51"></a>
-<span class="sourceLineNo">052</span>  }<a name="line.52"></a>
-<span class="sourceLineNo">053</span><a name="line.53"></a>
-<span class="sourceLineNo">054</span>  CellSet(final NavigableMap&lt;Cell, Cell&gt; m) {<a name="line.54"></a>
-<span class="sourceLineNo">055</span>    this.delegatee = m;<a name="line.55"></a>
-<span class="sourceLineNo">056</span>  }<a name="line.56"></a>
-<span class="sourceLineNo">057</span><a name="line.57"></a>
-<span class="sourceLineNo">058</span>  @VisibleForTesting<a name="line.58"></a>
-<span class="sourceLineNo">059</span>  NavigableMap&lt;Cell, Cell&gt; getDelegatee() {<a name="line.59"></a>
-<span class="sourceLineNo">060</span>    return delegatee;<a name="line.60"></a>
-<span class="sourceLineNo">061</span>  }<a name="line.61"></a>
-<span class="sourceLineNo">062</span><a name="line.62"></a>
-<span class="sourceLineNo">063</span>  public Cell ceiling(Cell e) {<a name="line.63"></a>
-<span class="sourceLineNo">064</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.64"></a>
-<span class="sourceLineNo">065</span>  }<a name="line.65"></a>
-<span class="sourceLineNo">066</span><a name="line.66"></a>
-<span class="sourceLineNo">067</span>  public Iterator&lt;Cell&gt; descendingIterator() {<a name="line.67"></a>
-<span class="sourceLineNo">068</span>    return this.delegatee.descendingMap().values().iterator();<a name="line.68"></a>
-<span class="sourceLineNo">069</span>  }<a name="line.69"></a>
-<span class="sourceLineNo">070</span><a name="line.70"></a>
-<span class="sourceLineNo">071</span>  public NavigableSet&lt;Cell&gt; descendingSet() {<a name="line.71"></a>
-<span class="sourceLineNo">072</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.72"></a>
-<span class="sourceLineNo">073</span>  }<a name="line.73"></a>
-<span class="sourceLineNo">074</span><a name="line.74"></a>
-<span class="sourceLineNo">075</span>  public Cell floor(Cell e) {<a name="line.75"></a>
-<span class="sourceLineNo">076</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.76"></a>
-<span class="sourceLineNo">077</span>  }<a name="line.77"></a>
-<span class="sourceLineNo">078</span><a name="line.78"></a>
-<span class="sourceLineNo">079</span>  public SortedSet&lt;Cell&gt; headSet(final Cell toElement) {<a name="line.79"></a>
-<span class="sourceLineNo">080</span>    return headSet(toElement, false);<a name="line.80"></a>
-<span class="sourceLineNo">081</span>  }<a name="line.81"></a>
-<span class="sourceLineNo">082</span><a name="line.82"></a>
-<span class="sourceLineNo">083</span>  public NavigableSet&lt;Cell&gt; headSet(final Cell toElement,<a name="line.83"></a>
-<span class="sourceLineNo">084</span>      boolean inclusive) {<a name="line.84"></a>
-<span class="sourceLineNo">085</span>    return new CellSet(this.delegatee.headMap(toElement, inclusive));<a name="line.85"></a>
-<span class="sourceLineNo">086</span>  }<a name="line.86"></a>
-<span class="sourceLineNo">087</span><a name="line.87"></a>
-<span class="sourceLineNo">088</span>  public Cell higher(Cell e) {<a name="line.88"></a>
-<span class="sourceLineNo">089</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.89"></a>
-<span class="sourceLineNo">090</span>  }<a name="line.90"></a>
-<span class="sourceLineNo">091</span><a name="line.91"></a>
-<span class="sourceLineNo">092</span>  public Iterator&lt;Cell&gt; iterator() {<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    return this.delegatee.values().iterator();<a name="line.93"></a>
-<span class="sourceLineNo">094</span>  }<a name="line.94"></a>
-<span class="sourceLineNo">095</span><a name="line.95"></a>
-<span class="sourceLineNo">096</span>  public Cell lower(Cell e) {<a name="line.96"></a>
-<span class="sourceLineNo">097</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.97"></a>
-<span class="sourceLineNo">098</span>  }<a name="line.98"></a>
-<span class="sourceLineNo">099</span><a name="line.99"></a>
-<span class="sourceLineNo">100</span>  public Cell pollFirst() {<a name="line.100"></a>
-<span class="sourceLineNo">101</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.101"></a>
-<span class="sourceLineNo">102</span>  }<a name="line.102"></a>
-<span class="sourceLineNo">103</span><a name="line.103"></a>
-<span class="sourceLineNo">104</span>  public Cell pollLast() {<a name="line.104"></a>
-<span class="sourceLineNo">105</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.105"></a>
-<span class="sourceLineNo">106</span>  }<a name="line.106"></a>
-<span class="sourceLineNo">107</span><a name="line.107"></a>
-<span class="sourceLineNo">108</span>  public SortedSet&lt;Cell&gt; subSet(Cell fromElement, Cell toElement) {<a name="line.108"></a>
-<span class="sourceLineNo">109</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.109"></a>
-<span class="sourceLineNo">110</span>  }<a name="line.110"></a>
-<span class="sourceLineNo">111</span><a name="line.111"></a>
-<span class="sourceLineNo">112</span>  public NavigableSet&lt;Cell&gt; subSet(Cell fromElement,<a name="line.112"></a>
-<span class="sourceLineNo">113</span>      boolean fromInclusive, Cell toElement, boolean toInclusive) {<a name="line.113"></a>
-<span class="sourceLineNo">114</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.114"></a>
-<span class="sourceLineNo">115</span>  }<a name="line.115"></a>
-<span class="sourceLineNo">116</span><a name="line.116"></a>
-<span class="sourceLineNo">117</span>  public SortedSet&lt;Cell&gt; tailSet(Cell fromElement) {<a name="line.117"></a>
-<span class="sourceLineNo">118</span>    return tailSet(fromElement, true);<a name="line.118"></a>
-<span class="sourceLineNo">119</span>  }<a name="line.119"></a>
-<span class="sourceLineNo">120</span><a name="line.120"></a>
-<span class="sourceLineNo">121</span>  public NavigableSet&lt;Cell&gt; tailSet(Cell fromElement, boolean inclusive) {<a name="line.121"></a>
-<span class="sourceLineNo">122</span>    return new CellSet(this.delegatee.tailMap(fromElement, inclusive));<a name="line.122"></a>
-<span class="sourceLineNo">123</span>  }<a name="line.123"></a>
-<span class="sourceLineNo">124</span><a name="line.124"></a>
-<span class="sourceLineNo">125</span>  public Comparator&lt;? super Cell&gt; comparator() {<a name="line.125"></a>
-<span class="sourceLineNo">126</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.126"></a>
-<span class="sourceLineNo">127</span>  }<a name="line.127"></a>
-<span class="sourceLineNo">128</span><a name="line.128"></a>
-<span class="sourceLineNo">129</span>  public Cell first() {<a name="line.129"></a>
-<span class="sourceLineNo">130</span>    return this.delegatee.firstEntry().getValue();<a name="line.130"></a>
-<span class="sourceLineNo">131</span>  }<a name="line.131"></a>
-<span class="sourceLineNo">132</span><a name="line.132"></a>
-<span class="sourceLineNo">133</span>  public Cell last() {<a name="line.133"></a>
-<span class="sourceLineNo">134</span>    return this.delegatee.lastEntry().getValue();<a name="line.134"></a>
-<span class="sourceLineNo">135</span>  }<a name="line.135"></a>
-<span class="sourceLineNo">136</span><a name="line.136"></a>
-<span class="sourceLineNo">137</span>  public boolean add(Cell e) {<a name="line.137"></a>
-<span class="sourceLineNo">138</span>    return this.delegatee.put(e, e) == null;<a name="line.138"></a>
-<span class="sourceLineNo">139</span>  }<a name="line.139"></a>
-<span class="sourceLineNo">140</span><a name="line.140"></a>
-<span class="sourceLineNo">141</span>  public boolean addAll(Collection&lt;? extends Cell&gt; c) {<a name="line.141"></a>
-<span class="sourceLineNo">142</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.142"></a>
-<span class="sourceLineNo">143</span>  }<a name="line.143"></a>
-<span class="sourceLineNo">144</span><a name="line.144"></a>
-<span class="sourceLineNo">145</span>  public void clear() {<a name="line.145"></a>
-<span class="sourceLineNo">146</span>    this.delegatee.clear();<a name="line.146"></a>
-<span class="sourceLineNo">147</span>  }<a name="line.147"></a>
-<span class="sourceLineNo">148</span><a name="line.148"></a>
-<span class="sourceLineNo">149</span>  public boolean contains(Object o) {<a name="line.149"></a>
-<span class="sourceLineNo">150</span>    //noinspection SuspiciousMethodCalls<a name="line.150"></a>
-<span class="sourceLineNo">151</span>    return this.delegatee.containsKey(o);<a name="line.151"></a>
-<span class="sourceLineNo">152</span>  }<a name="line.152"></a>
-<span class="sourceLineNo">153</span><a name="line.153"></a>
-<span class="sourceLineNo">154</span>  public boolean containsAll(Collection&lt;?&gt; c) {<a name="line.154"></a>
-<span class="sourceLineNo">155</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.155"></a>
-<span class="sourceLineNo">156</span>  }<a name="line.156"></a>
-<span class="sourceLineNo">157</span><a name="line.157"></a>
-<span class="sourceLineNo">158</span>  public boolean isEmpty() {<a name="line.158"></a>
-<span class="sourceLineNo">159</span>    return this.delegatee.isEmpty();<a name="line.159"></a>
-<span class="sourceLineNo">160</span>  }<a name="line.160"></a>
-<span class="sourceLineNo">161</span><a name="line.161"></a>
-<span class="sourceLineNo">162</span>  public boolean remove(Object o) {<a name="line.162"></a>
-<span class="sourceLineNo">163</span>    return this.delegatee.remove(o) != null;<a name="line.163"></a>
-<span class="sourceLineNo">164</span>  }<a name="line.164"></a>
-<span class="sourceLineNo">165</span><a name="line.165"></a>
-<span class="sourceLineNo">166</span>  public boolean removeAll(Collection&lt;?&gt; c) {<a name="line.166"></a>
-<span class="sourceLineNo">167</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.167"></a>
-<span class="sourceLineNo">168</span>  }<a name="line.168"></a>
-<span class="sourceLineNo">169</span><a name="line.169"></a>
-<span class="sourceLineNo">170</span>  public boolean retainAll(Collection&lt;?&gt; c) {<a name="line.170"></a>
-<span class="sourceLineNo">171</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.171"></a>
-<span class="sourceLineNo">172</span>  }<a name="line.172"></a>
-<span class="sourceLineNo">173</span><a name="line.173"></a>
-<span class="sourceLineNo">174</span>  public Cell get(Cell kv) {<a name="line.174"></a>
-<span class="sourceLineNo">175</span>    return this.delegatee.get(kv);<a name="line.175"></a>
-<span class="sourceLineNo">176</span>  }<a name="line.176"></a>
-<span class="sourceLineNo">177</span><a name="line.177"></a>
-<span class="sourceLineNo">178</span>  public int size() {<a name="line.178"></a>
-<span class="sourceLineNo">179</span>    return this.delegatee.size();<a name="line.179"></a>
-<span class="sourceLineNo">180</span>  }<a name="line.180"></a>
-<span class="sourceLineNo">181</span><a name="line.181"></a>
-<span class="sourceLineNo">182</span>  public Object[] toArray() {<a name="line.182"></a>
-<span class="sourceLineNo">183</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.183"></a>
-<span class="sourceLineNo">184</span>  }<a name="line.184"></a>
-<span class="sourceLineNo">185</span><a name="line.185"></a>
-<span class="sourceLineNo">186</span>  public &lt;T&gt; T[] toArray(T[] a) {<a name="line.186"></a>
-<span class="sourceLineNo">187</span>    throw new UnsupportedOperationException("Not implemented");<a name="line.187"></a>
-<span class="sourceLineNo">188</span>  }<a name="line.188"></a>
-<span class="sourceLineNo">189</span>}<a name="line.189"></a>
+<span class="sourceLineNo">021</span>import org.apache.hadoop.hbase.HConstants;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import org.apache.hadoop.hbase.shaded.com.google.common.annotations.VisibleForTesting;<a name="line.22"></a>
+<span class="sourceLineNo">023</span>import java.util.Collection;<a name="line.23"></a>
+<span class="sourceLineNo">024</span>import java.util.Comparator;<a name="line.24"></a>
+<span class="sourceLineNo">025</span>import java.util.Iterator;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import java.util.NavigableSet;<a name="line.26"></a>
+<span class="sourceLineNo">027</span>import java.util.NavigableMap;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import java.util.SortedSet;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import java.util.concurrent.ConcurrentSkipListMap;<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span>import org.apache.hadoop.hbase.Cell;<a name="line.31"></a>
+<span class="sourceLineNo">032</span>import org.apache.hadoop.hbase.CellComparator;<a name="line.32"></a>
+<span class="sourceLineNo">033</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.33"></a>
+<span class="sourceLineNo">034</span><a name="line.34"></a>
+<span class="sourceLineNo">035</span>/**<a name="line.35"></a>
+<span class="sourceLineNo">036</span> * A {@link java.util.Set} of {@link Cell}s, where an add will overwrite the entry if already<a name="line.36"></a>
+<span class="sourceLineNo">037</span> * exists in the set.  The call to add returns true if no value in the backing map or false if<a name="line.37"></a>
+<span class="sourceLineNo">038</span> * there was an entry with same key (though value may be different).<a name="line.38"></a>
+<span class="sourceLineNo">039</span> * implementation is tolerant of concurrent get and set and won't throw<a name="line.39"></a>
+<span class="sourceLineNo">040</span> * ConcurrentModificationException when iterating.<a name="line.40"></a>
+<span class="sourceLineNo">041</span> */<a name="line.41"></a>
+<span class="sourceLineNo">042</span>@InterfaceAudience.Private<a name="line.42"></a>
+<span class="sourceLineNo">043</span>public class CellSet implements NavigableSet&lt;Cell&gt;  {<a name="line.43"></a>
+<span class="sourceLineNo">044</span>  // Implemented on top of a {@link java.util.concurrent.ConcurrentSkipListMap}<a name="line.44"></a>
+<span class="sourceLineNo">045</span>  // Differ from CSLS in one respect, where CSLS does "Adds the specified element to this set if it<a name="line.45"></a>
+<span class="sourceLineNo">046</span>  // is not already present.", this implementation "Adds the specified element to this set EVEN<a name="line.46"></a>
+<span class="sourceLineNo">047</span>  // if it is already present overwriting what was there previous".<a name="line.47"></a>
+<span class="sourceLineNo">048</span>  // Otherwise, has same attributes as ConcurrentSkipListSet<a name="line.48"></a>
+<span class="sourceLineNo">049</span>  private final NavigableMap&lt;Cell, Cell&gt; delegatee; ///<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span>  CellSet(final CellComparator c) {<a name="line.51"></a>
+<span class="sourceLineNo">052</span>    this.delegatee = new ConcurrentSkipListMap&lt;&gt;(c);<a name="line.52"></a>
+<span class="sourceLineNo">053</span>  }<a name="line.53"></a>
+<span class="sourceLineNo">054</span><a name="line.54"></a>
+<span class="sourceLineNo">055</span>  CellSet(final NavigableMap&lt;Cell, Cell&gt; m) {<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    this.delegatee = m;<a name="line.56"></a>
+<span class="sourceLineNo">057</span>  }<a name="line.57"></a>
+<span class="sourceLineNo">058</span><a name="line.58"></a>
+<span class="sourceLineNo">059</span>  @VisibleForTesting<a name="line.59"></a>
+<span class="sourceLineNo">060</span>  NavigableMap&lt;Cell, Cell&gt; getDelegatee() {<a name="line.60"></a>
+<span class="sourceLineNo">061</span>    return delegatee;<a name="line.61"></a>
+<span class="sourceLineNo">062</span>  }<a name="line.62"></a>
+<span class="sourceLineNo">063</span><a name="line.63"></a>
+<span class="sourceLineNo">064</span>  public Cell ceiling(Cell e) {<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.65"></a>
+<span class="sourceLineNo">066</span>  }<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span>  public Iterator&lt;Cell&gt; descendingIterator() {<a name="line.68"></a>
+<span class="sourceLineNo">069</span>    return this.delegatee.descendingMap().values().iterator();<a name="line.69"></a>
+<span class="sourceLineNo">070</span>  }<a name="line.70"></a>
+<span class="sourceLineNo">071</span><a name="line.71"></a>
+<span class="sourceLineNo">072</span>  public NavigableSet&lt;Cell&gt; descendingSet() {<a name="line.72"></a>
+<span class="sourceLineNo">073</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.73"></a>
+<span class="sourceLineNo">074</span>  }<a name="line.74"></a>
+<span class="sourceLineNo">075</span><a name="line.75"></a>
+<span class="sourceLineNo">076</span>  public Cell floor(Cell e) {<a name="line.76"></a>
+<span class="sourceLineNo">077</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.77"></a>
+<span class="sourceLineNo">078</span>  }<a name="line.78"></a>
+<span class="sourceLineNo">079</span><a name="line.79"></a>
+<span class="sourceLineNo">080</span>  public SortedSet&lt;Cell&gt; headSet(final Cell toElement) {<a name="line.80"></a>
+<span class="sourceLineNo">081</span>    return headSet(toElement, false);<a name="line.81"></a>
+<span class="sourceLineNo">082</span>  }<a name="line.82"></a>
+<span class="sourceLineNo">083</span><a name="line.83"></a>
+<span class="sourceLineNo">084</span>  public NavigableSet&lt;Cell&gt; headSet(final Cell toElement,<a name="line.84"></a>
+<span class="sourceLineNo">085</span>      boolean inclusive) {<a name="line.85"></a>
+<span class="sourceLineNo">086</span>    return new CellSet(this.delegatee.headMap(toElement, inclusive));<a name="line.86"></a>
+<span class="sourceLineNo">087</span>  }<a name="line.87"></a>
+<span class="sourceLineNo">088</span><a name="line.88"></a>
+<span class="sourceLineNo">089</span>  public Cell higher(Cell e) {<a name="line.89"></a>
+<span class="sourceLineNo">090</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.90"></a>
+<span class="sourceLineNo">091</span>  }<a name="line.91"></a>
+<span class="sourceLineNo">092</span><a name="line.92"></a>
+<span class="sourceLineNo">093</span>  public Iterator&lt;Cell&gt; iterator() {<a name="line.93"></a>
+<span class="sourceLineNo">094</span>    return this.delegatee.values().iterator();<a name="line.94"></a>
+<span class="sourceLineNo">095</span>  }<a name="line.95"></a>
+<span class="sourceLineNo">096</span><a name="line.96"></a>
+<span class="sourceLineNo">097</span>  public Cell lower(Cell e) {<a name="line.97"></a>
+<span class="sourceLineNo">098</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.98"></a>
+<span class="sourceLineNo">099</span>  }<a name="line.99"></a>
+<span class="sourceLineNo">100</span><a name="line.100"></a>
+<span class="sourceLineNo">101</span>  public Cell pollFirst() {<a name="line.101"></a>
+<span class="sourceLineNo">102</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.102"></a>
+<span class="sourceLineNo">103</span>  }<a name="line.103"></a>
+<span class="sourceLineNo">104</span><a name="line.104"></a>
+<span class="sourceLineNo">105</span>  public Cell pollLast() {<a name="line.105"></a>
+<span class="sourceLineNo">106</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.106"></a>
+<span class="sourceLineNo">107</span>  }<a name="line.107"></a>
+<span class="sourceLineNo">108</span><a name="line.108"></a>
+<span class="sourceLineNo">109</span>  public SortedSet&lt;Cell&gt; subSet(Cell fromElement, Cell toElement) {<a name="line.109"></a>
+<span class="sourceLineNo">110</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.110"></a>
+<span class="sourceLineNo">111</span>  }<a name="line.111"></a>
+<span class="sourceLineNo">112</span><a name="line.112"></a>
+<span class="sourceLineNo">113</span>  public NavigableSet&lt;Cell&gt; subSet(Cell fromElement,<a name="line.113"></a>
+<span class="sourceLineNo">114</span>      boolean fromInclusive, Cell toElement, boolean toInclusive) {<a name="line.114"></a>
+<span class="sourceLineNo">115</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.115"></a>
+<span class="sourceLineNo">116</span>  }<a name="line.116"></a>
+<span class="sourceLineNo">117</span><a name="line.117"></a>
+<span class="sourceLineNo">118</span>  public SortedSet&lt;Cell&gt; tailSet(Cell fromElement) {<a name="line.118"></a>
+<span class="sourceLineNo">119</span>    return tailSet(fromElement, true);<a name="line.119"></a>
+<span class="sourceLineNo">120</span>  }<a name="line.120"></a>
+<span class="sourceLineNo">121</span><a name="line.121"></a>
+<span class="sourceLineNo">122</span>  public NavigableSet&lt;Cell&gt; tailSet(Cell fromElement, boolean inclusive) {<a name="line.122"></a>
+<span class="sourceLineNo">123</span>    return new CellSet(this.delegatee.tailMap(fromElement, inclusive));<a name="line.123"></a>
+<span class="sourceLineNo">124</span>  }<a name="line.124"></a>
+<span class="sourceLineNo">125</span><a name="line.125"></a>
+<span class="sourceLineNo">126</span>  public Comparator&lt;? super Cell&gt; comparator() {<a name="line.126"></a>
+<span class="sourceLineNo">127</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.127"></a>
+<span class="sourceLineNo">128</span>  }<a name="line.128"></a>
+<span class="sourceLineNo">129</span><a name="line.129"></a>
+<span class="sourceLineNo">130</span>  public Cell first() {<a name="line.130"></a>
+<span class="sourceLineNo">131</span>    return this.delegatee.firstEntry().getValue();<a name="line.131"></a>
+<span class="sourceLineNo">132</span>  }<a name="line.132"></a>
+<span class="sourceLineNo">133</span><a name="line.133"></a>
+<span class="sourceLineNo">134</span>  public Cell last() {<a name="line.134"></a>
+<span class="sourceLineNo">135</span>    return this.delegatee.lastEntry().getValue();<a name="line.135"></a>
+<span class="sourceLineNo">136</span>  }<a name="line.136"></a>
+<span class="sourceLineNo">137</span><a name="line.137"></a>
+<span class="sourceLineNo">138</span>  public boolean add(Cell e) {<a name="line.138"></a>
+<span class="sourceLineNo">139</span>    return this.delegatee.put(e, e) == null;<a name="line.139"></a>
+<span class="sourceLineNo">140</span>  }<a name="line.140"></a>
+<span class="sourceLineNo">141</span><a name="line.141"></a>
+<span class="sourceLineNo">142</span>  public boolean addAll(Collection&lt;? extends Cell&gt; c) {<a name="line.142"></a>
+<span class="sourceLineNo">143</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.143"></a>
+<span class="sourceLineNo">144</span>  }<a name="line.144"></a>
+<span class="sourceLineNo">145</span><a name="line.145"></a>
+<span class="sourceLineNo">146</span>  public void clear() {<a name="line.146"></a>
+<span class="sourceLineNo">147</span>    this.delegatee.clear();<a name="line.147"></a>
+<span class="sourceLineNo">148</span>  }<a name="line.148"></a>
+<span class="sourceLineNo">149</span><a name="line.149"></a>
+<span class="sourceLineNo">150</span>  public boolean contains(Object o) {<a name="line.150"></a>
+<span class="sourceLineNo">151</span>    //noinspection SuspiciousMethodCalls<a name="line.151"></a>
+<span class="sourceLineNo">152</span>    return this.delegatee.containsKey(o);<a name="line.152"></a>
+<span class="sourceLineNo">153</span>  }<a name="line.153"></a>
+<span class="sourceLineNo">154</span><a name="line.154"></a>
+<span class="sourceLineNo">155</span>  public boolean containsAll(Collection&lt;?&gt; c) {<a name="line.155"></a>
+<span class="sourceLineNo">156</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.156"></a>
+<span class="sourceLineNo">157</span>  }<a name="line.157"></a>
+<span class="sourceLineNo">158</span><a name="line.158"></a>
+<span class="sourceLineNo">159</span>  public boolean isEmpty() {<a name="line.159"></a>
+<span class="sourceLineNo">160</span>    return this.delegatee.isEmpty();<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>  public boolean remove(Object o) {<a name="line.163"></a>
+<span class="sourceLineNo">164</span>    return this.delegatee.remove(o) != null;<a name="line.164"></a>
+<span class="sourceLineNo">165</span>  }<a name="line.165"></a>
+<span class="sourceLineNo">166</span><a name="line.166"></a>
+<span class="sourceLineNo">167</span>  public boolean removeAll(Collection&lt;?&gt; c) {<a name="line.167"></a>
+<span class="sourceLineNo">168</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.168"></a>
+<span class="sourceLineNo">169</span>  }<a name="line.169"></a>
+<span class="sourceLineNo">170</span><a name="line.170"></a>
+<span class="sourceLineNo">171</span>  public boolean retainAll(Collection&lt;?&gt; c) {<a name="line.171"></a>
+<span class="sourceLineNo">172</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.172"></a>
+<span class="sourceLineNo">173</span>  }<a name="line.173"></a>
+<span class="sourceLineNo">174</span><a name="line.174"></a>
+<span class="sourceLineNo">175</span>  public Cell get(Cell kv) {<a name="line.175"></a>
+<span class="sourceLineNo">176</span>    return this.delegatee.get(kv);<a name="line.176"></a>
+<span class="sourceLineNo">177</span>  }<a name="line.177"></a>
+<span class="sourceLineNo">178</span><a name="line.178"></a>
+<span class="sourceLineNo">179</span>  public int size() {<a name="line.179"></a>
+<span class="sourceLineNo">180</span>    return this.delegatee.size();<a name="line.180"></a>
+<span class="sourceLineNo">181</span>  }<a name="line.181"></a>
+<span class="sourceLineNo">182</span><a name="line.182"></a>
+<span class="sourceLineNo">183</span>  public Object[] toArray() {<a name="line.183"></a>
+<span class="sourceLineNo">184</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.184"></a>
+<span class="sourceLineNo">185</span>  }<a name="line.185"></a>
+<span class="sourceLineNo">186</span><a name="line.186"></a>
+<span class="sourceLineNo">187</span>  public &lt;T&gt; T[] toArray(T[] a) {<a name="line.187"></a>
+<span class="sourceLineNo">188</span>    throw new UnsupportedOperationException(HConstants.NOT_IMPLEMENTED);<a name="line.188"></a>
+<span class="sourceLineNo">189</span>  }<a name="line.189"></a>
+<span class="sourceLineNo">190</span>}<a name="line.190"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/CompositeImmutableSegment.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/CompositeImmutableSegment.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/CompositeImmutableSegment.html
index 29f9cf2..2795ea4 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/CompositeImmutableSegment.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/CompositeImmutableSegment.html
@@ -26,12 +26,12 @@
 <span class="sourceLineNo">018</span> */<a name="line.18"></a>
 <span class="sourceLineNo">019</span>package org.apache.hadoop.hbase.regionserver;<a name="line.19"></a>
 <span class="sourceLineNo">020</span><a name="line.20"></a>
-<span class="sourceLineNo">021</span>import org.apache.hadoop.hbase.shaded.com.google.common.annotations.VisibleForTesting;<a name="line.21"></a>
-<span class="sourceLineNo">022</span>import org.apache.commons.logging.Log;<a name="line.22"></a>
+<span class="sourceLineNo">021</span>import org.apache.commons.logging.Log;<a name="line.21"></a>
+<span class="sourceLineNo">022</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.22"></a>
 <span class="sourceLineNo">023</span>import org.apache.hadoop.hbase.Cell;<a name="line.23"></a>
 <span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.CellComparator;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.client.Scan;<a name="line.26"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.io.TimeRange;<a name="line.25"></a>
+<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.shaded.com.google.common.annotations.VisibleForTesting;<a name="line.26"></a>
 <span class="sourceLineNo">027</span><a name="line.27"></a>
 <span class="sourceLineNo">028</span>import java.util.ArrayList;<a name="line.28"></a>
 <span class="sourceLineNo">029</span>import java.util.Iterator;<a name="line.29"></a>
@@ -130,7 +130,7 @@
 <span class="sourceLineNo">122</span>  }<a name="line.122"></a>
 <span class="sourceLineNo">123</span><a name="line.123"></a>
 <span class="sourceLineNo">124</span>  @Override<a name="line.124"></a>
-<span class="sourceLineNo">125</span>  public boolean shouldSeek(Scan scan, long oldestUnexpiredTS){<a name="line.125"></a>
+<span class="sourceLineNo">125</span>  public boolean shouldSeek(TimeRange tr, long oldestUnexpiredTS){<a name="line.125"></a>
 <span class="sourceLineNo">126</span>    throw new IllegalStateException("Not supported by CompositeImmutableScanner");<a name="line.126"></a>
 <span class="sourceLineNo">127</span>  }<a name="line.127"></a>
 <span class="sourceLineNo">128</span><a name="line.128"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.CompactionChecker.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.CompactionChecker.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.CompactionChecker.html
index c045747..c31d5e3 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.CompactionChecker.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.CompactionChecker.html
@@ -64,8 +64,8 @@
 <span class="sourceLineNo">056</span>import javax.management.ObjectName;<a name="line.56"></a>
 <span class="sourceLineNo">057</span>import javax.servlet.http.HttpServlet;<a name="line.57"></a>
 <span class="sourceLineNo">058</span><a name="line.58"></a>
-<span class="sourceLineNo">059</span>import org.apache.commons.lang.SystemUtils;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>import org.apache.commons.lang.math.RandomUtils;<a name="line.60"></a>
+<span class="sourceLineNo">059</span>import org.apache.commons.lang3.SystemUtils;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>import org.apache.commons.lang3.RandomUtils;<a name="line.60"></a>
 <span class="sourceLineNo">061</span>import org.apache.commons.logging.Log;<a name="line.61"></a>
 <span class="sourceLineNo">062</span>import org.apache.commons.logging.LogFactory;<a name="line.62"></a>
 <span class="sourceLineNo">063</span>import org.apache.hadoop.conf.Configuration;<a name="line.63"></a>
@@ -1829,7 +1829,7 @@
 <span class="sourceLineNo">1821</span>        if (((HRegion)r).shouldFlush(whyFlush)) {<a name="line.1821"></a>
 <span class="sourceLineNo">1822</span>          FlushRequester requester = server.getFlushRequester();<a name="line.1822"></a>
 <span class="sourceLineNo">1823</span>          if (requester != null) {<a name="line.1823"></a>
-<span class="sourceLineNo">1824</span>            long randomDelay = RandomUtils.nextInt(RANGE_OF_DELAY) + MIN_DELAY_TIME;<a name="line.1824"></a>
+<span class="sourceLineNo">1824</span>            long randomDelay = RandomUtils.nextInt(0, RANGE_OF_DELAY) + MIN_DELAY_TIME;<a name="line.1824"></a>
 <span class="sourceLineNo">1825</span>            LOG.info(getName() + " requesting flush of " +<a name="line.1825"></a>
 <span class="sourceLineNo">1826</span>              r.getRegionInfo().getRegionNameAsString() + " because " +<a name="line.1826"></a>
 <span class="sourceLineNo">1827</span>              whyFlush.toString() +<a name="line.1827"></a>
@@ -3515,7 +3515,7 @@
 <span class="sourceLineNo">3507</span><a name="line.3507"></a>
 <span class="sourceLineNo">3508</span>  private boolean isHealthCheckerConfigured() {<a name="line.3508"></a>
 <span class="sourceLineNo">3509</span>    String healthScriptLocation = this.conf.get(HConstants.HEALTH_SCRIPT_LOC);<a name="line.3509"></a>
-<span class="sourceLineNo">3510</span>    return org.apache.commons.lang.StringUtils.isNotBlank(healthScriptLocation);<a name="line.3510"></a>
+<span class="sourceLineNo">3510</span>    return org.apache.commons.lang3.StringUtils.isNotBlank(healthScriptLocation);<a name="line.3510"></a>
 <span class="sourceLineNo">3511</span>  }<a name="line.3511"></a>
 <span class="sourceLineNo">3512</span><a name="line.3512"></a>
 <span class="sourceLineNo">3513</span>  /**<a name="line.3513"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionInfo.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionInfo.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionInfo.html
index c045747..c31d5e3 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionInfo.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionInfo.html
@@ -64,8 +64,8 @@
 <span class="sourceLineNo">056</span>import javax.management.ObjectName;<a name="line.56"></a>
 <span class="sourceLineNo">057</span>import javax.servlet.http.HttpServlet;<a name="line.57"></a>
 <span class="sourceLineNo">058</span><a name="line.58"></a>
-<span class="sourceLineNo">059</span>import org.apache.commons.lang.SystemUtils;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>import org.apache.commons.lang.math.RandomUtils;<a name="line.60"></a>
+<span class="sourceLineNo">059</span>import org.apache.commons.lang3.SystemUtils;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>import org.apache.commons.lang3.RandomUtils;<a name="line.60"></a>
 <span class="sourceLineNo">061</span>import org.apache.commons.logging.Log;<a name="line.61"></a>
 <span class="sourceLineNo">062</span>import org.apache.commons.logging.LogFactory;<a name="line.62"></a>
 <span class="sourceLineNo">063</span>import org.apache.hadoop.conf.Configuration;<a name="line.63"></a>
@@ -1829,7 +1829,7 @@
 <span class="sourceLineNo">1821</span>        if (((HRegion)r).shouldFlush(whyFlush)) {<a name="line.1821"></a>
 <span class="sourceLineNo">1822</span>          FlushRequester requester = server.getFlushRequester();<a name="line.1822"></a>
 <span class="sourceLineNo">1823</span>          if (requester != null) {<a name="line.1823"></a>
-<span class="sourceLineNo">1824</span>            long randomDelay = RandomUtils.nextInt(RANGE_OF_DELAY) + MIN_DELAY_TIME;<a name="line.1824"></a>
+<span class="sourceLineNo">1824</span>            long randomDelay = RandomUtils.nextInt(0, RANGE_OF_DELAY) + MIN_DELAY_TIME;<a name="line.1824"></a>
 <span class="sourceLineNo">1825</span>            LOG.info(getName() + " requesting flush of " +<a name="line.1825"></a>
 <span class="sourceLineNo">1826</span>              r.getRegionInfo().getRegionNameAsString() + " because " +<a name="line.1826"></a>
 <span class="sourceLineNo">1827</span>              whyFlush.toString() +<a name="line.1827"></a>
@@ -3515,7 +3515,7 @@
 <span class="sourceLineNo">3507</span><a name="line.3507"></a>
 <span class="sourceLineNo">3508</span>  private boolean isHealthCheckerConfigured() {<a name="line.3508"></a>
 <span class="sourceLineNo">3509</span>    String healthScriptLocation = this.conf.get(HConstants.HEALTH_SCRIPT_LOC);<a name="line.3509"></a>
-<span class="sourceLineNo">3510</span>    return org.apache.commons.lang.StringUtils.isNotBlank(healthScriptLocation);<a name="line.3510"></a>
+<span class="sourceLineNo">3510</span>    return org.apache.commons.lang3.StringUtils.isNotBlank(healthScriptLocation);<a name="line.3510"></a>
 <span class="sourceLineNo">3511</span>  }<a name="line.3511"></a>
 <span class="sourceLineNo">3512</span><a name="line.3512"></a>
 <span class="sourceLineNo">3513</span>  /**<a name="line.3513"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionsCleaner.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionsCleaner.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionsCleaner.html
index c045747..c31d5e3 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionsCleaner.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.MovedRegionsCleaner.html
@@ -64,8 +64,8 @@
 <span class="sourceLineNo">056</span>import javax.management.ObjectName;<a name="line.56"></a>
 <span class="sourceLineNo">057</span>import javax.servlet.http.HttpServlet;<a name="line.57"></a>
 <span class="sourceLineNo">058</span><a name="line.58"></a>
-<span class="sourceLineNo">059</span>import org.apache.commons.lang.SystemUtils;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>import org.apache.commons.lang.math.RandomUtils;<a name="line.60"></a>
+<span class="sourceLineNo">059</span>import org.apache.commons.lang3.SystemUtils;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>import org.apache.commons.lang3.RandomUtils;<a name="line.60"></a>
 <span class="sourceLineNo">061</span>import org.apache.commons.logging.Log;<a name="line.61"></a>
 <span class="sourceLineNo">062</span>import org.apache.commons.logging.LogFactory;<a name="line.62"></a>
 <span class="sourceLineNo">063</span>import org.apache.hadoop.conf.Configuration;<a name="line.63"></a>
@@ -1829,7 +1829,7 @@
 <span class="sourceLineNo">1821</span>        if (((HRegion)r).shouldFlush(whyFlush)) {<a name="line.1821"></a>
 <span class="sourceLineNo">1822</span>          FlushRequester requester = server.getFlushRequester();<a name="line.1822"></a>
 <span class="sourceLineNo">1823</span>          if (requester != null) {<a name="line.1823"></a>
-<span class="sourceLineNo">1824</span>            long randomDelay = RandomUtils.nextInt(RANGE_OF_DELAY) + MIN_DELAY_TIME;<a name="line.1824"></a>
+<span class="sourceLineNo">1824</span>            long randomDelay = RandomUtils.nextInt(0, RANGE_OF_DELAY) + MIN_DELAY_TIME;<a name="line.1824"></a>
 <span class="sourceLineNo">1825</span>            LOG.info(getName() + " requesting flush of " +<a name="line.1825"></a>
 <span class="sourceLineNo">1826</span>              r.getRegionInfo().getRegionNameAsString() + " because " +<a name="line.1826"></a>
 <span class="sourceLineNo">1827</span>              whyFlush.toString() +<a name="line.1827"></a>
@@ -3515,7 +3515,7 @@
 <span class="sourceLineNo">3507</span><a name="line.3507"></a>
 <span class="sourceLineNo">3508</span>  private boolean isHealthCheckerConfigured() {<a name="line.3508"></a>
 <span class="sourceLineNo">3509</span>    String healthScriptLocation = this.conf.get(HConstants.HEALTH_SCRIPT_LOC);<a name="line.3509"></a>
-<span class="sourceLineNo">3510</span>    return org.apache.commons.lang.StringUtils.isNotBlank(healthScriptLocation);<a name="line.3510"></a>
+<span class="sourceLineNo">3510</span>    return org.apache.commons.lang3.StringUtils.isNotBlank(healthScriptLocation);<a name="line.3510"></a>
 <span class="sourceLineNo">3511</span>  }<a name="line.3511"></a>
 <span class="sourceLineNo">3512</span><a name="line.3512"></a>
 <span class="sourceLineNo">3513</span>  /**<a name="line.3513"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.PeriodicMemstoreFlusher.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.PeriodicMemstoreFlusher.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.PeriodicMemstoreFlusher.html
index c045747..c31d5e3 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.PeriodicMemstoreFlusher.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.PeriodicMemstoreFlusher.html
@@ -64,8 +64,8 @@
 <span class="sourceLineNo">056</span>import javax.management.ObjectName;<a name="line.56"></a>
 <span class="sourceLineNo">057</span>import javax.servlet.http.HttpServlet;<a name="line.57"></a>
 <span class="sourceLineNo">058</span><a name="line.58"></a>
-<span class="sourceLineNo">059</span>import org.apache.commons.lang.SystemUtils;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>import org.apache.commons.lang.math.RandomUtils;<a name="line.60"></a>
+<span class="sourceLineNo">059</span>import org.apache.commons.lang3.SystemUtils;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>import org.apache.commons.lang3.RandomUtils;<a name="line.60"></a>
 <span class="sourceLineNo">061</span>import org.apache.commons.logging.Log;<a name="line.61"></a>
 <span class="sourceLineNo">062</span>import org.apache.commons.logging.LogFactory;<a name="line.62"></a>
 <span class="sourceLineNo">063</span>import org.apache.hadoop.conf.Configuration;<a name="line.63"></a>
@@ -1829,7 +1829,7 @@
 <span class="sourceLineNo">1821</span>        if (((HRegion)r).shouldFlush(whyFlush)) {<a name="line.1821"></a>
 <span class="sourceLineNo">1822</span>          FlushRequester requester = server.getFlushRequester();<a name="line.1822"></a>
 <span class="sourceLineNo">1823</span>          if (requester != null) {<a name="line.1823"></a>
-<span class="sourceLineNo">1824</span>            long randomDelay = RandomUtils.nextInt(RANGE_OF_DELAY) + MIN_DELAY_TIME;<a name="line.1824"></a>
+<span class="sourceLineNo">1824</span>            long randomDelay = RandomUtils.nextInt(0, RANGE_OF_DELAY) + MIN_DELAY_TIME;<a name="line.1824"></a>
 <span class="sourceLineNo">1825</span>            LOG.info(getName() + " requesting flush of " +<a name="line.1825"></a>
 <span class="sourceLineNo">1826</span>              r.getRegionInfo().getRegionNameAsString() + " because " +<a name="line.1826"></a>
 <span class="sourceLineNo">1827</span>              whyFlush.toString() +<a name="line.1827"></a>
@@ -3515,7 +3515,7 @@
 <span class="sourceLineNo">3507</span><a name="line.3507"></a>
 <span class="sourceLineNo">3508</span>  private boolean isHealthCheckerConfigured() {<a name="line.3508"></a>
 <span class="sourceLineNo">3509</span>    String healthScriptLocation = this.conf.get(HConstants.HEALTH_SCRIPT_LOC);<a name="line.3509"></a>
-<span class="sourceLineNo">3510</span>    return org.apache.commons.lang.StringUtils.isNotBlank(healthScriptLocation);<a name="line.3510"></a>
+<span class="sourceLineNo">3510</span>    return org.apache.commons.lang3.StringUtils.isNotBlank(healthScriptLocation);<a name="line.3510"></a>
 <span class="sourceLineNo">3511</span>  }<a name="line.3511"></a>
 <span class="sourceLineNo">3512</span><a name="line.3512"></a>
 <span class="sourceLineNo">3513</span>  /**<a name="line.3513"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.html
index c045747..c31d5e3 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/HRegionServer.html
@@ -64,8 +64,8 @@
 <span class="sourceLineNo">056</span>import javax.management.ObjectName;<a name="line.56"></a>
 <span class="sourceLineNo">057</span>import javax.servlet.http.HttpServlet;<a name="line.57"></a>
 <span class="sourceLineNo">058</span><a name="line.58"></a>
-<span class="sourceLineNo">059</span>import org.apache.commons.lang.SystemUtils;<a name="line.59"></a>
-<span class="sourceLineNo">060</span>import org.apache.commons.lang.math.RandomUtils;<a name="line.60"></a>
+<span class="sourceLineNo">059</span>import org.apache.commons.lang3.SystemUtils;<a name="line.59"></a>
+<span class="sourceLineNo">060</span>import org.apache.commons.lang3.RandomUtils;<a name="line.60"></a>
 <span class="sourceLineNo">061</span>import org.apache.commons.logging.Log;<a name="line.61"></a>
 <span class="sourceLineNo">062</span>import org.apache.commons.logging.LogFactory;<a name="line.62"></a>
 <span class="sourceLineNo">063</span>import org.apache.hadoop.conf.Configuration;<a name="line.63"></a>
@@ -1829,7 +1829,7 @@
 <span class="sourceLineNo">1821</span>        if (((HRegion)r).shouldFlush(whyFlush)) {<a name="line.1821"></a>
 <span class="sourceLineNo">1822</span>          FlushRequester requester = server.getFlushRequester();<a name="line.1822"></a>
 <span class="sourceLineNo">1823</span>          if (requester != null) {<a name="line.1823"></a>
-<span class="sourceLineNo">1824</span>            long randomDelay = RandomUtils.nextInt(RANGE_OF_DELAY) + MIN_DELAY_TIME;<a name="line.1824"></a>
+<span class="sourceLineNo">1824</span>            long randomDelay = RandomUtils.nextInt(0, RANGE_OF_DELAY) + MIN_DELAY_TIME;<a name="line.1824"></a>
 <span class="sourceLineNo">1825</span>            LOG.info(getName() + " requesting flush of " +<a name="line.1825"></a>
 <span class="sourceLineNo">1826</span>              r.getRegionInfo().getRegionNameAsString() + " because " +<a name="line.1826"></a>
 <span class="sourceLineNo">1827</span>              whyFlush.toString() +<a name="line.1827"></a>
@@ -3515,7 +3515,7 @@
 <span class="sourceLineNo">3507</span><a name="line.3507"></a>
 <span class="sourceLineNo">3508</span>  private boolean isHealthCheckerConfigured() {<a name="line.3508"></a>
 <span class="sourceLineNo">3509</span>    String healthScriptLocation = this.conf.get(HConstants.HEALTH_SCRIPT_LOC);<a name="line.3509"></a>
-<span class="sourceLineNo">3510</span>    return org.apache.commons.lang.StringUtils.isNotBlank(healthScriptLocation);<a name="line.3510"></a>
+<span class="sourceLineNo">3510</span>    return org.apache.commons.lang3.StringUtils.isNotBlank(healthScriptLocation);<a name="line.3510"></a>
 <span class="sourceLineNo">3511</span>  }<a name="line.3511"></a>
 <span class="sourceLineNo">3512</span><a name="line.3512"></a>
 <span class="sourceLineNo">3513</span>  /**<a name="line.3513"></a>

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/e2f20c83/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/ImmutableSegment.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/ImmutableSegment.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/ImmutableSegment.html
index b7eb87c..c65021a 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/ImmutableSegment.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/ImmutableSegment.html
@@ -30,82 +30,81 @@
 <span class="sourceLineNo">022</span>import org.apache.hadoop.hbase.CellComparator;<a name="line.22"></a>
 <span class="sourceLineNo">023</span>import org.apache.hadoop.hbase.classification.InterfaceAudience;<a name="line.23"></a>
 <span class="sourceLineNo">024</span>import org.apache.hadoop.hbase.util.ClassSize;<a name="line.24"></a>
-<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.client.Scan;<a name="line.25"></a>
-<span class="sourceLineNo">026</span>import org.apache.hadoop.hbase.io.TimeRange;<a name="line.26"></a>
-<span class="sourceLineNo">027</span><a name="line.27"></a>
-<span class="sourceLineNo">028</span>import java.util.ArrayList;<a name="line.28"></a>
-<span class="sourceLineNo">029</span>import java.util.Arrays;<a name="line.29"></a>
-<span class="sourceLineNo">030</span>import java.util.List;<a name="line.30"></a>
-<span class="sourceLineNo">031</span><a name="line.31"></a>
-<span class="sourceLineNo">032</span>/**<a name="line.32"></a>
-<span class="sourceLineNo">033</span> * ImmutableSegment is an abstract class that extends the API supported by a {@link Segment},<a name="line.33"></a>
-<span class="sourceLineNo">034</span> * and is not needed for a {@link MutableSegment}.<a name="line.34"></a>
-<span class="sourceLineNo">035</span> */<a name="line.35"></a>
-<span class="sourceLineNo">036</span>@InterfaceAudience.Private<a name="line.36"></a>
-<span class="sourceLineNo">037</span>public abstract class ImmutableSegment extends Segment {<a name="line.37"></a>
-<span class="sourceLineNo">038</span><a name="line.38"></a>
-<span class="sourceLineNo">039</span>  public static final long DEEP_OVERHEAD = Segment.DEEP_OVERHEAD<a name="line.39"></a>
-<span class="sourceLineNo">040</span>      + ClassSize.align(ClassSize.REFERENCE // Referent to timeRange<a name="line.40"></a>
-<span class="sourceLineNo">041</span>      + ClassSize.TIMERANGE);<a name="line.41"></a>
-<span class="sourceLineNo">042</span><a name="line.42"></a>
-<span class="sourceLineNo">043</span>  /**<a name="line.43"></a>
-<span class="sourceLineNo">044</span>   * This is an immutable segment so use the read-only TimeRange rather than the heavy-weight<a name="line.44"></a>
-<span class="sourceLineNo">045</span>   * TimeRangeTracker with all its synchronization when doing time range stuff.<a name="line.45"></a>
-<span class="sourceLineNo">046</span>   */<a name="line.46"></a>
-<span class="sourceLineNo">047</span>  private final TimeRange timeRange;<a name="line.47"></a>
-<span class="sourceLineNo">048</span><a name="line.48"></a>
-<span class="sourceLineNo">049</span>  // each sub-type of immutable segment knows whether it is flat or not<a name="line.49"></a>
-<span class="sourceLineNo">050</span>  protected abstract boolean canBeFlattened();<a name="line.50"></a>
-<span class="sourceLineNo">051</span><a name="line.51"></a>
-<span class="sourceLineNo">052</span>  /////////////////////  CONSTRUCTORS  /////////////////////<a name="line.52"></a>
-<span class="sourceLineNo">053</span>  /**------------------------------------------------------------------------<a name="line.53"></a>
-<span class="sourceLineNo">054</span>   * Empty C-tor to be used only for CompositeImmutableSegment<a name="line.54"></a>
-<span class="sourceLineNo">055</span>   */<a name="line.55"></a>
-<span class="sourceLineNo">056</span>  protected ImmutableSegment(CellComparator comparator) {<a name="line.56"></a>
-<span class="sourceLineNo">057</span>    super(comparator);<a name="line.57"></a>
-<span class="sourceLineNo">058</span>    this.timeRange = null;<a name="line.58"></a>
-<span class="sourceLineNo">059</span>  }<a name="line.59"></a>
-<span class="sourceLineNo">060</span><a name="line.60"></a>
-<span class="sourceLineNo">061</span>  /**------------------------------------------------------------------------<a name="line.61"></a>
-<span class="sourceLineNo">062</span>   * C-tor to be used to build the derived classes<a name="line.62"></a>
-<span class="sourceLineNo">063</span>   */<a name="line.63"></a>
-<span class="sourceLineNo">064</span>  protected ImmutableSegment(CellSet cs, CellComparator comparator, MemStoreLAB memStoreLAB) {<a name="line.64"></a>
-<span class="sourceLineNo">065</span>    super(cs, comparator, memStoreLAB);<a name="line.65"></a>
-<span class="sourceLineNo">066</span>    this.timeRange = this.timeRangeTracker == null ? null : this.timeRangeTracker.toTimeRange();<a name="line.66"></a>
-<span class="sourceLineNo">067</span>  }<a name="line.67"></a>
-<span class="sourceLineNo">068</span><a name="line.68"></a>
-<span class="sourceLineNo">069</span>  /**------------------------------------------------------------------------<a name="line.69"></a>
-<span class="sourceLineNo">070</span>   * Copy C-tor to be used when new CSLMImmutableSegment (derived) is being built from a Mutable one.<a name="line.70"></a>
-<span class="sourceLineNo">071</span>   * This C-tor should be used when active MutableSegment is pushed into the compaction<a name="line.71"></a>
-<span class="sourceLineNo">072</span>   * pipeline and becomes an ImmutableSegment.<a name="line.72"></a>
-<span class="sourceLineNo">073</span>   */<a name="line.73"></a>
-<span class="sourceLineNo">074</span>  protected ImmutableSegment(Segment segment) {<a name="line.74"></a>
-<span class="sourceLineNo">075</span>    super(segment);<a name="line.75"></a>
-<span class="sourceLineNo">076</span>    this.timeRange = this.timeRangeTracker == null ? null : this.timeRangeTracker.toTimeRange();<a name="line.76"></a>
-<span class="sourceLineNo">077</span>  }<a name="line.77"></a>
+<span class="sourceLineNo">025</span>import org.apache.hadoop.hbase.io.TimeRange;<a name="line.25"></a>
+<span class="sourceLineNo">026</span><a name="line.26"></a>
+<span class="sourceLineNo">027</span>import java.util.ArrayList;<a name="line.27"></a>
+<span class="sourceLineNo">028</span>import java.util.Arrays;<a name="line.28"></a>
+<span class="sourceLineNo">029</span>import java.util.List;<a name="line.29"></a>
+<span class="sourceLineNo">030</span><a name="line.30"></a>
+<span class="sourceLineNo">031</span>/**<a name="line.31"></a>
+<span class="sourceLineNo">032</span> * ImmutableSegment is an abstract class that extends the API supported by a {@link Segment},<a name="line.32"></a>
+<span class="sourceLineNo">033</span> * and is not needed for a {@link MutableSegment}.<a name="line.33"></a>
+<span class="sourceLineNo">034</span> */<a name="line.34"></a>
+<span class="sourceLineNo">035</span>@InterfaceAudience.Private<a name="line.35"></a>
+<span class="sourceLineNo">036</span>public abstract class ImmutableSegment extends Segment {<a name="line.36"></a>
+<span class="sourceLineNo">037</span><a name="line.37"></a>
+<span class="sourceLineNo">038</span>  public static final long DEEP_OVERHEAD = Segment.DEEP_OVERHEAD<a name="line.38"></a>
+<span class="sourceLineNo">039</span>      + ClassSize.align(ClassSize.REFERENCE // Referent to timeRange<a name="line.39"></a>
+<span class="sourceLineNo">040</span>      + ClassSize.TIMERANGE);<a name="line.40"></a>
+<span class="sourceLineNo">041</span><a name="line.41"></a>
+<span class="sourceLineNo">042</span>  /**<a name="line.42"></a>
+<span class="sourceLineNo">043</span>   * This is an immutable segment so use the read-only TimeRange rather than the heavy-weight<a name="line.43"></a>
+<span class="sourceLineNo">044</span>   * TimeRangeTracker with all its synchronization when doing time range stuff.<a name="line.44"></a>
+<span class="sourceLineNo">045</span>   */<a name="line.45"></a>
+<span class="sourceLineNo">046</span>  private final TimeRange timeRange;<a name="line.46"></a>
+<span class="sourceLineNo">047</span><a name="line.47"></a>
+<span class="sourceLineNo">048</span>  // each sub-type of immutable segment knows whether it is flat or not<a name="line.48"></a>
+<span class="sourceLineNo">049</span>  protected abstract boolean canBeFlattened();<a name="line.49"></a>
+<span class="sourceLineNo">050</span><a name="line.50"></a>
+<span class="sourceLineNo">051</span>  /////////////////////  CONSTRUCTORS  /////////////////////<a name="line.51"></a>
+<span class="sourceLineNo">052</span>  /**------------------------------------------------------------------------<a name="line.52"></a>
+<span class="sourceLineNo">053</span>   * Empty C-tor to be used only for CompositeImmutableSegment<a name="line.53"></a>
+<span class="sourceLineNo">054</span>   */<a name="line.54"></a>
+<span class="sourceLineNo">055</span>  protected ImmutableSegment(CellComparator comparator) {<a name="line.55"></a>
+<span class="sourceLineNo">056</span>    super(comparator);<a name="line.56"></a>
+<span class="sourceLineNo">057</span>    this.timeRange = null;<a name="line.57"></a>
+<span class="sourceLineNo">058</span>  }<a name="line.58"></a>
+<span class="sourceLineNo">059</span><a name="line.59"></a>
+<span class="sourceLineNo">060</span>  /**------------------------------------------------------------------------<a name="line.60"></a>
+<span class="sourceLineNo">061</span>   * C-tor to be used to build the derived classes<a name="line.61"></a>
+<span class="sourceLineNo">062</span>   */<a name="line.62"></a>
+<span class="sourceLineNo">063</span>  protected ImmutableSegment(CellSet cs, CellComparator comparator, MemStoreLAB memStoreLAB) {<a name="line.63"></a>
+<span class="sourceLineNo">064</span>    super(cs, comparator, memStoreLAB);<a name="line.64"></a>
+<span class="sourceLineNo">065</span>    this.timeRange = this.timeRangeTracker == null ? null : this.timeRangeTracker.toTimeRange();<a name="line.65"></a>
+<span class="sourceLineNo">066</span>  }<a name="line.66"></a>
+<span class="sourceLineNo">067</span><a name="line.67"></a>
+<span class="sourceLineNo">068</span>  /**------------------------------------------------------------------------<a name="line.68"></a>
+<span class="sourceLineNo">069</span>   * Copy C-tor to be used when new CSLMImmutableSegment (derived) is being built from a Mutable one.<a name="line.69"></a>
+<span class="sourceLineNo">070</span>   * This C-tor should be used when active MutableSegment is pushed into the compaction<a name="line.70"></a>
+<span class="sourceLineNo">071</span>   * pipeline and becomes an ImmutableSegment.<a name="line.71"></a>
+<span class="sourceLineNo">072</span>   */<a name="line.72"></a>
+<span class="sourceLineNo">073</span>  protected ImmutableSegment(Segment segment) {<a name="line.73"></a>
+<span class="sourceLineNo">074</span>    super(segment);<a name="line.74"></a>
+<span class="sourceLineNo">075</span>    this.timeRange = this.timeRangeTracker == null ? null : this.timeRangeTracker.toTimeRange();<a name="line.75"></a>
+<span class="sourceLineNo">076</span>  }<a name="line.76"></a>
+<span class="sourceLineNo">077</span><a name="line.77"></a>
 <span class="sourceLineNo">078</span><a name="line.78"></a>
-<span class="sourceLineNo">079</span><a name="line.79"></a>
-<span class="sourceLineNo">080</span>  /////////////////////  PUBLIC METHODS  /////////////////////<a name="line.80"></a>
-<span class="sourceLineNo">081</span>  @Override<a name="line.81"></a>
-<span class="sourceLineNo">082</span>  public boolean shouldSeek(Scan scan, long oldestUnexpiredTS) {<a name="line.82"></a>
-<span class="sourceLineNo">083</span>    return this.timeRange.includesTimeRange(scan.getTimeRange()) &amp;&amp;<a name="line.83"></a>
-<span class="sourceLineNo">084</span>        this.timeRange.getMax() &gt;= oldestUnexpiredTS;<a name="line.84"></a>
-<span class="sourceLineNo">085</span>  }<a name="line.85"></a>
-<span class="sourceLineNo">086</span><a name="line.86"></a>
-<span class="sourceLineNo">087</span>  @Override<a name="line.87"></a>
-<span class="sourceLineNo">088</span>  public long getMinTimestamp() {<a name="line.88"></a>
-<span class="sourceLineNo">089</span>    return this.timeRange.getMin();<a name="line.89"></a>
-<span class="sourceLineNo">090</span>  }<a name="line.90"></a>
-<span class="sourceLineNo">091</span><a name="line.91"></a>
-<span class="sourceLineNo">092</span>  public int getNumOfSegments() {<a name="line.92"></a>
-<span class="sourceLineNo">093</span>    return 1;<a name="line.93"></a>
-<span class="sourceLineNo">094</span>  }<a name="line.94"></a>
-<span class="sourceLineNo">095</span><a name="line.95"></a>
-<span class="sourceLineNo">096</span>  public List&lt;Segment&gt; getAllSegments() {<a name="line.96"></a>
-<span class="sourceLineNo">097</span>    List&lt;Segment&gt; res = new ArrayList&lt;&gt;(Arrays.asList(this));<a name="line.97"></a>
-<span class="sourceLineNo">098</span>    return res;<a name="line.98"></a>
-<span class="sourceLineNo">099</span>  }<a name="line.99"></a>
-<span class="sourceLineNo">100</span>}<a name="line.100"></a>
+<span class="sourceLineNo">079</span>  /////////////////////  PUBLIC METHODS  /////////////////////<a name="line.79"></a>
+<span class="sourceLineNo">080</span>  @Override<a name="line.80"></a>
+<span class="sourceLineNo">081</span>  public boolean shouldSeek(TimeRange tr, long oldestUnexpiredTS) {<a name="line.81"></a>
+<span class="sourceLineNo">082</span>    return this.timeRange.includesTimeRange(tr) &amp;&amp;<a name="line.82"></a>
+<span class="sourceLineNo">083</span>        this.timeRange.getMax() &gt;= oldestUnexpiredTS;<a name="line.83"></a>
+<span class="sourceLineNo">084</span>  }<a name="line.84"></a>
+<span class="sourceLineNo">085</span><a name="line.85"></a>
+<span class="sourceLineNo">086</span>  @Override<a name="line.86"></a>
+<span class="sourceLineNo">087</span>  public long getMinTimestamp() {<a name="line.87"></a>
+<span class="sourceLineNo">088</span>    return this.timeRange.getMin();<a name="line.88"></a>
+<span class="sourceLineNo">089</span>  }<a name="line.89"></a>
+<span class="sourceLineNo">090</span><a name="line.90"></a>
+<span class="sourceLineNo">091</span>  public int getNumOfSegments() {<a name="line.91"></a>
+<span class="sourceLineNo">092</span>    return 1;<a name="line.92"></a>
+<span class="sourceLineNo">093</span>  }<a name="line.93"></a>
+<span class="sourceLineNo">094</span><a name="line.94"></a>
+<span class="sourceLineNo">095</span>  public List&lt;Segment&gt; getAllSegments() {<a name="line.95"></a>
+<span class="sourceLineNo">096</span>    List&lt;Segment&gt; res = new ArrayList&lt;&gt;(Arrays.asList(this));<a name="line.96"></a>
+<span class="sourceLineNo">097</span>    return res;<a name="line.97"></a>
+<span class="sourceLineNo">098</span>  }<a name="line.98"></a>
+<span class="sourceLineNo">099</span>}<a name="line.99"></a>
 
 
 


Mime
View raw message