hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [34/51] [partial] hbase-site git commit: Published site at .
Date Thu, 11 Jan 2018 15:31:23 GMT
http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f183e80f/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/querymatcher/UserScanQueryMatcher.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/querymatcher/UserScanQueryMatcher.html b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/querymatcher/UserScanQueryMatcher.html
index 6096dcc..3cb24fc 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/querymatcher/UserScanQueryMatcher.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/regionserver/querymatcher/UserScanQueryMatcher.html
@@ -245,56 +245,62 @@
 <span class="sourceLineNo">237</span>    count += 1;<a name="line.237"></a>
 <span class="sourceLineNo">238</span><a name="line.238"></a>
 <span class="sourceLineNo">239</span>    if (count &gt; versionsAfterFilter) {<a name="line.239"></a>
-<span class="sourceLineNo">240</span>      return MatchCode.SEEK_NEXT_COL;<a name="line.240"></a>
-<span class="sourceLineNo">241</span>    } else {<a name="line.241"></a>
-<span class="sourceLineNo">242</span>      if (matchCode == MatchCode.INCLUDE_AND_SEEK_NEXT_COL) {<a name="line.242"></a>
-<span class="sourceLineNo">243</span>        // Update column tracker to next column, As we use the column hint from the tracker to seek<a name="line.243"></a>
-<span class="sourceLineNo">244</span>        // to next cell<a name="line.244"></a>
-<span class="sourceLineNo">245</span>        columns.doneWithColumn(cell);<a name="line.245"></a>
-<span class="sourceLineNo">246</span>      }<a name="line.246"></a>
-<span class="sourceLineNo">247</span>      return matchCode;<a name="line.247"></a>
+<span class="sourceLineNo">240</span>      // when the number of cells exceed max version in scan, we should return SEEK_NEXT_COL match<a name="line.240"></a>
+<span class="sourceLineNo">241</span>      // code, but if current code is INCLUDE_AND_SEEK_NEXT_ROW, we can optimize to choose the max<a name="line.241"></a>
+<span class="sourceLineNo">242</span>      // step between SEEK_NEXT_COL and INCLUDE_AND_SEEK_NEXT_ROW, which is SEEK_NEXT_ROW.<a name="line.242"></a>
+<span class="sourceLineNo">243</span>      if (matchCode == MatchCode.INCLUDE_AND_SEEK_NEXT_ROW) {<a name="line.243"></a>
+<span class="sourceLineNo">244</span>        matchCode = MatchCode.SEEK_NEXT_ROW;<a name="line.244"></a>
+<span class="sourceLineNo">245</span>      } else {<a name="line.245"></a>
+<span class="sourceLineNo">246</span>        matchCode = MatchCode.SEEK_NEXT_COL;<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">249</span>  }<a name="line.249"></a>
-<span class="sourceLineNo">250</span><a name="line.250"></a>
-<span class="sourceLineNo">251</span>  protected abstract boolean isGet();<a name="line.251"></a>
-<span class="sourceLineNo">252</span><a name="line.252"></a>
-<span class="sourceLineNo">253</span>  protected abstract boolean moreRowsMayExistsAfter(int cmpToStopRow);<a name="line.253"></a>
-<span class="sourceLineNo">254</span><a name="line.254"></a>
-<span class="sourceLineNo">255</span>  @Override<a name="line.255"></a>
-<span class="sourceLineNo">256</span>  public boolean moreRowsMayExistAfter(Cell cell) {<a name="line.256"></a>
-<span class="sourceLineNo">257</span>    // If a 'get' Scan -- we are doing a Get (every Get is a single-row Scan in implementation) --<a name="line.257"></a>
-<span class="sourceLineNo">258</span>    // then we are looking at one row only, the one specified in the Get coordinate..so we know<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    // for sure that there are no more rows on this Scan<a name="line.259"></a>
-<span class="sourceLineNo">260</span>    if (isGet()) {<a name="line.260"></a>
-<span class="sourceLineNo">261</span>      return false;<a name="line.261"></a>
-<span class="sourceLineNo">262</span>    }<a name="line.262"></a>
-<span class="sourceLineNo">263</span>    // If no stopRow, return that there may be more rows. The tests that follow depend on a<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    // non-empty, non-default stopRow so this little test below short-circuits out doing the<a name="line.264"></a>
-<span class="sourceLineNo">265</span>    // following compares.<a name="line.265"></a>
-<span class="sourceLineNo">266</span>    if (this.stopRow == null || this.stopRow.length == 0) {<a name="line.266"></a>
-<span class="sourceLineNo">267</span>      return true;<a name="line.267"></a>
+<span class="sourceLineNo">249</span>    if (matchCode == MatchCode.INCLUDE_AND_SEEK_NEXT_COL || matchCode == MatchCode.SEEK_NEXT_COL) {<a name="line.249"></a>
+<span class="sourceLineNo">250</span>      // Update column tracker to next column, As we use the column hint from the tracker to seek<a name="line.250"></a>
+<span class="sourceLineNo">251</span>      // to next cell (HBASE-19749)<a name="line.251"></a>
+<span class="sourceLineNo">252</span>      columns.doneWithColumn(cell);<a name="line.252"></a>
+<span class="sourceLineNo">253</span>    }<a name="line.253"></a>
+<span class="sourceLineNo">254</span>    return matchCode;<a name="line.254"></a>
+<span class="sourceLineNo">255</span>  }<a name="line.255"></a>
+<span class="sourceLineNo">256</span><a name="line.256"></a>
+<span class="sourceLineNo">257</span>  protected abstract boolean isGet();<a name="line.257"></a>
+<span class="sourceLineNo">258</span><a name="line.258"></a>
+<span class="sourceLineNo">259</span>  protected abstract boolean moreRowsMayExistsAfter(int cmpToStopRow);<a name="line.259"></a>
+<span class="sourceLineNo">260</span><a name="line.260"></a>
+<span class="sourceLineNo">261</span>  @Override<a name="line.261"></a>
+<span class="sourceLineNo">262</span>  public boolean moreRowsMayExistAfter(Cell cell) {<a name="line.262"></a>
+<span class="sourceLineNo">263</span>    // If a 'get' Scan -- we are doing a Get (every Get is a single-row Scan in implementation) --<a name="line.263"></a>
+<span class="sourceLineNo">264</span>    // then we are looking at one row only, the one specified in the Get coordinate..so we know<a name="line.264"></a>
+<span class="sourceLineNo">265</span>    // for sure that there are no more rows on this Scan<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    if (isGet()) {<a name="line.266"></a>
+<span class="sourceLineNo">267</span>      return false;<a name="line.267"></a>
 <span class="sourceLineNo">268</span>    }<a name="line.268"></a>
-<span class="sourceLineNo">269</span>    return moreRowsMayExistsAfter(rowComparator.compareRows(cell, stopRow, 0, stopRow.length));<a name="line.269"></a>
-<span class="sourceLineNo">270</span>  }<a name="line.270"></a>
-<span class="sourceLineNo">271</span><a name="line.271"></a>
-<span class="sourceLineNo">272</span>  public static UserScanQueryMatcher create(Scan scan, ScanInfo scanInfo,<a name="line.272"></a>
-<span class="sourceLineNo">273</span>      NavigableSet&lt;byte[]&gt; columns, long oldestUnexpiredTS, long now,<a name="line.273"></a>
-<span class="sourceLineNo">274</span>      RegionCoprocessorHost regionCoprocessorHost) throws IOException {<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    boolean hasNullColumn =<a name="line.275"></a>
-<span class="sourceLineNo">276</span>        !(columns != null &amp;&amp; columns.size() != 0 &amp;&amp; columns.first().length != 0);<a name="line.276"></a>
-<span class="sourceLineNo">277</span>    Pair&lt;DeleteTracker, ColumnTracker&gt; trackers = getTrackers(regionCoprocessorHost, columns,<a name="line.277"></a>
-<span class="sourceLineNo">278</span>        scanInfo, oldestUnexpiredTS, scan);<a name="line.278"></a>
-<span class="sourceLineNo">279</span>    DeleteTracker deleteTracker = trackers.getFirst();<a name="line.279"></a>
-<span class="sourceLineNo">280</span>    ColumnTracker columnTracker = trackers.getSecond();<a name="line.280"></a>
-<span class="sourceLineNo">281</span>    if (scan.isRaw()) {<a name="line.281"></a>
-<span class="sourceLineNo">282</span>      return RawScanQueryMatcher.create(scan, scanInfo, columnTracker, hasNullColumn,<a name="line.282"></a>
-<span class="sourceLineNo">283</span>        oldestUnexpiredTS, now);<a name="line.283"></a>
-<span class="sourceLineNo">284</span>    } else {<a name="line.284"></a>
-<span class="sourceLineNo">285</span>      return NormalUserScanQueryMatcher.create(scan, scanInfo, columnTracker, deleteTracker,<a name="line.285"></a>
-<span class="sourceLineNo">286</span>          hasNullColumn, oldestUnexpiredTS, now);<a name="line.286"></a>
-<span class="sourceLineNo">287</span>    }<a name="line.287"></a>
-<span class="sourceLineNo">288</span>  }<a name="line.288"></a>
-<span class="sourceLineNo">289</span>}<a name="line.289"></a>
+<span class="sourceLineNo">269</span>    // If no stopRow, return that there may be more rows. The tests that follow depend on a<a name="line.269"></a>
+<span class="sourceLineNo">270</span>    // non-empty, non-default stopRow so this little test below short-circuits out doing the<a name="line.270"></a>
+<span class="sourceLineNo">271</span>    // following compares.<a name="line.271"></a>
+<span class="sourceLineNo">272</span>    if (this.stopRow == null || this.stopRow.length == 0) {<a name="line.272"></a>
+<span class="sourceLineNo">273</span>      return true;<a name="line.273"></a>
+<span class="sourceLineNo">274</span>    }<a name="line.274"></a>
+<span class="sourceLineNo">275</span>    return moreRowsMayExistsAfter(rowComparator.compareRows(cell, stopRow, 0, stopRow.length));<a name="line.275"></a>
+<span class="sourceLineNo">276</span>  }<a name="line.276"></a>
+<span class="sourceLineNo">277</span><a name="line.277"></a>
+<span class="sourceLineNo">278</span>  public static UserScanQueryMatcher create(Scan scan, ScanInfo scanInfo,<a name="line.278"></a>
+<span class="sourceLineNo">279</span>      NavigableSet&lt;byte[]&gt; columns, long oldestUnexpiredTS, long now,<a name="line.279"></a>
+<span class="sourceLineNo">280</span>      RegionCoprocessorHost regionCoprocessorHost) throws IOException {<a name="line.280"></a>
+<span class="sourceLineNo">281</span>    boolean hasNullColumn =<a name="line.281"></a>
+<span class="sourceLineNo">282</span>        !(columns != null &amp;&amp; columns.size() != 0 &amp;&amp; columns.first().length != 0);<a name="line.282"></a>
+<span class="sourceLineNo">283</span>    Pair&lt;DeleteTracker, ColumnTracker&gt; trackers = getTrackers(regionCoprocessorHost, columns,<a name="line.283"></a>
+<span class="sourceLineNo">284</span>        scanInfo, oldestUnexpiredTS, scan);<a name="line.284"></a>
+<span class="sourceLineNo">285</span>    DeleteTracker deleteTracker = trackers.getFirst();<a name="line.285"></a>
+<span class="sourceLineNo">286</span>    ColumnTracker columnTracker = trackers.getSecond();<a name="line.286"></a>
+<span class="sourceLineNo">287</span>    if (scan.isRaw()) {<a name="line.287"></a>
+<span class="sourceLineNo">288</span>      return RawScanQueryMatcher.create(scan, scanInfo, columnTracker, hasNullColumn,<a name="line.288"></a>
+<span class="sourceLineNo">289</span>        oldestUnexpiredTS, now);<a name="line.289"></a>
+<span class="sourceLineNo">290</span>    } else {<a name="line.290"></a>
+<span class="sourceLineNo">291</span>      return NormalUserScanQueryMatcher.create(scan, scanInfo, columnTracker, deleteTracker,<a name="line.291"></a>
+<span class="sourceLineNo">292</span>          hasNullColumn, oldestUnexpiredTS, now);<a name="line.292"></a>
+<span class="sourceLineNo">293</span>    }<a name="line.293"></a>
+<span class="sourceLineNo">294</span>  }<a name="line.294"></a>
+<span class="sourceLineNo">295</span>}<a name="line.295"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f183e80f/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.html
index af76dd3..bce1a69 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.ReplicationPeerConfigBuilderImpl.html
@@ -322,59 +322,61 @@
 <span class="sourceLineNo">314</span><a name="line.314"></a>
 <span class="sourceLineNo">315</span>    @Override<a name="line.315"></a>
 <span class="sourceLineNo">316</span>    public ReplicationPeerConfig build() {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>      return new ReplicationPeerConfig(this);<a name="line.317"></a>
-<span class="sourceLineNo">318</span>    }<a name="line.318"></a>
-<span class="sourceLineNo">319</span>  }<a name="line.319"></a>
-<span class="sourceLineNo">320</span><a name="line.320"></a>
-<span class="sourceLineNo">321</span>  @Override<a name="line.321"></a>
-<span class="sourceLineNo">322</span>  public String toString() {<a name="line.322"></a>
-<span class="sourceLineNo">323</span>    StringBuilder builder = new StringBuilder("clusterKey=").append(clusterKey).append(",");<a name="line.323"></a>
-<span class="sourceLineNo">324</span>    builder.append("replicationEndpointImpl=").append(replicationEndpointImpl).append(",");<a name="line.324"></a>
-<span class="sourceLineNo">325</span>    builder.append("replicateAllUserTables=").append(replicateAllUserTables).append(",");<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    if (replicateAllUserTables) {<a name="line.326"></a>
-<span class="sourceLineNo">327</span>      if (excludeNamespaces != null) {<a name="line.327"></a>
-<span class="sourceLineNo">328</span>        builder.append("excludeNamespaces=").append(excludeNamespaces.toString()).append(",");<a name="line.328"></a>
-<span class="sourceLineNo">329</span>      }<a name="line.329"></a>
-<span class="sourceLineNo">330</span>      if (excludeTableCFsMap != null) {<a name="line.330"></a>
-<span class="sourceLineNo">331</span>        builder.append("excludeTableCFsMap=").append(excludeTableCFsMap.toString()).append(",");<a name="line.331"></a>
-<span class="sourceLineNo">332</span>      }<a name="line.332"></a>
-<span class="sourceLineNo">333</span>    } else {<a name="line.333"></a>
-<span class="sourceLineNo">334</span>      if (namespaces != null) {<a name="line.334"></a>
-<span class="sourceLineNo">335</span>        builder.append("namespaces=").append(namespaces.toString()).append(",");<a name="line.335"></a>
-<span class="sourceLineNo">336</span>      }<a name="line.336"></a>
-<span class="sourceLineNo">337</span>      if (tableCFsMap != null) {<a name="line.337"></a>
-<span class="sourceLineNo">338</span>        builder.append("tableCFs=").append(tableCFsMap.toString()).append(",");<a name="line.338"></a>
-<span class="sourceLineNo">339</span>      }<a name="line.339"></a>
-<span class="sourceLineNo">340</span>    }<a name="line.340"></a>
-<span class="sourceLineNo">341</span>    builder.append("bandwidth=").append(bandwidth);<a name="line.341"></a>
-<span class="sourceLineNo">342</span>    return builder.toString();<a name="line.342"></a>
-<span class="sourceLineNo">343</span>  }<a name="line.343"></a>
-<span class="sourceLineNo">344</span><a name="line.344"></a>
-<span class="sourceLineNo">345</span>  /**<a name="line.345"></a>
-<span class="sourceLineNo">346</span>   * Decide whether the table need replicate to the peer cluster<a name="line.346"></a>
-<span class="sourceLineNo">347</span>   * @param table name of the table<a name="line.347"></a>
-<span class="sourceLineNo">348</span>   * @return true if the table need replicate to the peer cluster<a name="line.348"></a>
-<span class="sourceLineNo">349</span>   */<a name="line.349"></a>
-<span class="sourceLineNo">350</span>  public boolean needToReplicate(TableName table) {<a name="line.350"></a>
-<span class="sourceLineNo">351</span>    if (replicateAllUserTables) {<a name="line.351"></a>
-<span class="sourceLineNo">352</span>      if (excludeNamespaces != null &amp;&amp; excludeNamespaces.contains(table.getNamespaceAsString())) {<a name="line.352"></a>
-<span class="sourceLineNo">353</span>        return false;<a name="line.353"></a>
-<span class="sourceLineNo">354</span>      }<a name="line.354"></a>
-<span class="sourceLineNo">355</span>      if (excludeTableCFsMap != null &amp;&amp; excludeTableCFsMap.containsKey(table)) {<a name="line.355"></a>
-<span class="sourceLineNo">356</span>        return false;<a name="line.356"></a>
-<span class="sourceLineNo">357</span>      }<a name="line.357"></a>
-<span class="sourceLineNo">358</span>      return true;<a name="line.358"></a>
-<span class="sourceLineNo">359</span>    } else {<a name="line.359"></a>
-<span class="sourceLineNo">360</span>      if (namespaces != null &amp;&amp; namespaces.contains(table.getNamespaceAsString())) {<a name="line.360"></a>
-<span class="sourceLineNo">361</span>        return true;<a name="line.361"></a>
-<span class="sourceLineNo">362</span>      }<a name="line.362"></a>
-<span class="sourceLineNo">363</span>      if (tableCFsMap != null &amp;&amp; tableCFsMap.containsKey(table)) {<a name="line.363"></a>
-<span class="sourceLineNo">364</span>        return true;<a name="line.364"></a>
-<span class="sourceLineNo">365</span>      }<a name="line.365"></a>
-<span class="sourceLineNo">366</span>      return false;<a name="line.366"></a>
-<span class="sourceLineNo">367</span>    }<a name="line.367"></a>
-<span class="sourceLineNo">368</span>  }<a name="line.368"></a>
-<span class="sourceLineNo">369</span>}<a name="line.369"></a>
+<span class="sourceLineNo">317</span>      // It would be nice to validate the configuration, but we have to work with "old" data<a name="line.317"></a>
+<span class="sourceLineNo">318</span>      // from ZK which makes it much more difficult.<a name="line.318"></a>
+<span class="sourceLineNo">319</span>      return new ReplicationPeerConfig(this);<a name="line.319"></a>
+<span class="sourceLineNo">320</span>    }<a name="line.320"></a>
+<span class="sourceLineNo">321</span>  }<a name="line.321"></a>
+<span class="sourceLineNo">322</span><a name="line.322"></a>
+<span class="sourceLineNo">323</span>  @Override<a name="line.323"></a>
+<span class="sourceLineNo">324</span>  public String toString() {<a name="line.324"></a>
+<span class="sourceLineNo">325</span>    StringBuilder builder = new StringBuilder("clusterKey=").append(clusterKey).append(",");<a name="line.325"></a>
+<span class="sourceLineNo">326</span>    builder.append("replicationEndpointImpl=").append(replicationEndpointImpl).append(",");<a name="line.326"></a>
+<span class="sourceLineNo">327</span>    builder.append("replicateAllUserTables=").append(replicateAllUserTables).append(",");<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    if (replicateAllUserTables) {<a name="line.328"></a>
+<span class="sourceLineNo">329</span>      if (excludeNamespaces != null) {<a name="line.329"></a>
+<span class="sourceLineNo">330</span>        builder.append("excludeNamespaces=").append(excludeNamespaces.toString()).append(",");<a name="line.330"></a>
+<span class="sourceLineNo">331</span>      }<a name="line.331"></a>
+<span class="sourceLineNo">332</span>      if (excludeTableCFsMap != null) {<a name="line.332"></a>
+<span class="sourceLineNo">333</span>        builder.append("excludeTableCFsMap=").append(excludeTableCFsMap.toString()).append(",");<a name="line.333"></a>
+<span class="sourceLineNo">334</span>      }<a name="line.334"></a>
+<span class="sourceLineNo">335</span>    } else {<a name="line.335"></a>
+<span class="sourceLineNo">336</span>      if (namespaces != null) {<a name="line.336"></a>
+<span class="sourceLineNo">337</span>        builder.append("namespaces=").append(namespaces.toString()).append(",");<a name="line.337"></a>
+<span class="sourceLineNo">338</span>      }<a name="line.338"></a>
+<span class="sourceLineNo">339</span>      if (tableCFsMap != null) {<a name="line.339"></a>
+<span class="sourceLineNo">340</span>        builder.append("tableCFs=").append(tableCFsMap.toString()).append(",");<a name="line.340"></a>
+<span class="sourceLineNo">341</span>      }<a name="line.341"></a>
+<span class="sourceLineNo">342</span>    }<a name="line.342"></a>
+<span class="sourceLineNo">343</span>    builder.append("bandwidth=").append(bandwidth);<a name="line.343"></a>
+<span class="sourceLineNo">344</span>    return builder.toString();<a name="line.344"></a>
+<span class="sourceLineNo">345</span>  }<a name="line.345"></a>
+<span class="sourceLineNo">346</span><a name="line.346"></a>
+<span class="sourceLineNo">347</span>  /**<a name="line.347"></a>
+<span class="sourceLineNo">348</span>   * Decide whether the table need replicate to the peer cluster<a name="line.348"></a>
+<span class="sourceLineNo">349</span>   * @param table name of the table<a name="line.349"></a>
+<span class="sourceLineNo">350</span>   * @return true if the table need replicate to the peer cluster<a name="line.350"></a>
+<span class="sourceLineNo">351</span>   */<a name="line.351"></a>
+<span class="sourceLineNo">352</span>  public boolean needToReplicate(TableName table) {<a name="line.352"></a>
+<span class="sourceLineNo">353</span>    if (replicateAllUserTables) {<a name="line.353"></a>
+<span class="sourceLineNo">354</span>      if (excludeNamespaces != null &amp;&amp; excludeNamespaces.contains(table.getNamespaceAsString())) {<a name="line.354"></a>
+<span class="sourceLineNo">355</span>        return false;<a name="line.355"></a>
+<span class="sourceLineNo">356</span>      }<a name="line.356"></a>
+<span class="sourceLineNo">357</span>      if (excludeTableCFsMap != null &amp;&amp; excludeTableCFsMap.containsKey(table)) {<a name="line.357"></a>
+<span class="sourceLineNo">358</span>        return false;<a name="line.358"></a>
+<span class="sourceLineNo">359</span>      }<a name="line.359"></a>
+<span class="sourceLineNo">360</span>      return true;<a name="line.360"></a>
+<span class="sourceLineNo">361</span>    } else {<a name="line.361"></a>
+<span class="sourceLineNo">362</span>      if (namespaces != null &amp;&amp; namespaces.contains(table.getNamespaceAsString())) {<a name="line.362"></a>
+<span class="sourceLineNo">363</span>        return true;<a name="line.363"></a>
+<span class="sourceLineNo">364</span>      }<a name="line.364"></a>
+<span class="sourceLineNo">365</span>      if (tableCFsMap != null &amp;&amp; tableCFsMap.containsKey(table)) {<a name="line.365"></a>
+<span class="sourceLineNo">366</span>        return true;<a name="line.366"></a>
+<span class="sourceLineNo">367</span>      }<a name="line.367"></a>
+<span class="sourceLineNo">368</span>      return false;<a name="line.368"></a>
+<span class="sourceLineNo">369</span>    }<a name="line.369"></a>
+<span class="sourceLineNo">370</span>  }<a name="line.370"></a>
+<span class="sourceLineNo">371</span>}<a name="line.371"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f183e80f/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html
index af76dd3..bce1a69 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfig.html
@@ -322,59 +322,61 @@
 <span class="sourceLineNo">314</span><a name="line.314"></a>
 <span class="sourceLineNo">315</span>    @Override<a name="line.315"></a>
 <span class="sourceLineNo">316</span>    public ReplicationPeerConfig build() {<a name="line.316"></a>
-<span class="sourceLineNo">317</span>      return new ReplicationPeerConfig(this);<a name="line.317"></a>
-<span class="sourceLineNo">318</span>    }<a name="line.318"></a>
-<span class="sourceLineNo">319</span>  }<a name="line.319"></a>
-<span class="sourceLineNo">320</span><a name="line.320"></a>
-<span class="sourceLineNo">321</span>  @Override<a name="line.321"></a>
-<span class="sourceLineNo">322</span>  public String toString() {<a name="line.322"></a>
-<span class="sourceLineNo">323</span>    StringBuilder builder = new StringBuilder("clusterKey=").append(clusterKey).append(",");<a name="line.323"></a>
-<span class="sourceLineNo">324</span>    builder.append("replicationEndpointImpl=").append(replicationEndpointImpl).append(",");<a name="line.324"></a>
-<span class="sourceLineNo">325</span>    builder.append("replicateAllUserTables=").append(replicateAllUserTables).append(",");<a name="line.325"></a>
-<span class="sourceLineNo">326</span>    if (replicateAllUserTables) {<a name="line.326"></a>
-<span class="sourceLineNo">327</span>      if (excludeNamespaces != null) {<a name="line.327"></a>
-<span class="sourceLineNo">328</span>        builder.append("excludeNamespaces=").append(excludeNamespaces.toString()).append(",");<a name="line.328"></a>
-<span class="sourceLineNo">329</span>      }<a name="line.329"></a>
-<span class="sourceLineNo">330</span>      if (excludeTableCFsMap != null) {<a name="line.330"></a>
-<span class="sourceLineNo">331</span>        builder.append("excludeTableCFsMap=").append(excludeTableCFsMap.toString()).append(",");<a name="line.331"></a>
-<span class="sourceLineNo">332</span>      }<a name="line.332"></a>
-<span class="sourceLineNo">333</span>    } else {<a name="line.333"></a>
-<span class="sourceLineNo">334</span>      if (namespaces != null) {<a name="line.334"></a>
-<span class="sourceLineNo">335</span>        builder.append("namespaces=").append(namespaces.toString()).append(",");<a name="line.335"></a>
-<span class="sourceLineNo">336</span>      }<a name="line.336"></a>
-<span class="sourceLineNo">337</span>      if (tableCFsMap != null) {<a name="line.337"></a>
-<span class="sourceLineNo">338</span>        builder.append("tableCFs=").append(tableCFsMap.toString()).append(",");<a name="line.338"></a>
-<span class="sourceLineNo">339</span>      }<a name="line.339"></a>
-<span class="sourceLineNo">340</span>    }<a name="line.340"></a>
-<span class="sourceLineNo">341</span>    builder.append("bandwidth=").append(bandwidth);<a name="line.341"></a>
-<span class="sourceLineNo">342</span>    return builder.toString();<a name="line.342"></a>
-<span class="sourceLineNo">343</span>  }<a name="line.343"></a>
-<span class="sourceLineNo">344</span><a name="line.344"></a>
-<span class="sourceLineNo">345</span>  /**<a name="line.345"></a>
-<span class="sourceLineNo">346</span>   * Decide whether the table need replicate to the peer cluster<a name="line.346"></a>
-<span class="sourceLineNo">347</span>   * @param table name of the table<a name="line.347"></a>
-<span class="sourceLineNo">348</span>   * @return true if the table need replicate to the peer cluster<a name="line.348"></a>
-<span class="sourceLineNo">349</span>   */<a name="line.349"></a>
-<span class="sourceLineNo">350</span>  public boolean needToReplicate(TableName table) {<a name="line.350"></a>
-<span class="sourceLineNo">351</span>    if (replicateAllUserTables) {<a name="line.351"></a>
-<span class="sourceLineNo">352</span>      if (excludeNamespaces != null &amp;&amp; excludeNamespaces.contains(table.getNamespaceAsString())) {<a name="line.352"></a>
-<span class="sourceLineNo">353</span>        return false;<a name="line.353"></a>
-<span class="sourceLineNo">354</span>      }<a name="line.354"></a>
-<span class="sourceLineNo">355</span>      if (excludeTableCFsMap != null &amp;&amp; excludeTableCFsMap.containsKey(table)) {<a name="line.355"></a>
-<span class="sourceLineNo">356</span>        return false;<a name="line.356"></a>
-<span class="sourceLineNo">357</span>      }<a name="line.357"></a>
-<span class="sourceLineNo">358</span>      return true;<a name="line.358"></a>
-<span class="sourceLineNo">359</span>    } else {<a name="line.359"></a>
-<span class="sourceLineNo">360</span>      if (namespaces != null &amp;&amp; namespaces.contains(table.getNamespaceAsString())) {<a name="line.360"></a>
-<span class="sourceLineNo">361</span>        return true;<a name="line.361"></a>
-<span class="sourceLineNo">362</span>      }<a name="line.362"></a>
-<span class="sourceLineNo">363</span>      if (tableCFsMap != null &amp;&amp; tableCFsMap.containsKey(table)) {<a name="line.363"></a>
-<span class="sourceLineNo">364</span>        return true;<a name="line.364"></a>
-<span class="sourceLineNo">365</span>      }<a name="line.365"></a>
-<span class="sourceLineNo">366</span>      return false;<a name="line.366"></a>
-<span class="sourceLineNo">367</span>    }<a name="line.367"></a>
-<span class="sourceLineNo">368</span>  }<a name="line.368"></a>
-<span class="sourceLineNo">369</span>}<a name="line.369"></a>
+<span class="sourceLineNo">317</span>      // It would be nice to validate the configuration, but we have to work with "old" data<a name="line.317"></a>
+<span class="sourceLineNo">318</span>      // from ZK which makes it much more difficult.<a name="line.318"></a>
+<span class="sourceLineNo">319</span>      return new ReplicationPeerConfig(this);<a name="line.319"></a>
+<span class="sourceLineNo">320</span>    }<a name="line.320"></a>
+<span class="sourceLineNo">321</span>  }<a name="line.321"></a>
+<span class="sourceLineNo">322</span><a name="line.322"></a>
+<span class="sourceLineNo">323</span>  @Override<a name="line.323"></a>
+<span class="sourceLineNo">324</span>  public String toString() {<a name="line.324"></a>
+<span class="sourceLineNo">325</span>    StringBuilder builder = new StringBuilder("clusterKey=").append(clusterKey).append(",");<a name="line.325"></a>
+<span class="sourceLineNo">326</span>    builder.append("replicationEndpointImpl=").append(replicationEndpointImpl).append(",");<a name="line.326"></a>
+<span class="sourceLineNo">327</span>    builder.append("replicateAllUserTables=").append(replicateAllUserTables).append(",");<a name="line.327"></a>
+<span class="sourceLineNo">328</span>    if (replicateAllUserTables) {<a name="line.328"></a>
+<span class="sourceLineNo">329</span>      if (excludeNamespaces != null) {<a name="line.329"></a>
+<span class="sourceLineNo">330</span>        builder.append("excludeNamespaces=").append(excludeNamespaces.toString()).append(",");<a name="line.330"></a>
+<span class="sourceLineNo">331</span>      }<a name="line.331"></a>
+<span class="sourceLineNo">332</span>      if (excludeTableCFsMap != null) {<a name="line.332"></a>
+<span class="sourceLineNo">333</span>        builder.append("excludeTableCFsMap=").append(excludeTableCFsMap.toString()).append(",");<a name="line.333"></a>
+<span class="sourceLineNo">334</span>      }<a name="line.334"></a>
+<span class="sourceLineNo">335</span>    } else {<a name="line.335"></a>
+<span class="sourceLineNo">336</span>      if (namespaces != null) {<a name="line.336"></a>
+<span class="sourceLineNo">337</span>        builder.append("namespaces=").append(namespaces.toString()).append(",");<a name="line.337"></a>
+<span class="sourceLineNo">338</span>      }<a name="line.338"></a>
+<span class="sourceLineNo">339</span>      if (tableCFsMap != null) {<a name="line.339"></a>
+<span class="sourceLineNo">340</span>        builder.append("tableCFs=").append(tableCFsMap.toString()).append(",");<a name="line.340"></a>
+<span class="sourceLineNo">341</span>      }<a name="line.341"></a>
+<span class="sourceLineNo">342</span>    }<a name="line.342"></a>
+<span class="sourceLineNo">343</span>    builder.append("bandwidth=").append(bandwidth);<a name="line.343"></a>
+<span class="sourceLineNo">344</span>    return builder.toString();<a name="line.344"></a>
+<span class="sourceLineNo">345</span>  }<a name="line.345"></a>
+<span class="sourceLineNo">346</span><a name="line.346"></a>
+<span class="sourceLineNo">347</span>  /**<a name="line.347"></a>
+<span class="sourceLineNo">348</span>   * Decide whether the table need replicate to the peer cluster<a name="line.348"></a>
+<span class="sourceLineNo">349</span>   * @param table name of the table<a name="line.349"></a>
+<span class="sourceLineNo">350</span>   * @return true if the table need replicate to the peer cluster<a name="line.350"></a>
+<span class="sourceLineNo">351</span>   */<a name="line.351"></a>
+<span class="sourceLineNo">352</span>  public boolean needToReplicate(TableName table) {<a name="line.352"></a>
+<span class="sourceLineNo">353</span>    if (replicateAllUserTables) {<a name="line.353"></a>
+<span class="sourceLineNo">354</span>      if (excludeNamespaces != null &amp;&amp; excludeNamespaces.contains(table.getNamespaceAsString())) {<a name="line.354"></a>
+<span class="sourceLineNo">355</span>        return false;<a name="line.355"></a>
+<span class="sourceLineNo">356</span>      }<a name="line.356"></a>
+<span class="sourceLineNo">357</span>      if (excludeTableCFsMap != null &amp;&amp; excludeTableCFsMap.containsKey(table)) {<a name="line.357"></a>
+<span class="sourceLineNo">358</span>        return false;<a name="line.358"></a>
+<span class="sourceLineNo">359</span>      }<a name="line.359"></a>
+<span class="sourceLineNo">360</span>      return true;<a name="line.360"></a>
+<span class="sourceLineNo">361</span>    } else {<a name="line.361"></a>
+<span class="sourceLineNo">362</span>      if (namespaces != null &amp;&amp; namespaces.contains(table.getNamespaceAsString())) {<a name="line.362"></a>
+<span class="sourceLineNo">363</span>        return true;<a name="line.363"></a>
+<span class="sourceLineNo">364</span>      }<a name="line.364"></a>
+<span class="sourceLineNo">365</span>      if (tableCFsMap != null &amp;&amp; tableCFsMap.containsKey(table)) {<a name="line.365"></a>
+<span class="sourceLineNo">366</span>        return true;<a name="line.366"></a>
+<span class="sourceLineNo">367</span>      }<a name="line.367"></a>
+<span class="sourceLineNo">368</span>      return false;<a name="line.368"></a>
+<span class="sourceLineNo">369</span>    }<a name="line.369"></a>
+<span class="sourceLineNo">370</span>  }<a name="line.370"></a>
+<span class="sourceLineNo">371</span>}<a name="line.371"></a>
 
 
 

