hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From git-site-r...@apache.org
Subject [01/42] hbase-site git commit: Published site at 82d554e3783372cc6b05489452c815b57c06f6cd.
Date Mon, 22 May 2017 17:47:21 GMT
Repository: hbase-site
Updated Branches:
  refs/heads/asf-site bb0e51758 -> 9dfe3cd80


http://git-wip-us.apache.org/repos/asf/hbase-site/blob/9dfe3cd8/testdevapidocs/src-html/org/apache/hadoop/hbase/client/replication/TestReplicationAdminWithClusters.html
----------------------------------------------------------------------
diff --git a/testdevapidocs/src-html/org/apache/hadoop/hbase/client/replication/TestReplicationAdminWithClusters.html
b/testdevapidocs/src-html/org/apache/hadoop/hbase/client/replication/TestReplicationAdminWithClusters.html
index 95a03d8..9042c26 100644
--- a/testdevapidocs/src-html/org/apache/hadoop/hbase/client/replication/TestReplicationAdminWithClusters.html
+++ b/testdevapidocs/src-html/org/apache/hadoop/hbase/client/replication/TestReplicationAdminWithClusters.html
@@ -163,126 +163,122 @@
 <span class="sourceLineNo">155</span>    for (HColumnDescriptor fam : table.getColumnFamilies())
{<a name="line.155"></a>
 <span class="sourceLineNo">156</span>      assertEquals(fam.getScope(), HConstants.REPLICATION_SCOPE_LOCAL);<a
name="line.156"></a>
 <span class="sourceLineNo">157</span>    }<a name="line.157"></a>
