http://git-wip-us.apache.org/repos/asf/hbase-site/blob/d434d867/apidocs/overview-tree.html ---------------------------------------------------------------------- diff --git a/apidocs/overview-tree.html b/apidocs/overview-tree.html index 6730bc4..8f3059e 100644 --- a/apidocs/overview-tree.html +++ b/apidocs/overview-tree.html @@ -839,25 +839,25 @@ <li type="circle">org.apache.hadoop.hbase.util.<a href="org/apache/hadoop/hbase/util/Order.html" title="enum in org.apache.hadoop.hbase.util"><span class="strong">Order</span></a></li> <li type="circle">org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/KeepDeletedCells.html" title="enum in org.apache.hadoop.hbase"><span class="strong">KeepDeletedCells</span></a></li> <li type="circle">org.apache.hadoop.hbase.<a href="org/apache/hadoop/hbase/ProcedureState.html" title="enum in org.apache.hadoop.hbase"><span class="strong">ProcedureState</span></a></li> -<li type="circle">org.apache.hadoop.hbase.io.encoding.<a href="org/apache/hadoop/hbase/io/encoding/DataBlockEncoding.html" title="enum in org.apache.hadoop.hbase.io.encoding"><span class="strong">DataBlockEncoding</span></a></li> -<li type="circle">org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/RegexStringComparator.EngineType.html" title="enum in org.apache.hadoop.hbase.filter"><span class="strong">RegexStringComparator.EngineType</span></a></li> -<li type="circle">org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/BitComparator.BitwiseOp.html" title="enum in org.apache.hadoop.hbase.filter"><span class="strong">BitComparator.BitwiseOp</span></a></li> <li type="circle">org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/CompareFilter.CompareOp.html" title="enum in org.apache.hadoop.hbase.filter"><span class="strong">CompareFilter.CompareOp</span></a></li> -<li type="circle">org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter"><span class="strong">Filter.ReturnCode</span></a></li> <li type="circle">org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/FilterList.Operator.html" title="enum in org.apache.hadoop.hbase.filter"><span class="strong">FilterList.Operator</span></a></li> -<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/BloomType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="strong">BloomType</span></a></li> -<li type="circle">org.apache.hadoop.hbase.quotas.<a href="org/apache/hadoop/hbase/quotas/ThrottlingException.Type.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="strong">ThrottlingException.Type</span></a></li> -<li type="circle">org.apache.hadoop.hbase.quotas.<a href="org/apache/hadoop/hbase/quotas/QuotaScope.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="strong">QuotaScope</span></a></li> -<li type="circle">org.apache.hadoop.hbase.quotas.<a href="org/apache/hadoop/hbase/quotas/QuotaType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="strong">QuotaType</span></a></li> -<li type="circle">org.apache.hadoop.hbase.quotas.<a href="org/apache/hadoop/hbase/quotas/ThrottleType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="strong">ThrottleType</span></a></li> -<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">Consistency</span></a></li> -<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/IsolationLevel.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">IsolationLevel</span></a></li> -<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/MasterSwitchType.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">MasterSwitchType</span></a></li> -<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/CompactionState.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">CompactionState</span></a></li> +<li type="circle">org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/Filter.ReturnCode.html" title="enum in org.apache.hadoop.hbase.filter"><span class="strong">Filter.ReturnCode</span></a></li> +<li type="circle">org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/BitComparator.BitwiseOp.html" title="enum in org.apache.hadoop.hbase.filter"><span class="strong">BitComparator.BitwiseOp</span></a></li> +<li type="circle">org.apache.hadoop.hbase.filter.<a href="org/apache/hadoop/hbase/filter/RegexStringComparator.EngineType.html" title="enum in org.apache.hadoop.hbase.filter"><span class="strong">RegexStringComparator.EngineType</span></a></li> +<li type="circle">org.apache.hadoop.hbase.io.encoding.<a href="org/apache/hadoop/hbase/io/encoding/DataBlockEncoding.html" title="enum in org.apache.hadoop.hbase.io.encoding"><span class="strong">DataBlockEncoding</span></a></li> <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/CompactType.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">CompactType</span></a></li> <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Durability.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">Durability</span></a></li> +<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/IsolationLevel.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">IsolationLevel</span></a></li> +<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/CompactionState.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">CompactionState</span></a></li> +<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/MasterSwitchType.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">MasterSwitchType</span></a></li> +<li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/Consistency.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">Consistency</span></a></li> <li type="circle">org.apache.hadoop.hbase.client.<a href="org/apache/hadoop/hbase/client/SnapshotType.html" title="enum in org.apache.hadoop.hbase.client"><span class="strong">SnapshotType</span></a></li> <li type="circle">org.apache.hadoop.hbase.client.security.<a href="org/apache/hadoop/hbase/client/security/SecurityCapability.html" title="enum in org.apache.hadoop.hbase.client.security"><span class="strong">SecurityCapability</span></a></li> +<li type="circle">org.apache.hadoop.hbase.regionserver.<a href="org/apache/hadoop/hbase/regionserver/BloomType.html" title="enum in org.apache.hadoop.hbase.regionserver"><span class="strong">BloomType</span></a></li> +<li type="circle">org.apache.hadoop.hbase.quotas.<a href="org/apache/hadoop/hbase/quotas/ThrottlingException.Type.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="strong">ThrottlingException.Type</span></a></li> +<li type="circle">org.apache.hadoop.hbase.quotas.<a href="org/apache/hadoop/hbase/quotas/QuotaScope.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="strong">QuotaScope</span></a></li> +<li type="circle">org.apache.hadoop.hbase.quotas.<a href="org/apache/hadoop/hbase/quotas/ThrottleType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="strong">ThrottleType</span></a></li> +<li type="circle">org.apache.hadoop.hbase.quotas.<a href="org/apache/hadoop/hbase/quotas/QuotaType.html" title="enum in org.apache.hadoop.hbase.quotas"><span class="strong">QuotaType</span></a></li> </ul> </li> </ul>
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/d434d867/apidocs/src-html/org/apache/hadoop/hbase/HColumnDescriptor.html ---------------------------------------------------------------------- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/HColumnDescriptor.html b/apidocs/src-html/org/apache/hadoop/hbase/HColumnDescriptor.html index 87168fe..874a0ff 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/HColumnDescriptor.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/HColumnDescriptor.html @@ -72,7 +72,7 @@ <span class="sourceLineNo">064</span> // Version 11 -- add column family level configuration.<a name="line.64"></a> <span class="sourceLineNo">065</span> private static final byte COLUMN_DESCRIPTOR_VERSION = (byte) 11;<a name="line.65"></a> <span class="sourceLineNo">066</span><a name="line.66"></a> -<span class="sourceLineNo">067</span> private static final String IN_MEMORY_COMPACTION = "IN_MEMORY_COMPACTION";<a name="line.67"></a> +<span class="sourceLineNo">067</span> public static final String IN_MEMORY_COMPACTION = "IN_MEMORY_COMPACTION";<a name="line.67"></a> <span class="sourceLineNo">068</span><a name="line.68"></a> <span class="sourceLineNo">069</span> // These constants are used as FileInfo keys<a name="line.69"></a> <span class="sourceLineNo">070</span> public static final String COMPRESSION = "COMPRESSION";<a name="line.70"></a> http://git-wip-us.apache.org/repos/asf/hbase-site/blob/d434d867/apidocs/src-html/org/apache/hadoop/hbase/RegionLoad.html ---------------------------------------------------------------------- diff --git a/apidocs/src-html/org/apache/hadoop/hbase/RegionLoad.html b/apidocs/src-html/org/apache/hadoop/hbase/RegionLoad.html index 9dea220..8176664 100644 --- a/apidocs/src-html/org/apache/hadoop/hbase/RegionLoad.html +++ b/apidocs/src-html/org/apache/hadoop/hbase/RegionLoad.html @@ -46,214 +46,215 @@ <span class="sourceLineNo">038</span><a name="line.38"></a> <span class="sourceLineNo">039</span> protected ClusterStatusProtos.RegionLoad regionLoadPB;<a name="line.39"></a> <span class="sourceLineNo">040</span><a name="line.40"></a> -<span class="sourceLineNo">041</span> public RegionLoad(ClusterStatusProtos.RegionLoad regionLoadPB) {<a name="line.41"></a> -<span class="sourceLineNo">042</span> this.regionLoadPB = regionLoadPB;<a name="line.42"></a> -<span class="sourceLineNo">043</span> }<a name="line.43"></a> -<span class="sourceLineNo">044</span><a name="line.44"></a> -<span class="sourceLineNo">045</span> /**<a name="line.45"></a> -<span class="sourceLineNo">046</span> * @return the region name<a name="line.46"></a> -<span class="sourceLineNo">047</span> */<a name="line.47"></a> -<span class="sourceLineNo">048</span> public byte[] getName() {<a name="line.48"></a> -<span class="sourceLineNo">049</span> return regionLoadPB.getRegionSpecifier().getValue().toByteArray();<a name="line.49"></a> -<span class="sourceLineNo">050</span> }<a name="line.50"></a> -<span class="sourceLineNo">051</span><a name="line.51"></a> -<span class="sourceLineNo">052</span> /**<a name="line.52"></a> -<span class="sourceLineNo">053</span> * @return the region name as a string<a name="line.53"></a> -<span class="sourceLineNo">054</span> */<a name="line.54"></a> -<span class="sourceLineNo">055</span> public String getNameAsString() {<a name="line.55"></a> -<span class="sourceLineNo">056</span> return Bytes.toString(getName());<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> /**<a name="line.59"></a> -<span class="sourceLineNo">060</span> * @return the number of stores<a name="line.60"></a> -<span class="sourceLineNo">061</span> */<a name="line.61"></a> -<span class="sourceLineNo">062</span> public int getStores() {<a name="line.62"></a> -<span class="sourceLineNo">063</span> return regionLoadPB.getStores();<a name="line.63"></a> -<span class="sourceLineNo">064</span> }<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> * @return the number of storefiles<a name="line.67"></a> -<span class="sourceLineNo">068</span> */<a name="line.68"></a> -<span class="sourceLineNo">069</span> public int getStorefiles() {<a name="line.69"></a> -<span class="sourceLineNo">070</span> return regionLoadPB.getStorefiles();<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> * @return the total size of the storefiles, in MB<a name="line.74"></a> -<span class="sourceLineNo">075</span> */<a name="line.75"></a> -<span class="sourceLineNo">076</span> public int getStorefileSizeMB() {<a name="line.76"></a> -<span class="sourceLineNo">077</span> return regionLoadPB.getStorefileSizeMB();<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> /**<a name="line.80"></a> -<span class="sourceLineNo">081</span> * @return the memstore size, in MB<a name="line.81"></a> -<span class="sourceLineNo">082</span> */<a name="line.82"></a> -<span class="sourceLineNo">083</span> public int getMemStoreSizeMB() {<a name="line.83"></a> -<span class="sourceLineNo">084</span> return regionLoadPB.getMemstoreSizeMB();<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> /**<a name="line.87"></a> -<span class="sourceLineNo">088</span> * @return the approximate size of storefile indexes on the heap, in MB<a name="line.88"></a> -<span class="sourceLineNo">089</span> */<a name="line.89"></a> -<span class="sourceLineNo">090</span> public int getStorefileIndexSizeMB() {<a name="line.90"></a> -<span class="sourceLineNo">091</span> return regionLoadPB.getStorefileIndexSizeMB();<a name="line.91"></a> -<span class="sourceLineNo">092</span> }<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> * @return the number of requests made to region<a name="line.95"></a> -<span class="sourceLineNo">096</span> */<a name="line.96"></a> -<span class="sourceLineNo">097</span> public long getRequestsCount() {<a name="line.97"></a> -<span class="sourceLineNo">098</span> return getReadRequestsCount() + getWriteRequestsCount();<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> /**<a name="line.101"></a> -<span class="sourceLineNo">102</span> * @return the number of read requests made to region<a name="line.102"></a> -<span class="sourceLineNo">103</span> */<a name="line.103"></a> -<span class="sourceLineNo">104</span> public long getReadRequestsCount() {<a name="line.104"></a> -<span class="sourceLineNo">105</span> return regionLoadPB.getReadRequestsCount();<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> /**<a name="line.108"></a> -<span class="sourceLineNo">109</span> * @return the number of filtered read requests made to region<a name="line.109"></a> -<span class="sourceLineNo">110</span> */<a name="line.110"></a> -<span class="sourceLineNo">111</span> public long getFilteredReadRequestsCount() {<a name="line.111"></a> -<span class="sourceLineNo">112</span> return regionLoadPB.getFilteredReadRequestsCount();<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> /**<a name="line.115"></a> -<span class="sourceLineNo">116</span> * @return the number of write requests made to region<a name="line.116"></a> -<span class="sourceLineNo">117</span> */<a name="line.117"></a> -<span class="sourceLineNo">118</span> public long getWriteRequestsCount() {<a name="line.118"></a> -<span class="sourceLineNo">119</span> return regionLoadPB.getWriteRequestsCount();<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> * @return The current total size of root-level indexes for the region, in KB.<a name="line.123"></a> -<span class="sourceLineNo">124</span> */<a name="line.124"></a> -<span class="sourceLineNo">125</span> public int getRootIndexSizeKB() {<a name="line.125"></a> -<span class="sourceLineNo">126</span> return regionLoadPB.getRootIndexSizeKB();<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> /**<a name="line.129"></a> -<span class="sourceLineNo">130</span> * @return The total size of all index blocks, not just the root level, in KB.<a name="line.130"></a> -<span class="sourceLineNo">131</span> */<a name="line.131"></a> -<span class="sourceLineNo">132</span> public int getTotalStaticIndexSizeKB() {<a name="line.132"></a> -<span class="sourceLineNo">133</span> return regionLoadPB.getTotalStaticIndexSizeKB();<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> /**<a name="line.136"></a> -<span class="sourceLineNo">137</span> * @return The total size of all Bloom filter blocks, not just loaded into the<a name="line.137"></a> -<span class="sourceLineNo">138</span> * block cache, in KB.<a name="line.138"></a> -<span class="sourceLineNo">139</span> */<a name="line.139"></a> -<span class="sourceLineNo">140</span> public int getTotalStaticBloomSizeKB() {<a name="line.140"></a> -<span class="sourceLineNo">141</span> return regionLoadPB.getTotalStaticBloomSizeKB();<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> /**<a name="line.144"></a> -<span class="sourceLineNo">145</span> * @return the total number of kvs in current compaction<a name="line.145"></a> -<span class="sourceLineNo">146</span> */<a name="line.146"></a> -<span class="sourceLineNo">147</span> public long getTotalCompactingKVs() {<a name="line.147"></a> -<span class="sourceLineNo">148</span> return regionLoadPB.getTotalCompactingKVs();<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> /**<a name="line.151"></a> -<span class="sourceLineNo">152</span> * @return the number of already compacted kvs in current compaction<a name="line.152"></a> -<span class="sourceLineNo">153</span> */<a name="line.153"></a> -<span class="sourceLineNo">154</span> public long getCurrentCompactedKVs() {<a name="line.154"></a> -<span class="sourceLineNo">155</span> return regionLoadPB.getCurrentCompactedKVs();<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> /**<a name="line.158"></a> -<span class="sourceLineNo">159</span> * This does not really belong inside RegionLoad but its being done in the name of expediency.<a name="line.159"></a> -<span class="sourceLineNo">160</span> * @return the completed sequence Id for the region<a name="line.160"></a> -<span class="sourceLineNo">161</span> */<a name="line.161"></a> -<span class="sourceLineNo">162</span> public long getCompleteSequenceId() {<a name="line.162"></a> -<span class="sourceLineNo">163</span> return regionLoadPB.getCompleteSequenceId();<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> /**<a name="line.166"></a> -<span class="sourceLineNo">167</span> * @return completed sequence id per store.<a name="line.167"></a> -<span class="sourceLineNo">168</span> */<a name="line.168"></a> -<span class="sourceLineNo">169</span> public List<StoreSequenceId> getStoreCompleteSequenceId() {<a name="line.169"></a> -<span class="sourceLineNo">170</span> return regionLoadPB.getStoreCompleteSequenceIdList();<a name="line.170"></a> -<span class="sourceLineNo">171</span> }<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> * @return the uncompressed size of the storefiles in MB.<a name="line.174"></a> -<span class="sourceLineNo">175</span> */<a name="line.175"></a> -<span class="sourceLineNo">176</span> public int getStoreUncompressedSizeMB() {<a name="line.176"></a> -<span class="sourceLineNo">177</span> return regionLoadPB.getStoreUncompressedSizeMB();<a name="line.177"></a> -<span class="sourceLineNo">178</span> }<a name="line.178"></a> -<span class="sourceLineNo">179</span><a name="line.179"></a> -<span class="sourceLineNo">180</span> /**<a name="line.180"></a> -<span class="sourceLineNo">181</span> * @return the data locality of region in the regionserver.<a name="line.181"></a> -<span class="sourceLineNo">182</span> */<a name="line.182"></a> -<span class="sourceLineNo">183</span> public float getDataLocality() {<a name="line.183"></a> -<span class="sourceLineNo">184</span> if (regionLoadPB.hasDataLocality()) {<a name="line.184"></a> -<span class="sourceLineNo">185</span> return regionLoadPB.getDataLocality();<a name="line.185"></a> -<span class="sourceLineNo">186</span> }<a name="line.186"></a> -<span class="sourceLineNo">187</span> return 0.0f;<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">190</span> /**<a name="line.190"></a> -<span class="sourceLineNo">191</span> * @return the timestamp of the oldest hfile for any store of this region.<a name="line.191"></a> -<span class="sourceLineNo">192</span> */<a name="line.192"></a> -<span class="sourceLineNo">193</span> public long getLastMajorCompactionTs() {<a name="line.193"></a> -<span class="sourceLineNo">194</span> return regionLoadPB.getLastMajorCompactionTs();<a name="line.194"></a> -<span class="sourceLineNo">195</span> }<a name="line.195"></a> -<span class="sourceLineNo">196</span><a name="line.196"></a> -<span class="sourceLineNo">197</span> /**<a name="line.197"></a> -<span class="sourceLineNo">198</span> * @see java.lang.Object#toString()<a name="line.198"></a> -<span class="sourceLineNo">199</span> */<a name="line.199"></a> -<span class="sourceLineNo">200</span> @Override<a name="line.200"></a> -<span class="sourceLineNo">201</span> public String toString() {<a name="line.201"></a> -<span class="sourceLineNo">202</span> StringBuilder sb = Strings.appendKeyValue(new StringBuilder(), "numberOfStores",<a name="line.202"></a> -<span class="sourceLineNo">203</span> this.getStores());<a name="line.203"></a> -<span class="sourceLineNo">204</span> sb = Strings.appendKeyValue(sb, "numberOfStorefiles",<a name="line.204"></a> -<span class="sourceLineNo">205</span> this.getStorefiles());<a name="line.205"></a> -<span class="sourceLineNo">206</span> sb = Strings.appendKeyValue(sb, "storefileUncompressedSizeMB",<a name="line.206"></a> -<span class="sourceLineNo">207</span> this.getStoreUncompressedSizeMB());<a name="line.207"></a> -<span class="sourceLineNo">208</span> sb = Strings.appendKeyValue(sb, "lastMajorCompactionTimestamp",<a name="line.208"></a> -<span class="sourceLineNo">209</span> this.getLastMajorCompactionTs());<a name="line.209"></a> -<span class="sourceLineNo">210</span> sb = Strings.appendKeyValue(sb, "storefileSizeMB",<a name="line.210"></a> -<span class="sourceLineNo">211</span> this.getStorefileSizeMB());<a name="line.211"></a> -<span class="sourceLineNo">212</span> if (this.getStoreUncompressedSizeMB() != 0) {<a name="line.212"></a> -<span class="sourceLineNo">213</span> sb = Strings.appendKeyValue(sb, "compressionRatio",<a name="line.213"></a> -<span class="sourceLineNo">214</span> String.format("%.4f", (float) this.getStorefileSizeMB() /<a name="line.214"></a> -<span class="sourceLineNo">215</span> (float) this.getStoreUncompressedSizeMB()));<a name="line.215"></a> -<span class="sourceLineNo">216</span> }<a name="line.216"></a> -<span class="sourceLineNo">217</span> sb = Strings.appendKeyValue(sb, "memstoreSizeMB",<a name="line.217"></a> -<span class="sourceLineNo">218</span> this.getMemStoreSizeMB());<a name="line.218"></a> -<span class="sourceLineNo">219</span> sb = Strings.appendKeyValue(sb, "storefileIndexSizeMB",<a name="line.219"></a> -<span class="sourceLineNo">220</span> this.getStorefileIndexSizeMB());<a name="line.220"></a> -<span class="sourceLineNo">221</span> sb = Strings.appendKeyValue(sb, "readRequestsCount",<a name="line.221"></a> -<span class="sourceLineNo">222</span> this.getReadRequestsCount());<a name="line.222"></a> -<span class="sourceLineNo">223</span> sb = Strings.appendKeyValue(sb, "writeRequestsCount",<a name="line.223"></a> -<span class="sourceLineNo">224</span> this.getWriteRequestsCount());<a name="line.224"></a> -<span class="sourceLineNo">225</span> sb = Strings.appendKeyValue(sb, "rootIndexSizeKB",<a name="line.225"></a> -<span class="sourceLineNo">226</span> this.getRootIndexSizeKB());<a name="line.226"></a> -<span class="sourceLineNo">227</span> sb = Strings.appendKeyValue(sb, "totalStaticIndexSizeKB",<a name="line.227"></a> -<span class="sourceLineNo">228</span> this.getTotalStaticIndexSizeKB());<a name="line.228"></a> -<span class="sourceLineNo">229</span> sb = Strings.appendKeyValue(sb, "totalStaticBloomSizeKB",<a name="line.229"></a> -<span class="sourceLineNo">230</span> this.getTotalStaticBloomSizeKB());<a name="line.230"></a> -<span class="sourceLineNo">231</span> sb = Strings.appendKeyValue(sb, "totalCompactingKVs",<a name="line.231"></a> -<span class="sourceLineNo">232</span> this.getTotalCompactingKVs());<a name="line.232"></a> -<span class="sourceLineNo">233</span> sb = Strings.appendKeyValue(sb, "currentCompactedKVs",<a name="line.233"></a> -<span class="sourceLineNo">234</span> this.getCurrentCompactedKVs());<a name="line.234"></a> -<span class="sourceLineNo">235</span> float compactionProgressPct = Float.NaN;<a name="line.235"></a> -<span class="sourceLineNo">236</span> if (this.getTotalCompactingKVs() > 0) {<a name="line.236"></a> -<span class="sourceLineNo">237</span> compactionProgressPct = ((float) this.getCurrentCompactedKVs() /<a name="line.237"></a> -<span class="sourceLineNo">238</span> (float) this.getTotalCompactingKVs());<a name="line.238"></a> -<span class="sourceLineNo">239</span> }<a name="line.239"></a> -<span class="sourceLineNo">240</span> sb = Strings.appendKeyValue(sb, "compactionProgressPct",<a name="line.240"></a> -<span class="sourceLineNo">241</span> compactionProgressPct);<a name="line.241"></a> -<span class="sourceLineNo">242</span> sb = Strings.appendKeyValue(sb, "completeSequenceId",<a name="line.242"></a> -<span class="sourceLineNo">243</span> this.getCompleteSequenceId());<a name="line.243"></a> -<span class="sourceLineNo">244</span> sb = Strings.appendKeyValue(sb, "dataLocality",<a name="line.244"></a> -<span class="sourceLineNo">245</span> this.getDataLocality());<a name="line.245"></a> -<span class="sourceLineNo">246</span> return sb.toString();<a name="line.246"></a> -<span class="sourceLineNo">247</span> }<a name="line.247"></a> -<span class="sourceLineNo">248</span>}<a name="line.248"></a> +<span class="sourceLineNo">041</span> @InterfaceAudience.Private<a name="line.41"></a> +<span class="sourceLineNo">042</span> public RegionLoad(ClusterStatusProtos.RegionLoad regionLoadPB) {<a name="line.42"></a> +<span class="sourceLineNo">043</span> this.regionLoadPB = regionLoadPB;<a name="line.43"></a> +<span class="sourceLineNo">044</span> }<a name="line.44"></a> +<span class="sourceLineNo">045</span><a name="line.45"></a> +<span class="sourceLineNo">046</span> /**<a name="line.46"></a> +<span class="sourceLineNo">047</span> * @return the region name<a name="line.47"></a> +<span class="sourceLineNo">048</span> */<a name="line.48"></a> +<span class="sourceLineNo">049</span> public byte[] getName() {<a name="line.49"></a> +<span class="sourceLineNo">050</span> return regionLoadPB.getRegionSpecifier().getValue().toByteArray();<a name="line.50"></a> +<span class="sourceLineNo">051</span> }<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> * @return the region name as a string<a name="line.54"></a> +<span class="sourceLineNo">055</span> */<a name="line.55"></a> +<span class="sourceLineNo">056</span> public String getNameAsString() {<a name="line.56"></a> +<span class="sourceLineNo">057</span> return Bytes.toString(getName());<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> * @return the number of stores<a name="line.61"></a> +<span class="sourceLineNo">062</span> */<a name="line.62"></a> +<span class="sourceLineNo">063</span> public int getStores() {<a name="line.63"></a> +<span class="sourceLineNo">064</span> return regionLoadPB.getStores();<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> /**<a name="line.67"></a> +<span class="sourceLineNo">068</span> * @return the number of storefiles<a name="line.68"></a> +<span class="sourceLineNo">069</span> */<a name="line.69"></a> +<span class="sourceLineNo">070</span> public int getStorefiles() {<a name="line.70"></a> +<span class="sourceLineNo">071</span> return regionLoadPB.getStorefiles();<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> /**<a name="line.74"></a> +<span class="sourceLineNo">075</span> * @return the total size of the storefiles, in MB<a name="line.75"></a> +<span class="sourceLineNo">076</span> */<a name="line.76"></a> +<span class="sourceLineNo">077</span> public int getStorefileSizeMB() {<a name="line.77"></a> +<span class="sourceLineNo">078</span> return regionLoadPB.getStorefileSizeMB();<a name="line.78"></a> +<span class="sourceLineNo">079</span> }<a name="line.79"></a> +<span class="sourceLineNo">080</span><a name="line.80"></a> +<span class="sourceLineNo">081</span> /**<a name="line.81"></a> +<span class="sourceLineNo">082</span> * @return the memstore size, in MB<a name="line.82"></a> +<span class="sourceLineNo">083</span> */<a name="line.83"></a> +<span class="sourceLineNo">084</span> public int getMemStoreSizeMB() {<a name="line.84"></a> +<span class="sourceLineNo">085</span> return regionLoadPB.getMemstoreSizeMB();<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> /**<a name="line.88"></a> +<span class="sourceLineNo">089</span> * @return the approximate size of storefile indexes on the heap, in MB<a name="line.89"></a> +<span class="sourceLineNo">090</span> */<a name="line.90"></a> +<span class="sourceLineNo">091</span> public int getStorefileIndexSizeMB() {<a name="line.91"></a> +<span class="sourceLineNo">092</span> return regionLoadPB.getStorefileIndexSizeMB();<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> /**<a name="line.95"></a> +<span class="sourceLineNo">096</span> * @return the number of requests made to region<a name="line.96"></a> +<span class="sourceLineNo">097</span> */<a name="line.97"></a> +<span class="sourceLineNo">098</span> public long getRequestsCount() {<a name="line.98"></a> +<span class="sourceLineNo">099</span> return getReadRequestsCount() + getWriteRequestsCount();<a name="line.99"></a> +<span class="sourceLineNo">100</span> }<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> * @return the number of read requests made to region<a name="line.103"></a> +<span class="sourceLineNo">104</span> */<a name="line.104"></a> +<span class="sourceLineNo">105</span> public long getReadRequestsCount() {<a name="line.105"></a> +<span class="sourceLineNo">106</span> return regionLoadPB.getReadRequestsCount();<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> /**<a name="line.109"></a> +<span class="sourceLineNo">110</span> * @return the number of filtered read requests made to region<a name="line.110"></a> +<span class="sourceLineNo">111</span> */<a name="line.111"></a> +<span class="sourceLineNo">112</span> public long getFilteredReadRequestsCount() {<a name="line.112"></a> +<span class="sourceLineNo">113</span> return regionLoadPB.getFilteredReadRequestsCount();<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> /**<a name="line.116"></a> +<span class="sourceLineNo">117</span> * @return the number of write requests made to region<a name="line.117"></a> +<span class="sourceLineNo">118</span> */<a name="line.118"></a> +<span class="sourceLineNo">119</span> public long getWriteRequestsCount() {<a name="line.119"></a> +<span class="sourceLineNo">120</span> return regionLoadPB.getWriteRequestsCount();<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> /**<a name="line.123"></a> +<span class="sourceLineNo">124</span> * @return The current total size of root-level indexes for the region, in KB.<a name="line.124"></a> +<span class="sourceLineNo">125</span> */<a name="line.125"></a> +<span class="sourceLineNo">126</span> public int getRootIndexSizeKB() {<a name="line.126"></a> +<span class="sourceLineNo">127</span> return regionLoadPB.getRootIndexSizeKB();<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> /**<a name="line.130"></a> +<span class="sourceLineNo">131</span> * @return The total size of all index blocks, not just the root level, in KB.<a name="line.131"></a> +<span class="sourceLineNo">132</span> */<a name="line.132"></a> +<span class="sourceLineNo">133</span> public int getTotalStaticIndexSizeKB() {<a name="line.133"></a> +<span class="sourceLineNo">134</span> return regionLoadPB.getTotalStaticIndexSizeKB();<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> /**<a name="line.137"></a> +<span class="sourceLineNo">138</span> * @return The total size of all Bloom filter blocks, not just loaded into the<a name="line.138"></a> +<span class="sourceLineNo">139</span> * block cache, in KB.<a name="line.139"></a> +<span class="sourceLineNo">140</span> */<a name="line.140"></a> +<span class="sourceLineNo">141</span> public int getTotalStaticBloomSizeKB() {<a name="line.141"></a> +<span class="sourceLineNo">142</span> return regionLoadPB.getTotalStaticBloomSizeKB();<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> /**<a name="line.145"></a> +<span class="sourceLineNo">146</span> * @return the total number of kvs in current compaction<a name="line.146"></a> +<span class="sourceLineNo">147</span> */<a name="line.147"></a> +<span class="sourceLineNo">148</span> public long getTotalCompactingKVs() {<a name="line.148"></a> +<span class="sourceLineNo">149</span> return regionLoadPB.getTotalCompactingKVs();<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> /**<a name="line.152"></a> +<span class="sourceLineNo">153</span> * @return the number of already compacted kvs in current compaction<a name="line.153"></a> +<span class="sourceLineNo">154</span> */<a name="line.154"></a> +<span class="sourceLineNo">155</span> public long getCurrentCompactedKVs() {<a name="line.155"></a> +<span class="sourceLineNo">156</span> return regionLoadPB.getCurrentCompactedKVs();<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> /**<a name="line.159"></a> +<span class="sourceLineNo">160</span> * This does not really belong inside RegionLoad but its being done in the name of expediency.<a name="line.160"></a> +<span class="sourceLineNo">161</span> * @return the completed sequence Id for the region<a name="line.161"></a> +<span class="sourceLineNo">162</span> */<a name="line.162"></a> +<span class="sourceLineNo">163</span> public long getCompleteSequenceId() {<a name="line.163"></a> +<span class="sourceLineNo">164</span> return regionLoadPB.getCompleteSequenceId();<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> /**<a name="line.167"></a> +<span class="sourceLineNo">168</span> * @return completed sequence id per store.<a name="line.168"></a> +<span class="sourceLineNo">169</span> */<a name="line.169"></a> +<span class="sourceLineNo">170</span> public List<StoreSequenceId> getStoreCompleteSequenceId() {<a name="line.170"></a> +<span class="sourceLineNo">171</span> return regionLoadPB.getStoreCompleteSequenceIdList();<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> /**<a name="line.174"></a> +<span class="sourceLineNo">175</span> * @return the uncompressed size of the storefiles in MB.<a name="line.175"></a> +<span class="sourceLineNo">176</span> */<a name="line.176"></a> +<span class="sourceLineNo">177</span> public int getStoreUncompressedSizeMB() {<a name="line.177"></a> +<span class="sourceLineNo">178</span> return regionLoadPB.getStoreUncompressedSizeMB();<a name="line.178"></a> +<span class="sourceLineNo">179</span> }<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> * @return the data locality of region in the regionserver.<a name="line.182"></a> +<span class="sourceLineNo">183</span> */<a name="line.183"></a> +<span class="sourceLineNo">184</span> public float getDataLocality() {<a name="line.184"></a> +<span class="sourceLineNo">185</span> if (regionLoadPB.hasDataLocality()) {<a name="line.185"></a> +<span class="sourceLineNo">186</span> return regionLoadPB.getDataLocality();<a name="line.186"></a> +<span class="sourceLineNo">187</span> }<a name="line.187"></a> +<span class="sourceLineNo">188</span> return 0.0f;<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> +<span class="sourceLineNo">191</span> /**<a name="line.191"></a> +<span class="sourceLineNo">192</span> * @return the timestamp of the oldest hfile for any store of this region.<a name="line.192"></a> +<span class="sourceLineNo">193</span> */<a name="line.193"></a> +<span class="sourceLineNo">194</span> public long getLastMajorCompactionTs() {<a name="line.194"></a> +<span class="sourceLineNo">195</span> return regionLoadPB.getLastMajorCompactionTs();<a name="line.195"></a> +<span class="sourceLineNo">196</span> }<a name="line.196"></a> +<span class="sourceLineNo">197</span><a name="line.197"></a> +<span class="sourceLineNo">198</span> /**<a name="line.198"></a> +<span class="sourceLineNo">199</span> * @see java.lang.Object#toString()<a name="line.199"></a> +<span class="sourceLineNo">200</span> */<a name="line.200"></a> +<span class="sourceLineNo">201</span> @Override<a name="line.201"></a> +<span class="sourceLineNo">202</span> public String toString() {<a name="line.202"></a> +<span class="sourceLineNo">203</span> StringBuilder sb = Strings.appendKeyValue(new StringBuilder(), "numberOfStores",<a name="line.203"></a> +<span class="sourceLineNo">204</span> this.getStores());<a name="line.204"></a> +<span class="sourceLineNo">205</span> sb = Strings.appendKeyValue(sb, "numberOfStorefiles",<a name="line.205"></a> +<span class="sourceLineNo">206</span> this.getStorefiles());<a name="line.206"></a> +<span class="sourceLineNo">207</span> sb = Strings.appendKeyValue(sb, "storefileUncompressedSizeMB",<a name="line.207"></a> +<span class="sourceLineNo">208</span> this.getStoreUncompressedSizeMB());<a name="line.208"></a> +<span class="sourceLineNo">209</span> sb = Strings.appendKeyValue(sb, "lastMajorCompactionTimestamp",<a name="line.209"></a> +<span class="sourceLineNo">210</span> this.getLastMajorCompactionTs());<a name="line.210"></a> +<span class="sourceLineNo">211</span> sb = Strings.appendKeyValue(sb, "storefileSizeMB",<a name="line.211"></a> +<span class="sourceLineNo">212</span> this.getStorefileSizeMB());<a name="line.212"></a> +<span class="sourceLineNo">213</span> if (this.getStoreUncompressedSizeMB() != 0) {<a name="line.213"></a> +<span class="sourceLineNo">214</span> sb = Strings.appendKeyValue(sb, "compressionRatio",<a name="line.214"></a> +<span class="sourceLineNo">215</span> String.format("%.4f", (float) this.getStorefileSizeMB() /<a name="line.215"></a> +<span class="sourceLineNo">216</span> (float) this.getStoreUncompressedSizeMB()));<a name="line.216"></a> +<span class="sourceLineNo">217</span> }<a name="line.217"></a> +<span class="sourceLineNo">218</span> sb = Strings.appendKeyValue(sb, "memstoreSizeMB",<a name="line.218"></a> +<span class="sourceLineNo">219</span> this.getMemStoreSizeMB());<a name="line.219"></a> +<span class="sourceLineNo">220</span> sb = Strings.appendKeyValue(sb, "storefileIndexSizeMB",<a name="line.220"></a> +<span class="sourceLineNo">221</span> this.getStorefileIndexSizeMB());<a name="line.221"></a> +<span class="sourceLineNo">222</span> sb = Strings.appendKeyValue(sb, "readRequestsCount",<a name="line.222"></a> +<span class="sourceLineNo">223</span> this.getReadRequestsCount());<a name="line.223"></a> +<span class="sourceLineNo">224</span> sb = Strings.appendKeyValue(sb, "writeRequestsCount",<a name="line.224"></a> +<span class="sourceLineNo">225</span> this.getWriteRequestsCount());<a name="line.225"></a> +<span class="sourceLineNo">226</span> sb = Strings.appendKeyValue(sb, "rootIndexSizeKB",<a name="line.226"></a> +<span class="sourceLineNo">227</span> this.getRootIndexSizeKB());<a name="line.227"></a> +<span class="sourceLineNo">228</span> sb = Strings.appendKeyValue(sb, "totalStaticIndexSizeKB",<a name="line.228"></a> +<span class="sourceLineNo">229</span> this.getTotalStaticIndexSizeKB());<a name="line.229"></a> +<span class="sourceLineNo">230</span> sb = Strings.appendKeyValue(sb, "totalStaticBloomSizeKB",<a name="line.230"></a> +<span class="sourceLineNo">231</span> this.getTotalStaticBloomSizeKB());<a name="line.231"></a> +<span class="sourceLineNo">232</span> sb = Strings.appendKeyValue(sb, "totalCompactingKVs",<a name="line.232"></a> +<span class="sourceLineNo">233</span> this.getTotalCompactingKVs());<a name="line.233"></a> +<span class="sourceLineNo">234</span> sb = Strings.appendKeyValue(sb, "currentCompactedKVs",<a name="line.234"></a> +<span class="sourceLineNo">235</span> this.getCurrentCompactedKVs());<a name="line.235"></a> +<span class="sourceLineNo">236</span> float compactionProgressPct = Float.NaN;<a name="line.236"></a> +<span class="sourceLineNo">237</span> if (this.getTotalCompactingKVs() > 0) {<a name="line.237"></a> +<span class="sourceLineNo">238</span> compactionProgressPct = ((float) this.getCurrentCompactedKVs() /<a name="line.238"></a> +<span class="sourceLineNo">239</span> (float) this.getTotalCompactingKVs());<a name="line.239"></a> +<span class="sourceLineNo">240</span> }<a name="line.240"></a> +<span class="sourceLineNo">241</span> sb = Strings.appendKeyValue(sb, "compactionProgressPct",<a name="line.241"></a> +<span class="sourceLineNo">242</span> compactionProgressPct);<a name="line.242"></a> +<span class="sourceLineNo">243</span> sb = Strings.appendKeyValue(sb, "completeSequenceId",<a name="line.243"></a> +<span class="sourceLineNo">244</span> this.getCompleteSequenceId());<a name="line.244"></a> +<span class="sourceLineNo">245</span> sb = Strings.appendKeyValue(sb, "dataLocality",<a name="line.245"></a> +<span class="sourceLineNo">246</span> this.getDataLocality());<a name="line.246"></a> +<span class="sourceLineNo">247</span> return sb.toString();<a name="line.247"></a> +<span class="sourceLineNo">248</span> }<a name="line.248"></a> +<span class="sourceLineNo">249</span>}<a name="line.249"></a>