http://git-wip-us.apache.org/repos/asf/hbase-site/blob/f183e80f/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfigBuilder.html
----------------------------------------------------------------------
diff --git a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfigBuilder.html b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfigBuilder.html
index 03841fd..d5f38b8 100644
--- a/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfigBuilder.html
+++ b/devapidocs/src-html/org/apache/hadoop/hbase/replication/ReplicationPeerConfigBuilder.html
@@ -51,35 +51,106 @@
 <span class="sourceLineNo">043</span>   */<a name="line.43"></a>
 <span class="sourceLineNo">044</span>  ReplicationPeerConfigBuilder setReplicationEndpointImpl(String replicationEndpointImpl);<a name="line.44"></a>
 <span class="sourceLineNo">045</span><a name="line.45"></a>
-<span class="sourceLineNo">046</span>  ReplicationPeerConfigBuilder putConfiguration(String key, String value);<a name="line.46"></a>
-<span class="sourceLineNo">047</span><a name="line.47"></a>
-<span class="sourceLineNo">048</span>  default ReplicationPeerConfigBuilder putAllConfiguration(Map&lt;String, String&gt; configuration) {<a name="line.48"></a>
-<span class="sourceLineNo">049</span>    configuration.forEach(this::putConfiguration);<a name="line.49"></a>
-<span class="sourceLineNo">050</span>    return this;<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>  ReplicationPeerConfigBuilder putPeerData(byte[] key, byte[] value);<a name="line.53"></a>
+<span class="sourceLineNo">046</span>  /**<a name="line.46"></a>
+<span class="sourceLineNo">047</span>   * Sets a "raw" configuration property for this replication peer. For experts only.<a name="line.47"></a>
+<span class="sourceLineNo">048</span>   * @param key Configuration property key<a name="line.48"></a>
+<span class="sourceLineNo">049</span>   * @param value Configuration property value<a name="line.49"></a>
+<span class="sourceLineNo">050</span>   * @return {@code this}<a name="line.50"></a>
+<span class="sourceLineNo">051</span>   */<a name="line.51"></a>
+<span class="sourceLineNo">052</span>  @InterfaceAudience.Private<a name="line.52"></a>
+<span class="sourceLineNo">053</span>  ReplicationPeerConfigBuilder putConfiguration(String key, String value);<a name="line.53"></a>
 <span class="sourceLineNo">054</span><a name="line.54"></a>
-<span class="sourceLineNo">055</span>  default ReplicationPeerConfigBuilder putAllPeerData(Map&lt;byte[], byte[]&gt; peerData) {<a name="line.55"></a>
-<span class="sourceLineNo">056</span>    peerData.forEach(this::putPeerData);<a name="line.56"></a>
-<span class="sourceLineNo">057</span>    return this;<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>  ReplicationPeerConfigBuilder<a name="line.60"></a>
-<span class="sourceLineNo">061</span>      setTableCFsMap(Map&lt;TableName, List&lt;String&gt;&gt; tableCFsMap);<a name="line.61"></a>
-<span class="sourceLineNo">062</span><a name="line.62"></a>
-<span class="sourceLineNo">063</span>  ReplicationPeerConfigBuilder setNamespaces(Set&lt;String&gt; namespaces);<a name="line.63"></a>
-<span class="sourceLineNo">064</span><a name="line.64"></a>
-<span class="sourceLineNo">065</span>  ReplicationPeerConfigBuilder setBandwidth(long bandwidth);<a name="line.65"></a>
-<span class="sourceLineNo">066</span><a name="line.66"></a>
-<span class="sourceLineNo">067</span>  ReplicationPeerConfigBuilder setReplicateAllUserTables(boolean replicateAllUserTables);<a name="line.67"></a>
-<span class="sourceLineNo">068</span><a name="line.68"></a>
-<span class="sourceLineNo">069</span>  ReplicationPeerConfigBuilder setExcludeTableCFsMap(Map&lt;TableName, List&lt;String&gt;&gt; tableCFsMap);<a name="line.69"></a>
-<span class="sourceLineNo">070</span><a name="line.70"></a>
-<span class="sourceLineNo">071</span>  ReplicationPeerConfigBuilder setExcludeNamespaces(Set&lt;String&gt; namespaces);<a name="line.71"></a>
+<span class="sourceLineNo">055</span>  /**<a name="line.55"></a>
+<span class="sourceLineNo">056</span>   * Adds all of the provided "raw" configuration entries to {@code this}.<a name="line.56"></a>
+<span class="sourceLineNo">057</span>   * @param configuration A collection of raw configuration entries<a name="line.57"></a>
+<span class="sourceLineNo">058</span>   * @return {@code this}<a name="line.58"></a>
+<span class="sourceLineNo">059</span>   */<a name="line.59"></a>
+<span class="sourceLineNo">060</span>  @InterfaceAudience.Private<a name="line.60"></a>
+<span class="sourceLineNo">061</span>  default ReplicationPeerConfigBuilder putAllConfiguration(Map&lt;String, String&gt; configuration) {<a name="line.61"></a>
+<span class="sourceLineNo">062</span>    configuration.forEach(this::putConfiguration);<a name="line.62"></a>
+<span class="sourceLineNo">063</span>    return this;<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>   * Sets the serialized peer configuration data<a name="line.67"></a>
+<span class="sourceLineNo">068</span>   * @return {@code this}<a name="line.68"></a>
+<span class="sourceLineNo">069</span>   */<a name="line.69"></a>
+<span class="sourceLineNo">070</span>  @InterfaceAudience.Private<a name="line.70"></a>
+<span class="sourceLineNo">071</span>  ReplicationPeerConfigBuilder putPeerData(byte[] key, byte[] value);<a name="line.71"></a>
 <span class="sourceLineNo">072</span><a name="line.72"></a>
-<span class="sourceLineNo">073</span>  ReplicationPeerConfig build();<a name="line.73"></a>
-<span class="sourceLineNo">074</span>}<a name="line.74"></a>
+<span class="sourceLineNo">073</span>  /**<a name="line.73"></a>
+<span class="sourceLineNo">074</span>   * Sets all of the provided serialized peer configuration data.<a name="line.74"></a>
+<span class="sourceLineNo">075</span>   * @return {@code this}<a name="line.75"></a>
+<span class="sourceLineNo">076</span>   */<a name="line.76"></a>
+<span class="sourceLineNo">077</span>  @InterfaceAudience.Private<a name="line.77"></a>
+<span class="sourceLineNo">078</span>  default ReplicationPeerConfigBuilder putAllPeerData(Map&lt;byte[], byte[]&gt; peerData) {<a name="line.78"></a>
+<span class="sourceLineNo">079</span>    peerData.forEach(this::putPeerData);<a name="line.79"></a>
+<span class="sourceLineNo">080</span>    return this;<a name="line.80"></a>
+<span class="sourceLineNo">081</span>  }<a name="line.81"></a>
+<span class="sourceLineNo">082</span><a name="line.82"></a>
+<span class="sourceLineNo">083</span>  /**<a name="line.83"></a>
+<span class="sourceLineNo">084</span>   * Sets an explicit map of tables and column families in those tables that should be replicated<a name="line.84"></a>
+<span class="sourceLineNo">085</span>   * to the given peer. Use {@link #setReplicateAllUserTables(boolean)} to replicate all tables<a name="line.85"></a>
+<span class="sourceLineNo">086</span>   * to a peer.<a name="line.86"></a>
+<span class="sourceLineNo">087</span>   *<a name="line.87"></a>
+<span class="sourceLineNo">088</span>   * @param tableCFsMap A map from tableName to column family names. An empty collection can be<a name="line.88"></a>
+<span class="sourceLineNo">089</span>   *    passed to indicate replicating all column families.<a name="line.89"></a>
+<span class="sourceLineNo">090</span>   * @return {@code this}<a name="line.90"></a>
+<span class="sourceLineNo">091</span>   * @see #setReplicateAllUserTables(boolean)<a name="line.91"></a>
+<span class="sourceLineNo">092</span>   */<a name="line.92"></a>
+<span class="sourceLineNo">093</span>  ReplicationPeerConfigBuilder<a name="line.93"></a>
+<span class="sourceLineNo">094</span>      setTableCFsMap(Map&lt;TableName, List&lt;String&gt;&gt; tableCFsMap);<a name="line.94"></a>
+<span class="sourceLineNo">095</span><a name="line.95"></a>
+<span class="sourceLineNo">096</span>  /**<a name="line.96"></a>
+<span class="sourceLineNo">097</span>   * Sets a unique collection of HBase namespaces that should be replicated to this peer.<a name="line.97"></a>
+<span class="sourceLineNo">098</span>   * @param namespaces A set of namespaces to be replicated to this peer.<a name="line.98"></a>
+<span class="sourceLineNo">099</span>   * @return {@code this}<a name="line.99"></a>
+<span class="sourceLineNo">100</span>   */<a name="line.100"></a>
+<span class="sourceLineNo">101</span>  ReplicationPeerConfigBuilder setNamespaces(Set&lt;String&gt; namespaces);<a name="line.101"></a>
+<span class="sourceLineNo">102</span><a name="line.102"></a>
+<span class="sourceLineNo">103</span>  /**<a name="line.103"></a>
+<span class="sourceLineNo">104</span>   * Sets the speed, in bytes per second, for any one RegionServer to replicate data to the peer.<a name="line.104"></a>
+<span class="sourceLineNo">105</span>   * @param bandwidth Bytes per second<a name="line.105"></a>
+<span class="sourceLineNo">106</span>   * @return {@code this}.<a name="line.106"></a>
+<span class="sourceLineNo">107</span>   */<a name="line.107"></a>
+<span class="sourceLineNo">108</span>  ReplicationPeerConfigBuilder setBandwidth(long bandwidth);<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>   * Configures HBase to replicate all user tables (not system tables) to the peer. Default is<a name="line.111"></a>
+<span class="sourceLineNo">112</span>   * {@code true}.<a name="line.112"></a>
+<span class="sourceLineNo">113</span>   * @param replicateAllUserTables True if all user tables should be replicated, else false.<a name="line.113"></a>
+<span class="sourceLineNo">114</span>   * @return {@code this}<a name="line.114"></a>
+<span class="sourceLineNo">115</span>   */<a name="line.115"></a>
+<span class="sourceLineNo">116</span>  ReplicationPeerConfigBuilder setReplicateAllUserTables(boolean replicateAllUserTables);<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>   * Sets the mapping of table name to column families which should not be replicated. This<a name="line.119"></a>
+<span class="sourceLineNo">120</span>   * method sets state which is mutually exclusive to {@link #setTableCFsMap(Map)}. Invoking this<a name="line.120"></a>
+<span class="sourceLineNo">121</span>   * method is only relevant when all user tables are being replicated.<a name="line.121"></a>
+<span class="sourceLineNo">122</span>   *<a name="line.122"></a>
+<span class="sourceLineNo">123</span>   * @param tableCFsMap A mapping of table names to column families which should not be<a name="line.123"></a>
+<span class="sourceLineNo">124</span>   *    replicated. An empty list of column families implies all families for the table.<a name="line.124"></a>
+<span class="sourceLineNo">125</span>   * @return {@code this}.<a name="line.125"></a>
+<span class="sourceLineNo">126</span>   */<a name="line.126"></a>
+<span class="sourceLineNo">127</span>  ReplicationPeerConfigBuilder setExcludeTableCFsMap(Map&lt;TableName, List&lt;String&gt;&gt; tableCFsMap);<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>   * Sets the collection of namespaces which should not be replicated when all user tables are<a name="line.130"></a>
+<span class="sourceLineNo">131</span>   * configured to be replicated. This method sets state which is mutually exclusive to<a name="line.131"></a>
+<span class="sourceLineNo">132</span>   * {@link #setNamespaces(Set)}. Invoking this method is only relevant when all user tables are<a name="line.132"></a>
+<span class="sourceLineNo">133</span>   * being replicated.<a name="line.133"></a>
+<span class="sourceLineNo">134</span>   *<a name="line.134"></a>
+<span class="sourceLineNo">135</span>   * @param namespaces A set of namespaces whose tables should not be replicated.<a name="line.135"></a>
+<span class="sourceLineNo">136</span>   * @return {@code this}<a name="line.136"></a>
+<span class="sourceLineNo">137</span>   */<a name="line.137"></a>
+<span class="sourceLineNo">138</span>  ReplicationPeerConfigBuilder setExcludeNamespaces(Set&lt;String&gt; namespaces);<a name="line.138"></a>
+<span class="sourceLineNo">139</span><a name="line.139"></a>
+<span class="sourceLineNo">140</span>  /**<a name="line.140"></a>
+<span class="sourceLineNo">141</span>   * Builds the configuration object from the current state of {@code this}.<a name="line.141"></a>
+<span class="sourceLineNo">142</span>   * @return A {@link ReplicationPeerConfig} instance.<a name="line.142"></a>
+<span class="sourceLineNo">143</span>   */<a name="line.143"></a>
+<span class="sourceLineNo">144</span>  ReplicationPeerConfig build();<a name="line.144"></a>
+<span class="sourceLineNo">145</span>}<a name="line.145"></a>
 
 
 


Mime
View raw message