-<span class="sourceLineNo">158</span>    table = admin2.getTableDescriptor(tableName);<a
name="line.158"></a>
-<span class="sourceLineNo">159</span>    for (HColumnDescriptor fam : table.getColumnFamilies())
{<a name="line.159"></a>
-<span class="sourceLineNo">160</span>      assertEquals(fam.getScope(), HConstants.REPLICATION_SCOPE_LOCAL);<a
name="line.160"></a>
-<span class="sourceLineNo">161</span>    }<a name="line.161"></a>
-<span class="sourceLineNo">162</span>    admin1.enableTableReplication(tableName);<a
name="line.162"></a>
-<span class="sourceLineNo">163</span>    table = admin1.getTableDescriptor(tableName);<a
name="line.163"></a>
-<span class="sourceLineNo">164</span>    for (HColumnDescriptor fam : table.getColumnFamilies())
{<a name="line.164"></a>
-<span class="sourceLineNo">165</span>      assertEquals(fam.getScope(), HConstants.REPLICATION_SCOPE_GLOBAL);<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><a name="line.168"></a>
-<span class="sourceLineNo">169</span>  @Test(timeout = 300000, expected = TableNotFoundException.class)<a
name="line.169"></a>
-<span class="sourceLineNo">170</span>  public void testDisableReplicationForNonExistingTable()
throws Exception {<a name="line.170"></a>
-<span class="sourceLineNo">171</span>    admin1.disableTableReplication(TableName.valueOf(name.getMethodName()));<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>  @Test(timeout = 300000, expected = TableNotFoundException.class)<a
name="line.174"></a>
-<span class="sourceLineNo">175</span>  public void testEnableReplicationForNonExistingTable()
throws Exception {<a name="line.175"></a>
-<span class="sourceLineNo">176</span>    admin1.enableTableReplication(TableName.valueOf(name.getMethodName()));<a
name="line.176"></a>
-<span class="sourceLineNo">177</span>  }<a name="line.177"></a>
-<span class="sourceLineNo">178</span><a name="line.178"></a>
-<span class="sourceLineNo">179</span>  @Test(timeout = 300000, expected = IllegalArgumentException.class)<a
name="line.179"></a>
-<span class="sourceLineNo">180</span>  public void testDisableReplicationWhenTableNameAsNull()
throws Exception {<a name="line.180"></a>
-<span class="sourceLineNo">181</span>    admin1.disableTableReplication(null);<a
name="line.181"></a>
-<span class="sourceLineNo">182</span>  }<a name="line.182"></a>
-<span class="sourceLineNo">183</span><a name="line.183"></a>
-<span class="sourceLineNo">184</span>  @Test(timeout = 300000, expected = IllegalArgumentException.class)<a
name="line.184"></a>
-<span class="sourceLineNo">185</span>  public void testEnableReplicationWhenTableNameAsNull()
throws Exception {<a name="line.185"></a>
-<span class="sourceLineNo">186</span>    admin1.enableTableReplication(null);<a
name="line.186"></a>
-<span class="sourceLineNo">187</span>  }<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>   * Test enable table replication should
create table only in user explicit specified table-cfs.<a name="line.190"></a>
-<span class="sourceLineNo">191</span>   * HBASE-14717<a name="line.191"></a>
-<span class="sourceLineNo">192</span>   */<a name="line.192"></a>
-<span class="sourceLineNo">193</span>  @Test(timeout = 300000)<a name="line.193"></a>
-<span class="sourceLineNo">194</span>  public void testEnableReplicationForExplicitSetTableCfs()
throws Exception {<a name="line.194"></a>
-<span class="sourceLineNo">195</span>    final TableName tableName = TableName.valueOf(name.getMethodName());<a
name="line.195"></a>
-<span class="sourceLineNo">196</span>    String peerId = "2";<a name="line.196"></a>
-<span class="sourceLineNo">197</span>    if (admin2.isTableAvailable(TestReplicationBase.tableName))
{<a name="line.197"></a>
-<span class="sourceLineNo">198</span>      admin2.disableTable(TestReplicationBase.tableName);<a
name="line.198"></a>
-<span class="sourceLineNo">199</span>      admin2.deleteTable(TestReplicationBase.tableName);<a
name="line.199"></a>
-<span class="sourceLineNo">200</span>    }<a name="line.200"></a>
-<span class="sourceLineNo">201</span>    assertFalse("Table should not exists
in the peer cluster", admin2.isTableAvailable(TestReplicationBase.tableName));<a name="line.201"></a>
-<span class="sourceLineNo">202</span><a name="line.202"></a>
-<span class="sourceLineNo">203</span>    Map&lt;TableName, ? extends Collection&lt;String&gt;&gt;
tableCfs = new HashMap&lt;&gt;();<a name="line.203"></a>
-<span class="sourceLineNo">204</span>    tableCfs.put(tableName, null);<a
name="line.204"></a>
-<span class="sourceLineNo">205</span>    try {<a name="line.205"></a>
-<span class="sourceLineNo">206</span>      adminExt.setPeerTableCFs(peerId, tableCfs);<a
name="line.206"></a>
-<span class="sourceLineNo">207</span>      admin1.enableTableReplication(TestReplicationBase.tableName);<a
name="line.207"></a>
-<span class="sourceLineNo">208</span>      assertFalse("Table should not be created
if user has set table cfs explicitly for the "<a name="line.208"></a>
-<span class="sourceLineNo">209</span>          + "peer and this is not part of
that collection",<a name="line.209"></a>
-<span class="sourceLineNo">210</span>        admin2.isTableAvailable(TestReplicationBase.tableName));<a
name="line.210"></a>
-<span class="sourceLineNo">211</span><a name="line.211"></a>
-<span class="sourceLineNo">212</span>      tableCfs.put(TestReplicationBase.tableName,
null);<a name="line.212"></a>
-<span class="sourceLineNo">213</span>      adminExt.setPeerTableCFs(peerId, tableCfs);<a
name="line.213"></a>
-<span class="sourceLineNo">214</span>      admin1.enableTableReplication(TestReplicationBase.tableName);<a
name="line.214"></a>
-<span class="sourceLineNo">215</span>      assertTrue(<a name="line.215"></a>
-<span class="sourceLineNo">216</span>        "Table should be created if user
has explicitly added table into table cfs collection",<a name="line.216"></a>
-<span class="sourceLineNo">217</span>        admin2.isTableAvailable(TestReplicationBase.tableName));<a
name="line.217"></a>
-<span class="sourceLineNo">218</span>    } finally {<a name="line.218"></a>
-<span class="sourceLineNo">219</span>      adminExt.removePeerTableCFs(peerId,
adminExt.getPeerTableCFs(peerId));<a name="line.219"></a>
-<span class="sourceLineNo">220</span>      admin1.disableTableReplication(TestReplicationBase.tableName);<a
name="line.220"></a>
-<span class="sourceLineNo">221</span>    }<a name="line.221"></a>
-<span class="sourceLineNo">222</span>  }<a name="line.222"></a>
-<span class="sourceLineNo">223</span><a name="line.223"></a>
-<span class="sourceLineNo">224</span>  @Test(timeout=300000)<a name="line.224"></a>
-<span class="sourceLineNo">225</span>  public void testReplicationPeerConfigUpdateCallback()
throws Exception {<a name="line.225"></a>
-<span class="sourceLineNo">226</span>    String peerId = "1";<a name="line.226"></a>
-<span class="sourceLineNo">227</span>    ReplicationPeerConfig rpc = new ReplicationPeerConfig();<a
name="line.227"></a>
-<span class="sourceLineNo">228</span>    rpc.setClusterKey(utility2.getClusterKey());<a
name="line.228"></a>
-<span class="sourceLineNo">229</span>    rpc.setReplicationEndpointImpl(TestUpdatableReplicationEndpoint.class.getName());<a
name="line.229"></a>
-<span class="sourceLineNo">230</span>    rpc.getConfiguration().put("key1", "value1");<a
name="line.230"></a>
-<span class="sourceLineNo">231</span><a name="line.231"></a>
-<span class="sourceLineNo">232</span>    admin1.addReplicationPeer(peerId, rpc);<a
name="line.232"></a>
-<span class="sourceLineNo">233</span><a name="line.233"></a>
-<span class="sourceLineNo">234</span>    rpc.getConfiguration().put("key1", "value2");<a
name="line.234"></a>
-<span class="sourceLineNo">235</span>    admin.updatePeerConfig(peerId, rpc);<a
name="line.235"></a>
-<span class="sourceLineNo">236</span>    if (!TestUpdatableReplicationEndpoint.hasCalledBack())
{<a name="line.236"></a>
-<span class="sourceLineNo">237</span>      synchronized(TestUpdatableReplicationEndpoint.class)
{<a name="line.237"></a>
-<span class="sourceLineNo">238</span>        TestUpdatableReplicationEndpoint.class.wait(2000L);<a
name="line.238"></a>
-<span class="sourceLineNo">239</span>      }<a name="line.239"></a>
-<span class="sourceLineNo">240</span>    }<a name="line.240"></a>
-<span class="sourceLineNo">241</span><a name="line.241"></a>
-<span class="sourceLineNo">242</span>    assertEquals(true, TestUpdatableReplicationEndpoint.hasCalledBack());<a
name="line.242"></a>
-<span class="sourceLineNo">243</span>  }<a name="line.243"></a>
-<span class="sourceLineNo">244</span><a name="line.244"></a>
-<span class="sourceLineNo">245</span>  public static class TestUpdatableReplicationEndpoint
extends BaseReplicationEndpoint {<a name="line.245"></a>
-<span class="sourceLineNo">246</span>    private static boolean calledBack =
false;<a name="line.246"></a>
-<span class="sourceLineNo">247</span>    public static boolean hasCalledBack(){<a
name="line.247"></a>
-<span class="sourceLineNo">248</span>      return calledBack;<a name="line.248"></a>
-<span class="sourceLineNo">249</span>    }<a name="line.249"></a>
-<span class="sourceLineNo">250</span>    @Override<a name="line.250"></a>
-<span class="sourceLineNo">251</span>    public synchronized void peerConfigUpdated(ReplicationPeerConfig
rpc){<a name="line.251"></a>
-<span class="sourceLineNo">252</span>      calledBack = true;<a name="line.252"></a>
-<span class="sourceLineNo">253</span>      notifyAll();<a name="line.253"></a>
-<span class="sourceLineNo">254</span>    }<a name="line.254"></a>
-<span class="sourceLineNo">255</span><a name="line.255"></a>
-<span class="sourceLineNo">256</span>    @Override<a name="line.256"></a>
-<span class="sourceLineNo">257</span>    protected void doStart() {<a name="line.257"></a>
-<span class="sourceLineNo">258</span>      notifyStarted();<a name="line.258"></a>
-<span class="sourceLineNo">259</span>    }<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>    protected void doStop() {<a name="line.262"></a>
-<span class="sourceLineNo">263</span>      notifyStopped();<a name="line.263"></a>
-<span class="sourceLineNo">264</span>    }<a name="line.264"></a>
-<span class="sourceLineNo">265</span><a name="line.265"></a>
-<span class="sourceLineNo">266</span><a name="line.266"></a>
-<span class="sourceLineNo">267</span>    @Override<a name="line.267"></a>
-<span class="sourceLineNo">268</span>    public UUID getPeerUUID() {<a name="line.268"></a>
-<span class="sourceLineNo">269</span>      return UUID.randomUUID();<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>    @Override<a name="line.272"></a>
-<span class="sourceLineNo">273</span>    public boolean replicate(ReplicateContext
replicateContext) {<a name="line.273"></a>
-<span class="sourceLineNo">274</span>      return false;<a name="line.274"></a>
-<span class="sourceLineNo">275</span>    }<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">158</span>    admin1.enableTableReplication(tableName);<a
name="line.158"></a>
+<span class="sourceLineNo">159</span>    table = admin1.getTableDescriptor(tableName);<a
name="line.159"></a>
+<span class="sourceLineNo">160</span>    for (HColumnDescriptor fam : table.getColumnFamilies())
{<a name="line.160"></a>
+<span class="sourceLineNo">161</span>      assertEquals(fam.getScope(), HConstants.REPLICATION_SCOPE_GLOBAL);<a
name="line.161"></a>
+<span class="sourceLineNo">162</span>    }<a name="line.162"></a>
+<span class="sourceLineNo">163</span>  }<a name="line.163"></a>
+<span class="sourceLineNo">164</span><a name="line.164"></a>
+<span class="sourceLineNo">165</span>  @Test(timeout = 300000, expected = TableNotFoundException.class)<a
name="line.165"></a>
+<span class="sourceLineNo">166</span>  public void testDisableReplicationForNonExistingTable()
throws Exception {<a name="line.166"></a>
+<span class="sourceLineNo">167</span>    admin1.disableTableReplication(TableName.valueOf(name.getMethodName()));<a
name="line.167"></a>
+<span class="sourceLineNo">168</span>  }<a name="line.168"></a>
+<span class="sourceLineNo">169</span><a name="line.169"></a>
+<span class="sourceLineNo">170</span>  @Test(timeout = 300000, expected = TableNotFoundException.class)<a
name="line.170"></a>
+<span class="sourceLineNo">171</span>  public void testEnableReplicationForNonExistingTable()
throws Exception {<a name="line.171"></a>
+<span class="sourceLineNo">172</span>    admin1.enableTableReplication(TableName.valueOf(name.getMethodName()));<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>  @Test(timeout = 300000, expected = IllegalArgumentException.class)<a
name="line.175"></a>
+<span class="sourceLineNo">176</span>  public void testDisableReplicationWhenTableNameAsNull()
throws Exception {<a name="line.176"></a>
+<span class="sourceLineNo">177</span>    admin1.disableTableReplication(null);<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>  @Test(timeout = 300000, expected = IllegalArgumentException.class)<a
name="line.180"></a>
+<span class="sourceLineNo">181</span>  public void testEnableReplicationWhenTableNameAsNull()
throws Exception {<a name="line.181"></a>
+<span class="sourceLineNo">182</span>    admin1.enableTableReplication(null);<a
name="line.182"></a>
+<span class="sourceLineNo">183</span>  }<a name="line.183"></a>
+<span class="sourceLineNo">184</span><a name="line.184"></a>
+<span class="sourceLineNo">185</span>  /*<a name="line.185"></a>
+<span class="sourceLineNo">186</span>   * Test enable table replication should
create table only in user explicit specified table-cfs.<a name="line.186"></a>
+<span class="sourceLineNo">187</span>   * HBASE-14717<a name="line.187"></a>
+<span class="sourceLineNo">188</span>   */<a name="line.188"></a>
+<span class="sourceLineNo">189</span>  @Test(timeout = 300000)<a name="line.189"></a>
+<span class="sourceLineNo">190</span>  public void testEnableReplicationForExplicitSetTableCfs()
throws Exception {<a name="line.190"></a>
+<span class="sourceLineNo">191</span>    final TableName tableName = TableName.valueOf(name.getMethodName());<a
name="line.191"></a>
+<span class="sourceLineNo">192</span>    String peerId = "2";<a name="line.192"></a>
+<span class="sourceLineNo">193</span>    if (admin2.isTableAvailable(TestReplicationBase.tableName))
{<a name="line.193"></a>
+<span class="sourceLineNo">194</span>      admin2.disableTable(TestReplicationBase.tableName);<a
name="line.194"></a>
+<span class="sourceLineNo">195</span>      admin2.deleteTable(TestReplicationBase.tableName);<a
name="line.195"></a>
+<span class="sourceLineNo">196</span>    }<a name="line.196"></a>
+<span class="sourceLineNo">197</span>    assertFalse("Table should not exists
in the peer cluster", admin2.isTableAvailable(TestReplicationBase.tableName));<a name="line.197"></a>
+<span class="sourceLineNo">198</span><a name="line.198"></a>
+<span class="sourceLineNo">199</span>    Map&lt;TableName, ? extends Collection&lt;String&gt;&gt;
tableCfs = new HashMap&lt;&gt;();<a name="line.199"></a>
+<span class="sourceLineNo">200</span>    tableCfs.put(tableName, null);<a
name="line.200"></a>
+<span class="sourceLineNo">201</span>    try {<a name="line.201"></a>
+<span class="sourceLineNo">202</span>      adminExt.setPeerTableCFs(peerId, tableCfs);<a
name="line.202"></a>
+<span class="sourceLineNo">203</span>      admin1.enableTableReplication(TestReplicationBase.tableName);<a
name="line.203"></a>
+<span class="sourceLineNo">204</span>      assertFalse("Table should not be created
if user has set table cfs explicitly for the "<a name="line.204"></a>
+<span class="sourceLineNo">205</span>          + "peer and this is not part of
that collection",<a name="line.205"></a>
+<span class="sourceLineNo">206</span>        admin2.isTableAvailable(TestReplicationBase.tableName));<a
name="line.206"></a>
+<span class="sourceLineNo">207</span><a name="line.207"></a>
+<span class="sourceLineNo">208</span>      tableCfs.put(TestReplicationBase.tableName,
null);<a name="line.208"></a>
+<span class="sourceLineNo">209</span>      adminExt.setPeerTableCFs(peerId, tableCfs);<a
name="line.209"></a>
+<span class="sourceLineNo">210</span>      admin1.enableTableReplication(TestReplicationBase.tableName);<a
name="line.210"></a>
+<span class="sourceLineNo">211</span>      assertTrue(<a name="line.211"></a>
+<span class="sourceLineNo">212</span>        "Table should be created if user
has explicitly added table into table cfs collection",<a name="line.212"></a>
+<span class="sourceLineNo">213</span>        admin2.isTableAvailable(TestReplicationBase.tableName));<a
name="line.213"></a>
+<span class="sourceLineNo">214</span>    } finally {<a name="line.214"></a>
+<span class="sourceLineNo">215</span>      adminExt.removePeerTableCFs(peerId,
adminExt.getPeerTableCFs(peerId));<a name="line.215"></a>
+<span class="sourceLineNo">216</span>      admin1.disableTableReplication(TestReplicationBase.tableName);<a
name="line.216"></a>
+<span class="sourceLineNo">217</span>    }<a name="line.217"></a>
+<span class="sourceLineNo">218</span>  }<a name="line.218"></a>
+<span class="sourceLineNo">219</span><a name="line.219"></a>
+<span class="sourceLineNo">220</span>  @Test(timeout=300000)<a name="line.220"></a>
+<span class="sourceLineNo">221</span>  public void testReplicationPeerConfigUpdateCallback()
throws Exception {<a name="line.221"></a>
+<span class="sourceLineNo">222</span>    String peerId = "1";<a name="line.222"></a>
+<span class="sourceLineNo">223</span>    ReplicationPeerConfig rpc = new ReplicationPeerConfig();<a
name="line.223"></a>
+<span class="sourceLineNo">224</span>    rpc.setClusterKey(utility2.getClusterKey());<a
name="line.224"></a>
+<span class="sourceLineNo">225</span>    rpc.setReplicationEndpointImpl(TestUpdatableReplicationEndpoint.class.getName());<a
name="line.225"></a>
+<span class="sourceLineNo">226</span>    rpc.getConfiguration().put("key1", "value1");<a
name="line.226"></a>
+<span class="sourceLineNo">227</span><a name="line.227"></a>
+<span class="sourceLineNo">228</span>    admin1.addReplicationPeer(peerId, rpc);<a
name="line.228"></a>
+<span class="sourceLineNo">229</span><a name="line.229"></a>
+<span class="sourceLineNo">230</span>    rpc.getConfiguration().put("key1", "value2");<a
name="line.230"></a>
+<span class="sourceLineNo">231</span>    admin.updatePeerConfig(peerId, rpc);<a
name="line.231"></a>
+<span class="sourceLineNo">232</span>    if (!TestUpdatableReplicationEndpoint.hasCalledBack())
{<a name="line.232"></a>
+<span class="sourceLineNo">233</span>      synchronized(TestUpdatableReplicationEndpoint.class)
{<a name="line.233"></a>
+<span class="sourceLineNo">234</span>        TestUpdatableReplicationEndpoint.class.wait(2000L);<a
name="line.234"></a>
+<span class="sourceLineNo">235</span>      }<a name="line.235"></a>
+<span class="sourceLineNo">236</span>    }<a name="line.236"></a>
+<span class="sourceLineNo">237</span><a name="line.237"></a>
+<span class="sourceLineNo">238</span>    assertEquals(true, TestUpdatableReplicationEndpoint.hasCalledBack());<a
name="line.238"></a>
+<span class="sourceLineNo">239</span>  }<a name="line.239"></a>
+<span class="sourceLineNo">240</span><a name="line.240"></a>
+<span class="sourceLineNo">241</span>  public static class TestUpdatableReplicationEndpoint
extends BaseReplicationEndpoint {<a name="line.241"></a>
+<span class="sourceLineNo">242</span>    private static boolean calledBack =
false;<a name="line.242"></a>
+<span class="sourceLineNo">243</span>    public static boolean hasCalledBack(){<a
name="line.243"></a>
+<span class="sourceLineNo">244</span>      return calledBack;<a name="line.244"></a>
+<span class="sourceLineNo">245</span>    }<a name="line.245"></a>
+<span class="sourceLineNo">246</span>    @Override<a name="line.246"></a>
+<span class="sourceLineNo">247</span>    public synchronized void peerConfigUpdated(ReplicationPeerConfig
rpc){<a name="line.247"></a>
+<span class="sourceLineNo">248</span>      calledBack = true;<a name="line.248"></a>
+<span class="sourceLineNo">249</span>      notifyAll();<a name="line.249"></a>
+<span class="sourceLineNo">250</span>    }<a name="line.250"></a>
+<span class="sourceLineNo">251</span><a name="line.251"></a>
+<span class="sourceLineNo">252</span>    @Override<a name="line.252"></a>
+<span class="sourceLineNo">253</span>    protected void doStart() {<a name="line.253"></a>
+<span class="sourceLineNo">254</span>      notifyStarted();<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>    @Override<a name="line.257"></a>
+<span class="sourceLineNo">258</span>    protected void doStop() {<a name="line.258"></a>
+<span class="sourceLineNo">259</span>      notifyStopped();<a name="line.259"></a>
+<span class="sourceLineNo">260</span>    }<a name="line.260"></a>
+<span class="sourceLineNo">261</span><a name="line.261"></a>
+<span class="sourceLineNo">262</span><a name="line.262"></a>
+<span class="sourceLineNo">263</span>    @Override<a name="line.263"></a>
+<span class="sourceLineNo">264</span>    public UUID getPeerUUID() {<a name="line.264"></a>
+<span class="sourceLineNo">265</span>      return UUID.randomUUID();<a name="line.265"></a>
+<span class="sourceLineNo">266</span>    }<a name="line.266"></a>
+<span class="sourceLineNo">267</span><a name="line.267"></a>
+<span class="sourceLineNo">268</span>    @Override<a name="line.268"></a>
+<span class="sourceLineNo">269</span>    public boolean replicate(ReplicateContext
replicateContext) {<a name="line.269"></a>
+<span class="sourceLineNo">270</span>      return false;<a name="line.270"></a>
+<span class="sourceLineNo">271</span>    }<a name="line.271"></a>
+<span class="sourceLineNo">272</span>  }<a name="line.272"></a>
+<span class="sourceLineNo">273</span>}<a name="line.273"></a>
 
 
 


Mime
View raw message