http://git-wip-us.apache.org/repos/asf/hbase-site/blob/21766f4a/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 0e37be8..a40aa29 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/metrics/MetricRegistryInfo.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/metrics/MetricRegistryInfo.html @@ -115,7 +115,7 @@ <span class="sourceLineNo">107</span> .append(metricsDescription)<a name="line.107"></a> <span class="sourceLineNo">108</span> .append(metricsContext)<a name="line.108"></a> <span class="sourceLineNo">109</span> .append(metricsJmxContext)<a name="line.109"></a> -<span class="sourceLineNo">110</span> .hashCode();<a name="line.110"></a> +<span class="sourceLineNo">110</span> .toHashCode();<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>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/21766f4a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSDumpServlet.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSDumpServlet.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSDumpServlet.html index 51cb1ce..5cef9cd 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSDumpServlet.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSDumpServlet.html @@ -63,87 +63,88 @@ <span class="sourceLineNo">055</span> }<a name="line.55"></a> <span class="sourceLineNo">056</span><a name="line.56"></a> <span class="sourceLineNo">057</span> OutputStream os = response.getOutputStream();<a name="line.57"></a> -<span class="sourceLineNo">058</span> PrintWriter out = new PrintWriter(os);<a name="line.58"></a> +<span class="sourceLineNo">058</span> try (PrintWriter out = new PrintWriter(os)) {<a name="line.58"></a> <span class="sourceLineNo">059</span><a name="line.59"></a> -<span class="sourceLineNo">060</span> out.println("RegionServer status for " + hrs.getServerName()<a name="line.60"></a> +<span class="sourceLineNo">060</span> out.println("RegionServer status for " + hrs.getServerName()<a name="line.60"></a> <span class="sourceLineNo">061</span> + " as of " + new Date());<a name="line.61"></a> <span class="sourceLineNo">062</span><a name="line.62"></a> -<span class="sourceLineNo">063</span> out.println("\n\nVersion Info:");<a name="line.63"></a> -<span class="sourceLineNo">064</span> out.println(LINE);<a name="line.64"></a> -<span class="sourceLineNo">065</span> dumpVersionInfo(out);<a name="line.65"></a> +<span class="sourceLineNo">063</span> out.println("\n\nVersion Info:");<a name="line.63"></a> +<span class="sourceLineNo">064</span> out.println(LINE);<a name="line.64"></a> +<span class="sourceLineNo">065</span> dumpVersionInfo(out);<a name="line.65"></a> <span class="sourceLineNo">066</span><a name="line.66"></a> -<span class="sourceLineNo">067</span> out.println("\n\nTasks:");<a name="line.67"></a> -<span class="sourceLineNo">068</span> out.println(LINE);<a name="line.68"></a> -<span class="sourceLineNo">069</span> TaskMonitor.get().dumpAsText(out);<a name="line.69"></a> +<span class="sourceLineNo">067</span> out.println("\n\nTasks:");<a name="line.67"></a> +<span class="sourceLineNo">068</span> out.println(LINE);<a name="line.68"></a> +<span class="sourceLineNo">069</span> TaskMonitor.get().dumpAsText(out);<a name="line.69"></a> <span class="sourceLineNo">070</span><a name="line.70"></a> -<span class="sourceLineNo">071</span> out.println("\n\nRowLocks:");<a name="line.71"></a> -<span class="sourceLineNo">072</span> out.println(LINE);<a name="line.72"></a> -<span class="sourceLineNo">073</span> dumpRowLock(hrs, out);<a name="line.73"></a> +<span class="sourceLineNo">071</span> out.println("\n\nRowLocks:");<a name="line.71"></a> +<span class="sourceLineNo">072</span> out.println(LINE);<a name="line.72"></a> +<span class="sourceLineNo">073</span> dumpRowLock(hrs, out);<a name="line.73"></a> <span class="sourceLineNo">074</span><a name="line.74"></a> -<span class="sourceLineNo">075</span> out.println("\n\nExecutors:");<a name="line.75"></a> -<span class="sourceLineNo">076</span> out.println(LINE);<a name="line.76"></a> -<span class="sourceLineNo">077</span> dumpExecutors(hrs.getExecutorService(), out);<a name="line.77"></a> +<span class="sourceLineNo">075</span> out.println("\n\nExecutors:");<a name="line.75"></a> +<span class="sourceLineNo">076</span> out.println(LINE);<a name="line.76"></a> +<span class="sourceLineNo">077</span> dumpExecutors(hrs.getExecutorService(), out);<a name="line.77"></a> <span class="sourceLineNo">078</span><a name="line.78"></a> -<span class="sourceLineNo">079</span> out.println("\n\nStacks:");<a name="line.79"></a> -<span class="sourceLineNo">080</span> out.println(LINE);<a name="line.80"></a> -<span class="sourceLineNo">081</span> PrintStream ps = new PrintStream(response.getOutputStream(), false, "UTF-8");<a name="line.81"></a> -<span class="sourceLineNo">082</span> Threads.printThreadInfo(ps, "");<a name="line.82"></a> -<span class="sourceLineNo">083</span> ps.flush();<a name="line.83"></a> +<span class="sourceLineNo">079</span> out.println("\n\nStacks:");<a name="line.79"></a> +<span class="sourceLineNo">080</span> out.println(LINE);<a name="line.80"></a> +<span class="sourceLineNo">081</span> PrintStream ps = new PrintStream(response.getOutputStream(), false, "UTF-8");<a name="line.81"></a> +<span class="sourceLineNo">082</span> Threads.printThreadInfo(ps, "");<a name="line.82"></a> +<span class="sourceLineNo">083</span> ps.flush();<a name="line.83"></a> <span class="sourceLineNo">084</span><a name="line.84"></a> -<span class="sourceLineNo">085</span> out.println("\n\nRS Configuration:");<a name="line.85"></a> -<span class="sourceLineNo">086</span> out.println(LINE);<a name="line.86"></a> -<span class="sourceLineNo">087</span> Configuration conf = hrs.getConfiguration();<a name="line.87"></a> -<span class="sourceLineNo">088</span> out.flush();<a name="line.88"></a> -<span class="sourceLineNo">089</span> conf.writeXml(os);<a name="line.89"></a> -<span class="sourceLineNo">090</span> os.flush();<a name="line.90"></a> +<span class="sourceLineNo">085</span> out.println("\n\nRS Configuration:");<a name="line.85"></a> +<span class="sourceLineNo">086</span> out.println(LINE);<a name="line.86"></a> +<span class="sourceLineNo">087</span> Configuration conf = hrs.getConfiguration();<a name="line.87"></a> +<span class="sourceLineNo">088</span> out.flush();<a name="line.88"></a> +<span class="sourceLineNo">089</span> conf.writeXml(os);<a name="line.89"></a> +<span class="sourceLineNo">090</span> os.flush();<a name="line.90"></a> <span class="sourceLineNo">091</span><a name="line.91"></a> -<span class="sourceLineNo">092</span> out.println("\n\nLogs");<a name="line.92"></a> -<span class="sourceLineNo">093</span> out.println(LINE);<a name="line.93"></a> -<span class="sourceLineNo">094</span> long tailKb = getTailKbParam(request);<a name="line.94"></a> -<span class="sourceLineNo">095</span> LogMonitoring.dumpTailOfLogs(out, tailKb);<a name="line.95"></a> +<span class="sourceLineNo">092</span> out.println("\n\nLogs");<a name="line.92"></a> +<span class="sourceLineNo">093</span> out.println(LINE);<a name="line.93"></a> +<span class="sourceLineNo">094</span> long tailKb = getTailKbParam(request);<a name="line.94"></a> +<span class="sourceLineNo">095</span> LogMonitoring.dumpTailOfLogs(out, tailKb);<a name="line.95"></a> <span class="sourceLineNo">096</span><a name="line.96"></a> -<span class="sourceLineNo">097</span> out.println("\n\nRS Queue:");<a name="line.97"></a> -<span class="sourceLineNo">098</span> out.println(LINE);<a name="line.98"></a> -<span class="sourceLineNo">099</span> if(isShowQueueDump(conf)) {<a name="line.99"></a> -<span class="sourceLineNo">100</span> dumpQueue(hrs, out);<a name="line.100"></a> -<span class="sourceLineNo">101</span> }<a name="line.101"></a> +<span class="sourceLineNo">097</span> out.println("\n\nRS Queue:");<a name="line.97"></a> +<span class="sourceLineNo">098</span> out.println(LINE);<a name="line.98"></a> +<span class="sourceLineNo">099</span> if (isShowQueueDump(conf)) {<a name="line.99"></a> +<span class="sourceLineNo">100</span> dumpQueue(hrs, out);<a name="line.100"></a> +<span class="sourceLineNo">101</span> }<a name="line.101"></a> <span class="sourceLineNo">102</span><a name="line.102"></a> -<span class="sourceLineNo">103</span> out.flush();<a name="line.103"></a> -<span class="sourceLineNo">104</span> }<a name="line.104"></a> -<span class="sourceLineNo">105</span><a name="line.105"></a> -<span class="sourceLineNo">106</span> public static void dumpRowLock(HRegionServer hrs, PrintWriter out) {<a name="line.106"></a> -<span class="sourceLineNo">107</span> StringBuilder sb = new StringBuilder();<a name="line.107"></a> -<span class="sourceLineNo">108</span> for (Region region : hrs.getOnlineRegions()) {<a name="line.108"></a> -<span class="sourceLineNo">109</span> HRegion hRegion = (HRegion)region;<a name="line.109"></a> -<span class="sourceLineNo">110</span> if (hRegion.getLockedRows().size() > 0) {<a name="line.110"></a> -<span class="sourceLineNo">111</span> for (HRegion.RowLockContext rowLockContext : hRegion.getLockedRows().values()) {<a name="line.111"></a> -<span class="sourceLineNo">112</span> sb.setLength(0);<a name="line.112"></a> -<span class="sourceLineNo">113</span> sb.append(hRegion.getTableDescriptor().getTableName()).append(",")<a name="line.113"></a> -<span class="sourceLineNo">114</span> .append(hRegion.getRegionInfo().getEncodedName()).append(",");<a name="line.114"></a> -<span class="sourceLineNo">115</span> sb.append(rowLockContext.toString());<a name="line.115"></a> -<span class="sourceLineNo">116</span> out.println(sb.toString());<a name="line.116"></a> -<span class="sourceLineNo">117</span> }<a name="line.117"></a> -<span class="sourceLineNo">118</span> }<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><a name="line.121"></a> -<span class="sourceLineNo">122</span> public static void dumpQueue(HRegionServer hrs, PrintWriter out)<a name="line.122"></a> -<span class="sourceLineNo">123</span> throws IOException {<a name="line.123"></a> -<span class="sourceLineNo">124</span> if (hrs.compactSplitThread != null) {<a name="line.124"></a> -<span class="sourceLineNo">125</span> // 1. Print out Compaction/Split Queue<a name="line.125"></a> -<span class="sourceLineNo">126</span> out.println("Compaction/Split Queue summary: "<a name="line.126"></a> -<span class="sourceLineNo">127</span> + hrs.compactSplitThread.toString() );<a name="line.127"></a> -<span class="sourceLineNo">128</span> out.println(hrs.compactSplitThread.dumpQueue());<a name="line.128"></a> -<span class="sourceLineNo">129</span> }<a name="line.129"></a> -<span class="sourceLineNo">130</span><a name="line.130"></a> -<span class="sourceLineNo">131</span> if (hrs.cacheFlusher != null) {<a name="line.131"></a> -<span class="sourceLineNo">132</span> // 2. Print out flush Queue<a name="line.132"></a> -<span class="sourceLineNo">133</span> out.println("\nFlush Queue summary: "<a name="line.133"></a> -<span class="sourceLineNo">134</span> + hrs.cacheFlusher.toString());<a name="line.134"></a> -<span class="sourceLineNo">135</span> out.println(hrs.cacheFlusher.dumpQueue());<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>}<a name="line.138"></a> +<span class="sourceLineNo">103</span> out.flush();<a name="line.103"></a> +<span class="sourceLineNo">104</span> }<a name="line.104"></a> +<span class="sourceLineNo">105</span> }<a name="line.105"></a> +<span class="sourceLineNo">106</span><a name="line.106"></a> +<span class="sourceLineNo">107</span> public static void dumpRowLock(HRegionServer hrs, PrintWriter out) {<a name="line.107"></a> +<span class="sourceLineNo">108</span> StringBuilder sb = new StringBuilder();<a name="line.108"></a> +<span class="sourceLineNo">109</span> for (Region region : hrs.getOnlineRegions()) {<a name="line.109"></a> +<span class="sourceLineNo">110</span> HRegion hRegion = (HRegion)region;<a name="line.110"></a> +<span class="sourceLineNo">111</span> if (hRegion.getLockedRows().size() > 0) {<a name="line.111"></a> +<span class="sourceLineNo">112</span> for (HRegion.RowLockContext rowLockContext : hRegion.getLockedRows().values()) {<a name="line.112"></a> +<span class="sourceLineNo">113</span> sb.setLength(0);<a name="line.113"></a> +<span class="sourceLineNo">114</span> sb.append(hRegion.getTableDescriptor().getTableName()).append(",")<a name="line.114"></a> +<span class="sourceLineNo">115</span> .append(hRegion.getRegionInfo().getEncodedName()).append(",");<a name="line.115"></a> +<span class="sourceLineNo">116</span> sb.append(rowLockContext.toString());<a name="line.116"></a> +<span class="sourceLineNo">117</span> out.println(sb.toString());<a name="line.117"></a> +<span class="sourceLineNo">118</span> }<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> }<a name="line.121"></a> +<span class="sourceLineNo">122</span><a name="line.122"></a> +<span class="sourceLineNo">123</span> public static void dumpQueue(HRegionServer hrs, PrintWriter out)<a name="line.123"></a> +<span class="sourceLineNo">124</span> throws IOException {<a name="line.124"></a> +<span class="sourceLineNo">125</span> if (hrs.compactSplitThread != null) {<a name="line.125"></a> +<span class="sourceLineNo">126</span> // 1. Print out Compaction/Split Queue<a name="line.126"></a> +<span class="sourceLineNo">127</span> out.println("Compaction/Split Queue summary: "<a name="line.127"></a> +<span class="sourceLineNo">128</span> + hrs.compactSplitThread.toString() );<a name="line.128"></a> +<span class="sourceLineNo">129</span> out.println(hrs.compactSplitThread.dumpQueue());<a name="line.129"></a> +<span class="sourceLineNo">130</span> }<a name="line.130"></a> +<span class="sourceLineNo">131</span><a name="line.131"></a> +<span class="sourceLineNo">132</span> if (hrs.cacheFlusher != null) {<a name="line.132"></a> +<span class="sourceLineNo">133</span> // 2. Print out flush Queue<a name="line.133"></a> +<span class="sourceLineNo">134</span> out.println("\nFlush Queue summary: "<a name="line.134"></a> +<span class="sourceLineNo">135</span> + hrs.cacheFlusher.toString());<a name="line.135"></a> +<span class="sourceLineNo">136</span> out.println(hrs.cacheFlusher.dumpQueue());<a name="line.136"></a> +<span class="sourceLineNo">137</span> }<a name="line.137"></a> +<span class="sourceLineNo">138</span> }<a name="line.138"></a> +<span class="sourceLineNo">139</span>}<a name="line.139"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/21766f4a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.LogDelegate.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.LogDelegate.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.LogDelegate.html index 422c076..a691301 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.LogDelegate.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.LogDelegate.html @@ -266,7 +266,7 @@ <span class="sourceLineNo">258</span> /**<a name="line.258"></a> <span class="sourceLineNo">259</span> * Default value of {@link RSRpcServices#BATCH_ROWS_THRESHOLD_NAME}<a name="line.259"></a> <span class="sourceLineNo">260</span> */<a name="line.260"></a> -<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 1000;<a name="line.261"></a> +<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 5000;<a name="line.261"></a> <span class="sourceLineNo">262</span><a name="line.262"></a> <span class="sourceLineNo">263</span> // Request counter. (Includes requests that are not serviced by regions.)<a name="line.263"></a> <span class="sourceLineNo">264</span> final LongAdder requestCount = new LongAdder();<a name="line.264"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/21766f4a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerCloseCallBack.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerCloseCallBack.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerCloseCallBack.html index 422c076..a691301 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerCloseCallBack.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerCloseCallBack.html @@ -266,7 +266,7 @@ <span class="sourceLineNo">258</span> /**<a name="line.258"></a> <span class="sourceLineNo">259</span> * Default value of {@link RSRpcServices#BATCH_ROWS_THRESHOLD_NAME}<a name="line.259"></a> <span class="sourceLineNo">260</span> */<a name="line.260"></a> -<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 1000;<a name="line.261"></a> +<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 5000;<a name="line.261"></a> <span class="sourceLineNo">262</span><a name="line.262"></a> <span class="sourceLineNo">263</span> // Request counter. (Includes requests that are not serviced by regions.)<a name="line.263"></a> <span class="sourceLineNo">264</span> final LongAdder requestCount = new LongAdder();<a name="line.264"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/21766f4a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerHolder.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerHolder.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerHolder.html index 422c076..a691301 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerHolder.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerHolder.html @@ -266,7 +266,7 @@ <span class="sourceLineNo">258</span> /**<a name="line.258"></a> <span class="sourceLineNo">259</span> * Default value of {@link RSRpcServices#BATCH_ROWS_THRESHOLD_NAME}<a name="line.259"></a> <span class="sourceLineNo">260</span> */<a name="line.260"></a> -<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 1000;<a name="line.261"></a> +<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 5000;<a name="line.261"></a> <span class="sourceLineNo">262</span><a name="line.262"></a> <span class="sourceLineNo">263</span> // Request counter. (Includes requests that are not serviced by regions.)<a name="line.263"></a> <span class="sourceLineNo">264</span> final LongAdder requestCount = new LongAdder();<a name="line.264"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/21766f4a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerShippedCallBack.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerShippedCallBack.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerShippedCallBack.html index 422c076..a691301 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerShippedCallBack.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannerShippedCallBack.html @@ -266,7 +266,7 @@ <span class="sourceLineNo">258</span> /**<a name="line.258"></a> <span class="sourceLineNo">259</span> * Default value of {@link RSRpcServices#BATCH_ROWS_THRESHOLD_NAME}<a name="line.259"></a> <span class="sourceLineNo">260</span> */<a name="line.260"></a> -<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 1000;<a name="line.261"></a> +<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 5000;<a name="line.261"></a> <span class="sourceLineNo">262</span><a name="line.262"></a> <span class="sourceLineNo">263</span> // Request counter. (Includes requests that are not serviced by regions.)<a name="line.263"></a> <span class="sourceLineNo">264</span> final LongAdder requestCount = new LongAdder();<a name="line.264"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/21766f4a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannersCloseCallBack.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannersCloseCallBack.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannersCloseCallBack.html index 422c076..a691301 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannersCloseCallBack.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.RegionScannersCloseCallBack.html @@ -266,7 +266,7 @@ <span class="sourceLineNo">258</span> /**<a name="line.258"></a> <span class="sourceLineNo">259</span> * Default value of {@link RSRpcServices#BATCH_ROWS_THRESHOLD_NAME}<a name="line.259"></a> <span class="sourceLineNo">260</span> */<a name="line.260"></a> -<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 1000;<a name="line.261"></a> +<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 5000;<a name="line.261"></a> <span class="sourceLineNo">262</span><a name="line.262"></a> <span class="sourceLineNo">263</span> // Request counter. (Includes requests that are not serviced by regions.)<a name="line.263"></a> <span class="sourceLineNo">264</span> final LongAdder requestCount = new LongAdder();<a name="line.264"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/21766f4a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.ScannerListener.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.ScannerListener.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.ScannerListener.html index 422c076..a691301 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.ScannerListener.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.ScannerListener.html @@ -266,7 +266,7 @@ <span class="sourceLineNo">258</span> /**<a name="line.258"></a> <span class="sourceLineNo">259</span> * Default value of {@link RSRpcServices#BATCH_ROWS_THRESHOLD_NAME}<a name="line.259"></a> <span class="sourceLineNo">260</span> */<a name="line.260"></a> -<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 1000;<a name="line.261"></a> +<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 5000;<a name="line.261"></a> <span class="sourceLineNo">262</span><a name="line.262"></a> <span class="sourceLineNo">263</span> // Request counter. (Includes requests that are not serviced by regions.)<a name="line.263"></a> <span class="sourceLineNo">264</span> final LongAdder requestCount = new LongAdder();<a name="line.264"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/21766f4a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.html index 422c076..a691301 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/RSRpcServices.html @@ -266,7 +266,7 @@ <span class="sourceLineNo">258</span> /**<a name="line.258"></a> <span class="sourceLineNo">259</span> * Default value of {@link RSRpcServices#BATCH_ROWS_THRESHOLD_NAME}<a name="line.259"></a> <span class="sourceLineNo">260</span> */<a name="line.260"></a> -<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 1000;<a name="line.261"></a> +<span class="sourceLineNo">261</span> static final int BATCH_ROWS_THRESHOLD_DEFAULT = 5000;<a name="line.261"></a> <span class="sourceLineNo">262</span><a name="line.262"></a> <span class="sourceLineNo">263</span> // Request counter. (Includes requests that are not serviced by regions.)<a name="line.263"></a> <span class="sourceLineNo">264</span> final LongAdder requestCount = new LongAdder();<a name="line.264"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/21766f4a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/ScanInfo.html ---------------------------------------------------------------------- diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/ScanInfo.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/ScanInfo.html index b278b93..9d97939 100644 --- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/ScanInfo.html +++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/ScanInfo.html @@ -58,113 +58,120 @@ <span class="sourceLineNo">050</span> private boolean parallelSeekEnabled;<a name="line.50"></a> <span class="sourceLineNo">051</span> private final long preadMaxBytes;<a name="line.51"></a> <span class="sourceLineNo">052</span> private final Configuration conf;<a name="line.52"></a> -<span class="sourceLineNo">053</span><a name="line.53"></a> -<span class="sourceLineNo">054</span> public static final long FIXED_OVERHEAD = ClassSize.align(ClassSize.OBJECT<a name="line.54"></a> -<span class="sourceLineNo">055</span> + (2 * ClassSize.REFERENCE) + (2 * Bytes.SIZEOF_INT)<a name="line.55"></a> -<span class="sourceLineNo">056</span> + (4 * Bytes.SIZEOF_LONG) + (3 * Bytes.SIZEOF_BOOLEAN));<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> * @param conf<a name="line.59"></a> -<span class="sourceLineNo">060</span> * @param family {@link ColumnFamilyDescriptor} describing the column family<a name="line.60"></a> -<span class="sourceLineNo">061</span> * @param ttl Store's TTL (in ms)<a name="line.61"></a> -<span class="sourceLineNo">062</span> * @param timeToPurgeDeletes duration in ms after which a delete marker can be purged during a<a name="line.62"></a> -<span class="sourceLineNo">063</span> * major compaction.<a name="line.63"></a> -<span class="sourceLineNo">064</span> * @param comparator The store's comparator<a name="line.64"></a> -<span class="sourceLineNo">065</span> */<a name="line.65"></a> -<span class="sourceLineNo">066</span> public ScanInfo(final Configuration conf, final ColumnFamilyDescriptor family, final long ttl,<a name="line.66"></a> -<span class="sourceLineNo">067</span> final long timeToPurgeDeletes, final CellComparator comparator) {<a name="line.67"></a> -<span class="sourceLineNo">068</span> this(conf, family.getName(), family.getMinVersions(), family.getMaxVersions(), ttl,<a name="line.68"></a> -<span class="sourceLineNo">069</span> family.getKeepDeletedCells(), family.getBlocksize(), timeToPurgeDeletes, comparator);<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> /**<a name="line.72"></a> -<span class="sourceLineNo">073</span> * @param conf<a name="line.73"></a> -<span class="sourceLineNo">074</span> * @param family Name of this store's column family<a name="line.74"></a> -<span class="sourceLineNo">075</span> * @param minVersions Store's MIN_VERSIONS setting<a name="line.75"></a> -<span class="sourceLineNo">076</span> * @param maxVersions Store's VERSIONS setting<a name="line.76"></a> -<span class="sourceLineNo">077</span> * @param ttl Store's TTL (in ms)<a name="line.77"></a> -<span class="sourceLineNo">078</span> * @param blockSize Store's block size<a name="line.78"></a> -<span class="sourceLineNo">079</span> * @param timeToPurgeDeletes duration in ms after which a delete marker can<a name="line.79"></a> -<span class="sourceLineNo">080</span> * be purged during a major compaction.<a name="line.80"></a> -<span class="sourceLineNo">081</span> * @param keepDeletedCells Store's keepDeletedCells setting<a name="line.81"></a> -<span class="sourceLineNo">082</span> * @param comparator The store's comparator<a name="line.82"></a> -<span class="sourceLineNo">083</span> */<a name="line.83"></a> -<span class="sourceLineNo">084</span> public ScanInfo(final Configuration conf, final byte[] family, final int minVersions,<a name="line.84"></a> -<span class="sourceLineNo">085</span> final int maxVersions, final long ttl, final KeepDeletedCells keepDeletedCells,<a name="line.85"></a> -<span class="sourceLineNo">086</span> final long blockSize, final long timeToPurgeDeletes, final CellComparator comparator) {<a name="line.86"></a> -<span class="sourceLineNo">087</span> this.family = family;<a name="line.87"></a> -<span class="sourceLineNo">088</span> this.minVersions = minVersions;<a name="line.88"></a> -<span class="sourceLineNo">089</span> this.maxVersions = maxVersions;<a name="line.89"></a> -<span class="sourceLineNo">090</span> this.ttl = ttl;<a name="line.90"></a> -<span class="sourceLineNo">091</span> this.keepDeletedCells = keepDeletedCells;<a name="line.91"></a> -<span class="sourceLineNo">092</span> this.timeToPurgeDeletes = timeToPurgeDeletes;<a name="line.92"></a> -<span class="sourceLineNo">093</span> this.comparator = comparator;<a name="line.93"></a> -<span class="sourceLineNo">094</span> this.tableMaxRowSize =<a name="line.94"></a> -<span class="sourceLineNo">095</span> conf.getLong(HConstants.TABLE_MAX_ROWSIZE_KEY, HConstants.TABLE_MAX_ROWSIZE_DEFAULT);<a name="line.95"></a> -<span class="sourceLineNo">096</span> this.usePread = conf.getBoolean("hbase.storescanner.use.pread", false);<a name="line.96"></a> -<span class="sourceLineNo">097</span> long perHeartbeat =<a name="line.97"></a> -<span class="sourceLineNo">098</span> conf.getLong(StoreScanner.HBASE_CELLS_SCANNED_PER_HEARTBEAT_CHECK,<a name="line.98"></a> -<span class="sourceLineNo">099</span> StoreScanner.DEFAULT_HBASE_CELLS_SCANNED_PER_HEARTBEAT_CHECK);<a name="line.99"></a> -<span class="sourceLineNo">100</span> this.cellsPerTimeoutCheck = perHeartbeat > 0?<a name="line.100"></a> -<span class="sourceLineNo">101</span> perHeartbeat: StoreScanner.DEFAULT_HBASE_CELLS_SCANNED_PER_HEARTBEAT_CHECK;<a name="line.101"></a> -<span class="sourceLineNo">102</span> this.parallelSeekEnabled =<a name="line.102"></a> -<span class="sourceLineNo">103</span> conf.getBoolean(StoreScanner.STORESCANNER_PARALLEL_SEEK_ENABLE, false);<a name="line.103"></a> -<span class="sourceLineNo">104</span> this.preadMaxBytes = conf.getLong(StoreScanner.STORESCANNER_PREAD_MAX_BYTES, 4 * blockSize);<a name="line.104"></a> -<span class="sourceLineNo">105</span> this.conf = conf;<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 Configuration getConfiguration() {<a name="line.108"></a> -<span class="sourceLineNo">109</span> return this.conf;<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> long getTableMaxRowSize() {<a name="line.112"></a> -<span class="sourceLineNo">113</span> return this.tableMaxRowSize;<a name="line.113"></a> -<span class="sourceLineNo">114</span> }<a name="line.114"></a> -<span class="sourceLineNo">115</span><a name="line.115"></a> -<span class="sourceLineNo">116</span> boolean isUsePread() {<a name="line.116"></a> -<span class="sourceLineNo">117</span> return this.usePread;<a name="line.117"></a> -<span class="sourceLineNo">118</span> }<a name="line.118"></a> -<span class="sourceLineNo">119</span><a name="line.119"></a> -<span class="sourceLineNo">120</span> long getCellsPerTimeoutCheck() {<a name="line.120"></a> -<span class="sourceLineNo">121</span> return this.cellsPerTimeoutCheck;<a name="line.121"></a> -<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> boolean isParallelSeekEnabled() {<a name="line.124"></a> -<span class="sourceLineNo">125</span> return this.parallelSeekEnabled;<a name="line.125"></a> -<span class="sourceLineNo">126</span> }<a name="line.126"></a> -<span class="sourceLineNo">127</span><a name="line.127"></a> -<span class="sourceLineNo">128</span> public byte[] getFamily() {<a name="line.128"></a> -<span class="sourceLineNo">129</span> return family;<a name="line.129"></a> -<span class="sourceLineNo">130</span> }<a name="line.130"></a> -<span class="sourceLineNo">131</span><a name="line.131"></a> -<span class="sourceLineNo">132</span> public int getMinVersions() {<a name="line.132"></a> -<span class="sourceLineNo">133</span> return minVersions;<a name="line.133"></a> -<span class="sourceLineNo">134</span> }<a name="line.134"></a> -<span class="sourceLineNo">135</span><a name="line.135"></a> -<span class="sourceLineNo">136</span> public int getMaxVersions() {<a name="line.136"></a> -<span class="sourceLineNo">137</span> return maxVersions;<a name="line.137"></a> -<span class="sourceLineNo">138</span> }<a name="line.138"></a> -<span class="sourceLineNo">139</span><a name="line.139"></a> -<span class="sourceLineNo">140</span> public long getTtl() {<a name="line.140"></a> -<span class="sourceLineNo">141</span> return ttl;<a name="line.141"></a> -<span class="sourceLineNo">142</span> }<a name="line.142"></a> -<span class="sourceLineNo">143</span><a name="line.143"></a> -<span class="sourceLineNo">144</span> public KeepDeletedCells getKeepDeletedCells() {<a name="line.144"></a> -<span class="sourceLineNo">145</span> return keepDeletedCells;<a name="line.145"></a> -<span class="sourceLineNo">146</span> }<a name="line.146"></a> -<span class="sourceLineNo">147</span><a name="line.147"></a> -<span class="sourceLineNo">148</span> public long getTimeToPurgeDeletes() {<a name="line.148"></a> -<span class="sourceLineNo">149</span> return timeToPurgeDeletes;<a name="line.149"></a> -<span class="sourceLineNo">150</span> }<a name="line.150"></a> -<span class="sourceLineNo">151</span><a name="line.151"></a> -<span class="sourceLineNo">152</span> public CellComparator getComparator() {<a name="line.152"></a> -<span class="sourceLineNo">153</span> return comparator;<a name="line.153"></a> -<span class="sourceLineNo">154</span> }<a name="line.154"></a> -<span class="sourceLineNo">155</span><a name="line.155"></a> -<span class="sourceLineNo">156</span> long getPreadMaxBytes() {<a name="line.156"></a> -<span class="sourceLineNo">157</span> return preadMaxBytes;<a name="line.157"></a> -<span class="sourceLineNo">158</span> }<a name="line.158"></a> -<span class="sourceLineNo">159</span>}<a name="line.159"></a> +<span class="sourceLineNo">053</span> private final boolean newVersionBehavior;<a name="line.53"></a> +<span class="sourceLineNo">054</span><a name="line.54"></a> +<span class="sourceLineNo">055</span> public static final long FIXED_OVERHEAD = ClassSize.align(ClassSize.OBJECT<a name="line.55"></a> +<span class="sourceLineNo">056</span> + (2 * ClassSize.REFERENCE) + (2 * Bytes.SIZEOF_INT)<a name="line.56"></a> +<span class="sourceLineNo">057</span> + (4 * Bytes.SIZEOF_LONG) + (4 * Bytes.SIZEOF_BOOLEAN));<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> * @param conf<a name="line.60"></a> +<span class="sourceLineNo">061</span> * @param family {@link ColumnFamilyDescriptor} describing the column family<a name="line.61"></a> +<span class="sourceLineNo">062</span> * @param ttl Store's TTL (in ms)<a name="line.62"></a> +<span class="sourceLineNo">063</span> * @param timeToPurgeDeletes duration in ms after which a delete marker can be purged during a<a name="line.63"></a> +<span class="sourceLineNo">064</span> * major compaction.<a name="line.64"></a> +<span class="sourceLineNo">065</span> * @param comparator The store's comparator<a name="line.65"></a> +<span class="sourceLineNo">066</span> */<a name="line.66"></a> +<span class="sourceLineNo">067</span> public ScanInfo(final Configuration conf, final ColumnFamilyDescriptor family, final long ttl,<a name="line.67"></a> +<span class="sourceLineNo">068</span> final long timeToPurgeDeletes, final CellComparator comparator) {<a name="line.68"></a> +<span class="sourceLineNo">069</span> this(conf, family.getName(), family.getMinVersions(), family.getMaxVersions(), ttl,<a name="line.69"></a> +<span class="sourceLineNo">070</span> family.getKeepDeletedCells(), family.getBlocksize(), timeToPurgeDeletes, comparator, family.isNewVersionBehavior());<a name="line.70"></a> +<span class="sourceLineNo">071</span> }<a name="line.71"></a> +<span class="sourceLineNo">072</span><a name="line.72"></a> +<span class="sourceLineNo">073</span> /**<a name="line.73"></a> +<span class="sourceLineNo">074</span> * @param conf<a name="line.74"></a> +<span class="sourceLineNo">075</span> * @param family Name of this store's column family<a name="line.75"></a> +<span class="sourceLineNo">076</span> * @param minVersions Store's MIN_VERSIONS setting<a name="line.76"></a> +<span class="sourceLineNo">077</span> * @param maxVersions Store's VERSIONS setting<a name="line.77"></a> +<span class="sourceLineNo">078</span> * @param ttl Store's TTL (in ms)<a name="line.78"></a> +<span class="sourceLineNo">079</span> * @param blockSize Store's block size<a name="line.79"></a> +<span class="sourceLineNo">080</span> * @param timeToPurgeDeletes duration in ms after which a delete marker can<a name="line.80"></a> +<span class="sourceLineNo">081</span> * be purged during a major compaction.<a name="line.81"></a> +<span class="sourceLineNo">082</span> * @param keepDeletedCells Store's keepDeletedCells setting<a name="line.82"></a> +<span class="sourceLineNo">083</span> * @param comparator The store's comparator<a name="line.83"></a> +<span class="sourceLineNo">084</span> */<a name="line.84"></a> +<span class="sourceLineNo">085</span> public ScanInfo(final Configuration conf, final byte[] family, final int minVersions,<a name="line.85"></a> +<span class="sourceLineNo">086</span> final int maxVersions, final long ttl, final KeepDeletedCells keepDeletedCells,<a name="line.86"></a> +<span class="sourceLineNo">087</span> final long blockSize, final long timeToPurgeDeletes, final CellComparator comparator,<a name="line.87"></a> +<span class="sourceLineNo">088</span> final boolean newVersionBehavior) {<a name="line.88"></a> +<span class="sourceLineNo">089</span> this.family = family;<a name="line.89"></a> +<span class="sourceLineNo">090</span> this.minVersions = minVersions;<a name="line.90"></a> +<span class="sourceLineNo">091</span> this.maxVersions = maxVersions;<a name="line.91"></a> +<span class="sourceLineNo">092</span> this.ttl = ttl;<a name="line.92"></a> +<span class="sourceLineNo">093</span> this.keepDeletedCells = keepDeletedCells;<a name="line.93"></a> +<span class="sourceLineNo">094</span> this.timeToPurgeDeletes = timeToPurgeDeletes;<a name="line.94"></a> +<span class="sourceLineNo">095</span> this.comparator = comparator;<a name="line.95"></a> +<span class="sourceLineNo">096</span> this.tableMaxRowSize =<a name="line.96"></a> +<span class="sourceLineNo">097</span> conf.getLong(HConstants.TABLE_MAX_ROWSIZE_KEY, HConstants.TABLE_MAX_ROWSIZE_DEFAULT);<a name="line.97"></a> +<span class="sourceLineNo">098</span> this.usePread = conf.getBoolean("hbase.storescanner.use.pread", false);<a name="line.98"></a> +<span class="sourceLineNo">099</span> long perHeartbeat =<a name="line.99"></a> +<span class="sourceLineNo">100</span> conf.getLong(StoreScanner.HBASE_CELLS_SCANNED_PER_HEARTBEAT_CHECK,<a name="line.100"></a> +<span class="sourceLineNo">101</span> StoreScanner.DEFAULT_HBASE_CELLS_SCANNED_PER_HEARTBEAT_CHECK);<a name="line.101"></a> +<span class="sourceLineNo">102</span> this.cellsPerTimeoutCheck = perHeartbeat > 0?<a name="line.102"></a> +<span class="sourceLineNo">103</span> perHeartbeat: StoreScanner.DEFAULT_HBASE_CELLS_SCANNED_PER_HEARTBEAT_CHECK;<a name="line.103"></a> +<span class="sourceLineNo">104</span> this.parallelSeekEnabled =<a name="line.104"></a> +<span class="sourceLineNo">105</span> conf.getBoolean(StoreScanner.STORESCANNER_PARALLEL_SEEK_ENABLE, false);<a name="line.105"></a> +<span class="sourceLineNo">106</span> this.preadMaxBytes = conf.getLong(StoreScanner.STORESCANNER_PREAD_MAX_BYTES, 4 * blockSize);<a name="line.106"></a> +<span class="sourceLineNo">107</span> this.conf = conf;<a name="line.107"></a> +<span class="sourceLineNo">108</span> this.newVersionBehavior = newVersionBehavior;<a name="line.108"></a> +<span class="sourceLineNo">109</span> }<a name="line.109"></a> +<span class="sourceLineNo">110</span><a name="line.110"></a> +<span class="sourceLineNo">111</span> public Configuration getConfiguration() {<a name="line.111"></a> +<span class="sourceLineNo">112</span> return this.conf;<a name="line.112"></a> +<span class="sourceLineNo">113</span> }<a name="line.113"></a> +<span class="sourceLineNo">114</span><a name="line.114"></a> +<span class="sourceLineNo">115</span> long getTableMaxRowSize() {<a name="line.115"></a> +<span class="sourceLineNo">116</span> return this.tableMaxRowSize;<a name="line.116"></a> +<span class="sourceLineNo">117</span> }<a name="line.117"></a> +<span class="sourceLineNo">118</span><a name="line.118"></a> +<span class="sourceLineNo">119</span> boolean isUsePread() {<a name="line.119"></a> +<span class="sourceLineNo">120</span> return this.usePread;<a name="line.120"></a> +<span class="sourceLineNo">121</span> }<a name="line.121"></a> +<span class="sourceLineNo">122</span><a name="line.122"></a> +<span class="sourceLineNo">123</span> long getCellsPerTimeoutCheck() {<a name="line.123"></a> +<span class="sourceLineNo">124</span> return this.cellsPerTimeoutCheck;<a name="line.124"></a> +<span class="sourceLineNo">125</span> }<a name="line.125"></a> +<span class="sourceLineNo">126</span><a name="line.126"></a> +<span class="sourceLineNo">127</span> boolean isParallelSeekEnabled() {<a name="line.127"></a> +<span class="sourceLineNo">128</span> return this.parallelSeekEnabled;<a name="line.128"></a> +<span class="sourceLineNo">129</span> }<a name="line.129"></a> +<span class="sourceLineNo">130</span><a name="line.130"></a> +<span class="sourceLineNo">131</span> public byte[] getFamily() {<a name="line.131"></a> +<span class="sourceLineNo">132</span> return family;<a name="line.132"></a> +<span class="sourceLineNo">133</span> }<a name="line.133"></a> +<span class="sourceLineNo">134</span><a name="line.134"></a> +<span class="sourceLineNo">135</span> public int getMinVersions() {<a name="line.135"></a> +<span class="sourceLineNo">136</span> return minVersions;<a name="line.136"></a> +<span class="sourceLineNo">137</span> }<a name="line.137"></a> +<span class="sourceLineNo">138</span><a name="line.138"></a> +<span class="sourceLineNo">139</span> public int getMaxVersions() {<a name="line.139"></a> +<span class="sourceLineNo">140</span> return maxVersions;<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> public long getTtl() {<a name="line.143"></a> +<span class="sourceLineNo">144</span> return ttl;<a name="line.144"></a> +<span class="sourceLineNo">145</span> }<a name="line.145"></a> +<span class="sourceLineNo">146</span><a name="line.146"></a> +<span class="sourceLineNo">147</span> public KeepDeletedCells getKeepDeletedCells() {<a name="line.147"></a> +<span class="sourceLineNo">148</span> return keepDeletedCells;<a name="line.148"></a> +<span class="sourceLineNo">149</span> }<a name="line.149"></a> +<span class="sourceLineNo">150</span><a name="line.150"></a> +<span class="sourceLineNo">151</span> public long getTimeToPurgeDeletes() {<a name="line.151"></a> +<span class="sourceLineNo">152</span> return timeToPurgeDeletes;<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 CellComparator getComparator() {<a name="line.155"></a> +<span class="sourceLineNo">156</span> return comparator;<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> long getPreadMaxBytes() {<a name="line.159"></a> +<span class="sourceLineNo">160</span> return preadMaxBytes;<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 isNewVersionBehavior() {<a name="line.163"></a> +<span class="sourceLineNo">164</span> return newVersionBehavior;<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>