helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kisho...@apache.org
Subject svn commit: r1479756 [30/39] - in /incubator/helix/site-content: ./ apidocs/reference/org/apache/helix/ apidocs/reference/org/apache/helix/agent/ apidocs/reference/org/apache/helix/manager/zk/ apidocs/reference/org/apache/helix/messaging/handling/ apid...
Date Tue, 07 May 2013 03:11:00 GMT
Modified: incubator/helix/site-content/xref-test/org/apache/helix/integration/TestMessagingService.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/integration/TestMessagingService.html?rev=1479756&r1=1479755&r2=1479756&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/integration/TestMessagingService.html
(original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/integration/TestMessagingService.html
Tue May  7 03:10:53 2013
@@ -58,7 +58,7 @@
 <a class="jxr_linenumber" name="48" href="#48">48</a>      <strong class="jxr_keyword">public</strong>
MessageHandler createHandler(Message message,
 <a class="jxr_linenumber" name="49" href="#49">49</a>          NotificationContext
context)
 <a class="jxr_linenumber" name="50" href="#50">50</a>      {
-<a class="jxr_linenumber" name="51" href="#51">51</a>        <strong class="jxr_keyword">return</strong>
<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">TestMessagingHandler</a>(message,
context);
+<a class="jxr_linenumber" name="51" href="#51">51</a>        <strong class="jxr_keyword">return</strong>
<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">TestMessagingHandler</a>(message,
context);
 <a class="jxr_linenumber" name="52" href="#52">52</a>      }
 <a class="jxr_linenumber" name="53" href="#53">53</a>  
 <a class="jxr_linenumber" name="54" href="#54">54</a>      @Override
@@ -74,9 +74,9 @@
 <a class="jxr_linenumber" name="64" href="#64">64</a>  
 <a class="jxr_linenumber" name="65" href="#65">65</a>      }
 <a class="jxr_linenumber" name="66" href="#66">66</a>  
-<a class="jxr_linenumber" name="67" href="#67">67</a>      <strong class="jxr_keyword">public</strong>
<strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong>
<a href="../../../../org/apache/helix/integration/TestMessagingService.html">TestMessagingHandler</a>
<strong class="jxr_keyword">extends</strong> MessageHandler
+<a class="jxr_linenumber" name="67" href="#67">67</a>      <strong class="jxr_keyword">public</strong>
<strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong>
<a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">TestMessagingHandler</a>
<strong class="jxr_keyword">extends</strong> MessageHandler
 <a class="jxr_linenumber" name="68" href="#68">68</a>      {
-<a class="jxr_linenumber" name="69" href="#69">69</a>        <strong class="jxr_keyword">public</strong>
<a href="../../../../org/apache/helix/integration/TestMessagingService.html">TestMessagingHandler</a>(Message
message, NotificationContext context)
+<a class="jxr_linenumber" name="69" href="#69">69</a>        <strong class="jxr_keyword">public</strong>
<a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">TestMessagingHandler</a>(Message
message, NotificationContext context)
 <a class="jxr_linenumber" name="70" href="#70">70</a>        {
 <a class="jxr_linenumber" name="71" href="#71">71</a>          <strong class="jxr_keyword">super</strong>(message,
context);
 <a class="jxr_linenumber" name="72" href="#72">72</a>          <em class="jxr_comment">//
TODO Auto-generated constructor stub</em>
@@ -151,10 +151,10 @@
 <a class="jxr_linenumber" name="141" href="#141">141</a> 
 <a class="jxr_linenumber" name="142" href="#142">142</a>   }
 <a class="jxr_linenumber" name="143" href="#143">143</a> 
-<a class="jxr_linenumber" name="144" href="#144">144</a>   <strong class="jxr_keyword">public</strong>
<strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong>
<a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>
<strong class="jxr_keyword">extends</strong> AsyncCallback
+<a class="jxr_linenumber" name="144" href="#144">144</a>   <strong class="jxr_keyword">public</strong>
<strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong>
<a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>
<strong class="jxr_keyword">extends</strong> AsyncCallback
 <a class="jxr_linenumber" name="145" href="#145">145</a>   {
 <a class="jxr_linenumber" name="146" href="#146">146</a> 
-<a class="jxr_linenumber" name="147" href="#147">147</a>     <strong class="jxr_keyword">public</strong>
<a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>()
+<a class="jxr_linenumber" name="147" href="#147">147</a>     <strong class="jxr_keyword">public</strong>
<a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>()
 <a class="jxr_linenumber" name="148" href="#148">148</a>     {
 <a class="jxr_linenumber" name="149" href="#149">149</a>     }
 <a class="jxr_linenumber" name="150" href="#150">150</a> 
@@ -174,9 +174,9 @@
 <a class="jxr_linenumber" name="164" href="#164">164</a> 
 <a class="jxr_linenumber" name="165" href="#165">165</a>   }
 <a class="jxr_linenumber" name="166" href="#166">166</a> 
-<a class="jxr_linenumber" name="167" href="#167">167</a>   <strong class="jxr_keyword">public</strong>
<strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong>
<a href="../../../../org/apache/helix/messaging/TestAsyncCallback.html">TestAsyncCallback</a>
<strong class="jxr_keyword">extends</strong> AsyncCallback
+<a class="jxr_linenumber" name="167" href="#167">167</a>   <strong class="jxr_keyword">public</strong>
<strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">class</strong>
<a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">TestAsyncCallback</a>
<strong class="jxr_keyword">extends</strong> AsyncCallback
 <a class="jxr_linenumber" name="168" href="#168">168</a>   {
-<a class="jxr_linenumber" name="169" href="#169">169</a>     <strong class="jxr_keyword">public</strong>
<a href="../../../../org/apache/helix/messaging/TestAsyncCallback.html">TestAsyncCallback</a>(<strong
class="jxr_keyword">long</strong> timeout)
+<a class="jxr_linenumber" name="169" href="#169">169</a>     <strong class="jxr_keyword">public</strong>
<a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">TestAsyncCallback</a>(<strong
class="jxr_keyword">long</strong> timeout)
 <a class="jxr_linenumber" name="170" href="#170">170</a>     {
 <a class="jxr_linenumber" name="171" href="#171">171</a>       <strong class="jxr_keyword">super</strong>(timeout);
 <a class="jxr_linenumber" name="172" href="#172">172</a>     }
@@ -240,7 +240,7 @@
 <a class="jxr_linenumber" name="230" href="#230">230</a>     cr.setRecipientInstanceType(InstanceType.PARTICIPANT);
 <a class="jxr_linenumber" name="231" href="#231">231</a>     cr.setSessionSpecific(false);
 <a class="jxr_linenumber" name="232" href="#232">232</a> 
-<a class="jxr_linenumber" name="233" href="#233">233</a>     <a href="../../../../org/apache/helix/messaging/TestAsyncCallback.html">TestAsyncCallback</a>
callback = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallback.html">TestAsyncCallback</a>(60000);
+<a class="jxr_linenumber" name="233" href="#233">233</a>     <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">TestAsyncCallback</a>
callback = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">TestAsyncCallback</a>(60000);
 <a class="jxr_linenumber" name="234" href="#234">234</a> 
 <a class="jxr_linenumber" name="235" href="#235">235</a>     _startCMResultMap.get(hostSrc)._manager.getMessagingService().send(cr,
msg, callback, 60000);
 <a class="jxr_linenumber" name="236" href="#236">236</a> 
@@ -250,7 +250,7 @@
 <a class="jxr_linenumber" name="240" href="#240">240</a>         .contains(<span
class="jxr_string">"TestReplyMessage"</span>));
 <a class="jxr_linenumber" name="241" href="#241">241</a>     AssertJUnit.assertTrue(callback.getMessageReplied().size()
== 1);
 <a class="jxr_linenumber" name="242" href="#242">242</a> 
-<a class="jxr_linenumber" name="243" href="#243">243</a>     <a href="../../../../org/apache/helix/messaging/TestAsyncCallback.html">TestAsyncCallback</a>
callback2 = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallback.html">TestAsyncCallback</a>(500);
+<a class="jxr_linenumber" name="243" href="#243">243</a>     <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">TestAsyncCallback</a>
callback2 = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">TestAsyncCallback</a>(500);
 <a class="jxr_linenumber" name="244" href="#244">244</a>     _startCMResultMap.get(hostSrc)._manager.getMessagingService().send(cr,
msg, callback2, 500);
 <a class="jxr_linenumber" name="245" href="#245">245</a> 
 <a class="jxr_linenumber" name="246" href="#246">246</a>     Thread.sleep(3000);
@@ -263,7 +263,7 @@
 <a class="jxr_linenumber" name="253" href="#253">253</a>     cr.setSessionSpecific(false);
 <a class="jxr_linenumber" name="254" href="#254">254</a>     cr.setDataSource(DataSource.IDEALSTATES);
 <a class="jxr_linenumber" name="255" href="#255">255</a> 
-<a class="jxr_linenumber" name="256" href="#256">256</a>     callback = <strong
class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallback.html">TestAsyncCallback</a>(60000);
+<a class="jxr_linenumber" name="256" href="#256">256</a>     callback = <strong
class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">TestAsyncCallback</a>(60000);
 <a class="jxr_linenumber" name="257" href="#257">257</a> 
 <a class="jxr_linenumber" name="258" href="#258">258</a>     _startCMResultMap.get(hostSrc)._manager.getMessagingService().send(cr,
msg, callback, 60000);
 <a class="jxr_linenumber" name="259" href="#259">259</a> 
@@ -273,7 +273,7 @@
 <a class="jxr_linenumber" name="263" href="#263">263</a>         .contains(<span
class="jxr_string">"TestReplyMessage"</span>));
 <a class="jxr_linenumber" name="264" href="#264">264</a>     AssertJUnit.assertTrue(callback.getMessageReplied().size()
== 1);
 <a class="jxr_linenumber" name="265" href="#265">265</a> 
-<a class="jxr_linenumber" name="266" href="#266">266</a>     callback2 = <strong
class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallback.html">TestAsyncCallback</a>(500);
+<a class="jxr_linenumber" name="266" href="#266">266</a>     callback2 = <strong
class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">TestAsyncCallback</a>(500);
 <a class="jxr_linenumber" name="267" href="#267">267</a>     _startCMResultMap.get(hostSrc)._manager.getMessagingService().send(cr,
msg, callback2, 500);
 <a class="jxr_linenumber" name="268" href="#268">268</a> 
 <a class="jxr_linenumber" name="269" href="#269">269</a>     Thread.sleep(3000);
@@ -307,7 +307,7 @@
 <a class="jxr_linenumber" name="297" href="#297">297</a>     cr.setRecipientInstanceType(InstanceType.PARTICIPANT);
 <a class="jxr_linenumber" name="298" href="#298">298</a>     cr.setSessionSpecific(false);
 <a class="jxr_linenumber" name="299" href="#299">299</a> 
-<a class="jxr_linenumber" name="300" href="#300">300</a>     AsyncCallback asyncCallback
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="300" href="#300">300</a>     AsyncCallback asyncCallback
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="301" href="#301">301</a>     <strong class="jxr_keyword">int</strong>
messagesSent = _startCMResultMap.get(hostSrc)._manager.getMessagingService()
 <a class="jxr_linenumber" name="302" href="#302">302</a>         .sendAndWait(cr,
msg, asyncCallback, 60000);
 <a class="jxr_linenumber" name="303" href="#303">303</a> 
@@ -317,7 +317,7 @@
 <a class="jxr_linenumber" name="307" href="#307">307</a>     AssertJUnit.assertTrue(asyncCallback.getMessageReplied().size()
== 1);
 <a class="jxr_linenumber" name="308" href="#308">308</a> 
 <a class="jxr_linenumber" name="309" href="#309">309</a> 
-<a class="jxr_linenumber" name="310" href="#310">310</a>     AsyncCallback asyncCallback2
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="310" href="#310">310</a>     AsyncCallback asyncCallback2
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="311" href="#311">311</a>     messagesSent = _startCMResultMap.get(hostSrc)._manager.getMessagingService()
 <a class="jxr_linenumber" name="312" href="#312">312</a>         .sendAndWait(cr,
msg, asyncCallback2, 500);
 <a class="jxr_linenumber" name="313" href="#313">313</a>     AssertJUnit.assertTrue(asyncCallback2.isTimedOut());
@@ -351,7 +351,7 @@
 <a class="jxr_linenumber" name="341" href="#341">341</a>     cr.setInstanceName(<span
class="jxr_string">"%"</span>);
 <a class="jxr_linenumber" name="342" href="#342">342</a>     cr.setRecipientInstanceType(InstanceType.PARTICIPANT);
 <a class="jxr_linenumber" name="343" href="#343">343</a>     cr.setSessionSpecific(false);
-<a class="jxr_linenumber" name="344" href="#344">344</a>     AsyncCallback callback1
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="344" href="#344">344</a>     AsyncCallback callback1
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="345" href="#345">345</a>     <strong class="jxr_keyword">int</strong>
messageSent1 = _startCMResultMap.get(hostSrc)._manager.getMessagingService()
 <a class="jxr_linenumber" name="346" href="#346">346</a>         .sendAndWait(cr,
msg, callback1, 10000);
 <a class="jxr_linenumber" name="347" href="#347">347</a> 
@@ -360,32 +360,32 @@
 <a class="jxr_linenumber" name="350" href="#350">350</a>         .get(<span
class="jxr_string">"ReplyMessage"</span>).equals(<span class="jxr_string">"TestReplyMessage"</span>));
 <a class="jxr_linenumber" name="351" href="#351">351</a>     AssertJUnit.assertTrue(callback1.getMessageReplied().size()
== NODE_NR - 1);
 <a class="jxr_linenumber" name="352" href="#352">352</a> 
-<a class="jxr_linenumber" name="353" href="#353">353</a>     AsyncCallback callback2
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="353" href="#353">353</a>     AsyncCallback callback2
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="354" href="#354">354</a>     <strong class="jxr_keyword">int</strong>
messageSent2 = _startCMResultMap.get(hostSrc)._manager.getMessagingService()
 <a class="jxr_linenumber" name="355" href="#355">355</a>         .sendAndWait(cr,
msg, callback2, 500);
 <a class="jxr_linenumber" name="356" href="#356">356</a>     AssertJUnit.assertTrue(callback2.isTimedOut());
 <a class="jxr_linenumber" name="357" href="#357">357</a> 
 <a class="jxr_linenumber" name="358" href="#358">358</a>     cr.setPartition(<span
class="jxr_string">"TestDB_17"</span>);
-<a class="jxr_linenumber" name="359" href="#359">359</a>     AsyncCallback callback3
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="359" href="#359">359</a>     AsyncCallback callback3
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="360" href="#360">360</a>     <strong class="jxr_keyword">int</strong>
messageSent3 = _startCMResultMap.get(hostSrc)._manager.getMessagingService()
 <a class="jxr_linenumber" name="361" href="#361">361</a>         .sendAndWait(cr,
msg, callback3, 10000);
 <a class="jxr_linenumber" name="362" href="#362">362</a>     AssertJUnit.assertTrue(callback3.getMessageReplied().size()
== _replica - 1);
 <a class="jxr_linenumber" name="363" href="#363">363</a> 
 <a class="jxr_linenumber" name="364" href="#364">364</a> 
 <a class="jxr_linenumber" name="365" href="#365">365</a>     cr.setPartition(<span
class="jxr_string">"TestDB_15"</span>);
-<a class="jxr_linenumber" name="366" href="#366">366</a>     AsyncCallback callback4
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="366" href="#366">366</a>     AsyncCallback callback4
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="367" href="#367">367</a>     <strong class="jxr_keyword">int</strong>
messageSent4 = _startCMResultMap.get(hostSrc)._manager.getMessagingService()
 <a class="jxr_linenumber" name="368" href="#368">368</a>         .sendAndWait(cr,
msg, callback4, 10000);
 <a class="jxr_linenumber" name="369" href="#369">369</a>     AssertJUnit.assertTrue(callback4.getMessageReplied().size()
== _replica);
 <a class="jxr_linenumber" name="370" href="#370">370</a>     
 <a class="jxr_linenumber" name="371" href="#371">371</a>     cr.setPartitionState(<span
class="jxr_string">"SLAVE"</span>);
-<a class="jxr_linenumber" name="372" href="#372">372</a>     AsyncCallback callback5
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="372" href="#372">372</a>     AsyncCallback callback5
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="373" href="#373">373</a>     <strong class="jxr_keyword">int</strong>
messageSent5 = _startCMResultMap.get(hostSrc)._manager.getMessagingService()
 <a class="jxr_linenumber" name="374" href="#374">374</a>         .sendAndWait(cr,
msg, callback5, 10000);
 <a class="jxr_linenumber" name="375" href="#375">375</a>     AssertJUnit.assertTrue(callback5.getMessageReplied().size()
== _replica - 1);
 <a class="jxr_linenumber" name="376" href="#376">376</a>     
 <a class="jxr_linenumber" name="377" href="#377">377</a>     cr.setDataSource(DataSource.IDEALSTATES);
-<a class="jxr_linenumber" name="378" href="#378">378</a>     AsyncCallback callback6
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="378" href="#378">378</a>     AsyncCallback callback6
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="379" href="#379">379</a>     <strong class="jxr_keyword">int</strong>
messageSent6 = _startCMResultMap.get(hostSrc)._manager.getMessagingService()
 <a class="jxr_linenumber" name="380" href="#380">380</a>         .sendAndWait(cr,
msg, callback6, 10000);
 <a class="jxr_linenumber" name="381" href="#381">381</a>     AssertJUnit.assertTrue(callback6.getMessageReplied().size()
== _replica - 1);
@@ -419,7 +419,7 @@
 <a class="jxr_linenumber" name="409" href="#409">409</a>     cr.setRecipientInstanceType(InstanceType.PARTICIPANT);
 <a class="jxr_linenumber" name="410" href="#410">410</a>     cr.setSessionSpecific(false);
 <a class="jxr_linenumber" name="411" href="#411">411</a>     cr.setSelfExcluded(false);
-<a class="jxr_linenumber" name="412" href="#412">412</a>     AsyncCallback callback1
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="412" href="#412">412</a>     AsyncCallback callback1
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="413" href="#413">413</a>     <strong class="jxr_keyword">int</strong>
messageSent1 = _startCMResultMap.get(hostSrc)._manager.getMessagingService()
 <a class="jxr_linenumber" name="414" href="#414">414</a>         .sendAndWait(cr,
msg, callback1, 10000);
 <a class="jxr_linenumber" name="415" href="#415">415</a> 
@@ -456,7 +456,7 @@
 <a class="jxr_linenumber" name="446" href="#446">446</a>     cr.setRecipientInstanceType(InstanceType.CONTROLLER);
 <a class="jxr_linenumber" name="447" href="#447">447</a>     cr.setSessionSpecific(false);
 <a class="jxr_linenumber" name="448" href="#448">448</a> 
-<a class="jxr_linenumber" name="449" href="#449">449</a>     AsyncCallback callback1
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="449" href="#449">449</a>     AsyncCallback callback1
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="450" href="#450">450</a>     <strong class="jxr_keyword">int</strong>
messagesSent = _startCMResultMap.get(hostSrc)._manager.getMessagingService()
 <a class="jxr_linenumber" name="451" href="#451">451</a>         .sendAndWait(cr,
msg, callback1, 10000);
 <a class="jxr_linenumber" name="452" href="#452">452</a> 
@@ -468,7 +468,7 @@
 <a class="jxr_linenumber" name="458" href="#458">458</a>     msgId = UUID.randomUUID().toString();
 <a class="jxr_linenumber" name="459" href="#459">459</a>     msg.setMsgId(msgId);
 <a class="jxr_linenumber" name="460" href="#460">460</a>     cr.setPartition(<span
class="jxr_string">"TestDB_17"</span>);
-<a class="jxr_linenumber" name="461" href="#461">461</a>     AsyncCallback callback2
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="461" href="#461">461</a>     AsyncCallback callback2
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="462" href="#462">462</a>     messagesSent = _startCMResultMap.get(hostSrc)._manager.getMessagingService()
 <a class="jxr_linenumber" name="463" href="#463">463</a>         .sendAndWait(cr,
msg, callback2, 10000);
 <a class="jxr_linenumber" name="464" href="#464">464</a>     AssertJUnit.assertTrue(callback2.getMessageReplied().get(0).getRecord()
@@ -480,7 +480,7 @@
 <a class="jxr_linenumber" name="470" href="#470">470</a>     msgId = UUID.randomUUID().toString();
 <a class="jxr_linenumber" name="471" href="#471">471</a>     msg.setMsgId(msgId);
 <a class="jxr_linenumber" name="472" href="#472">472</a>     cr.setPartitionState(<span
class="jxr_string">"SLAVE"</span>);
-<a class="jxr_linenumber" name="473" href="#473">473</a>     AsyncCallback callback3
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="473" href="#473">473</a>     AsyncCallback callback3
= <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="474" href="#474">474</a>     messagesSent = _startCMResultMap.get(hostSrc)._manager.getMessagingService()
 <a class="jxr_linenumber" name="475" href="#475">475</a>         .sendAndWait(cr,
msg, callback3, 10000);
 <a class="jxr_linenumber" name="476" href="#476">476</a>     AssertJUnit.assertTrue(callback3.getMessageReplied().get(0).getRecord()

Modified: incubator/helix/site-content/xref-test/org/apache/helix/integration/TestSchedulerMessage.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/integration/TestSchedulerMessage.html?rev=1479756&r1=1479755&r2=1479756&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/integration/TestSchedulerMessage.html
(original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/integration/TestSchedulerMessage.html
Tue May  7 03:10:53 2013
@@ -74,10 +74,10 @@
 <a class="jxr_linenumber" name="64" href="#64">64</a>  <strong class="jxr_keyword">public</strong>
<strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">TestSchedulerMessage</a>
<strong class="jxr_keyword">extends</strong> <a href="../../../../org/apache/helix/integration/ZkStandAloneCMTestBaseWithPropertyServerCheck.html">ZkStandAloneCMTestBaseWithPropertyServerCheck</a>
 <a class="jxr_linenumber" name="65" href="#65">65</a>  {
 <a class="jxr_linenumber" name="66" href="#66">66</a>  
-<a class="jxr_linenumber" name="67" href="#67">67</a>    <strong class="jxr_keyword">class</strong>
<a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>
<strong class="jxr_keyword">extends</strong> AsyncCallback
+<a class="jxr_linenumber" name="67" href="#67">67</a>    <strong class="jxr_keyword">class</strong>
<a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>
<strong class="jxr_keyword">extends</strong> AsyncCallback
 <a class="jxr_linenumber" name="68" href="#68">68</a>    {
 <a class="jxr_linenumber" name="69" href="#69">69</a>      Message _message;
-<a class="jxr_linenumber" name="70" href="#70">70</a>      <strong class="jxr_keyword">public</strong>
<a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>()
+<a class="jxr_linenumber" name="70" href="#70">70</a>      <strong class="jxr_keyword">public</strong>
<a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>()
 <a class="jxr_linenumber" name="71" href="#71">71</a>      {
 <a class="jxr_linenumber" name="72" href="#72">72</a>      }
 <a class="jxr_linenumber" name="73" href="#73">73</a>  
@@ -103,7 +103,7 @@
 <a class="jxr_linenumber" name="93" href="#93">93</a>      <strong class="jxr_keyword">public</strong>
MessageHandler createHandler(Message message,
 <a class="jxr_linenumber" name="94" href="#94">94</a>          NotificationContext
context)
 <a class="jxr_linenumber" name="95" href="#95">95</a>      {
-<a class="jxr_linenumber" name="96" href="#96">96</a>        <strong class="jxr_keyword">return</strong>
<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">TestMessagingHandler</a>(message,
context);
+<a class="jxr_linenumber" name="96" href="#96">96</a>        <strong class="jxr_keyword">return</strong>
<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">TestMessagingHandler</a>(message,
context);
 <a class="jxr_linenumber" name="97" href="#97">97</a>      }
 <a class="jxr_linenumber" name="98" href="#98">98</a>  
 <a class="jxr_linenumber" name="99" href="#99">99</a>      @Override
@@ -119,9 +119,9 @@
 <a class="jxr_linenumber" name="109" href="#109">109</a> 
 <a class="jxr_linenumber" name="110" href="#110">110</a>     }
 <a class="jxr_linenumber" name="111" href="#111">111</a> 
-<a class="jxr_linenumber" name="112" href="#112">112</a>     <strong class="jxr_keyword">public</strong>
<strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">TestMessagingHandler</a>
<strong class="jxr_keyword">extends</strong> MessageHandler
+<a class="jxr_linenumber" name="112" href="#112">112</a>     <strong class="jxr_keyword">public</strong>
<strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">TestMessagingHandler</a>
<strong class="jxr_keyword">extends</strong> MessageHandler
 <a class="jxr_linenumber" name="113" href="#113">113</a>     {
-<a class="jxr_linenumber" name="114" href="#114">114</a>       <strong class="jxr_keyword">public</strong>
<a href="../../../../org/apache/helix/integration/TestMessagingService.html">TestMessagingHandler</a>(Message
message, NotificationContext context)
+<a class="jxr_linenumber" name="114" href="#114">114</a>       <strong class="jxr_keyword">public</strong>
<a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">TestMessagingHandler</a>(Message
message, NotificationContext context)
 <a class="jxr_linenumber" name="115" href="#115">115</a>       {
 <a class="jxr_linenumber" name="116" href="#116">116</a>         <strong class="jxr_keyword">super</strong>(message,
context);
 <a class="jxr_linenumber" name="117" href="#117">117</a>         <em class="jxr_comment">//
TODO Auto-generated constructor stub</em>
@@ -430,7 +430,7 @@
 <a class="jxr_linenumber" name="420" href="#420">420</a>     cr2.setSessionSpecific(false);
 <a class="jxr_linenumber" name="421" href="#421">421</a> 
 <a class="jxr_linenumber" name="422" href="#422">422</a>     schedulerMessage.getRecord().setSimpleField(DefaultSchedulerMessageHandlerFactory.SCHEDULER_TASK_QUEUE,
<span class="jxr_string">"TestSchedulerMsg2"</span>);
-<a class="jxr_linenumber" name="423" href="#423">423</a>     <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>
callback = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="423" href="#423">423</a>     <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>
callback = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="424" href="#424">424</a>     manager.getMessagingService().sendAndWait(cr2,
schedulerMessage, callback, -1);
 <a class="jxr_linenumber" name="425" href="#425">425</a>     String msgId = callback._message.getResultMap().get(DefaultSchedulerMessageHandlerFactory.SCHEDULER_MSG_ID);
 <a class="jxr_linenumber" name="426" href="#426">426</a>     
@@ -610,7 +610,7 @@
 <a class="jxr_linenumber" name="600" href="#600">600</a>     cr2.setInstanceName(<span
class="jxr_string">"*"</span>);
 <a class="jxr_linenumber" name="601" href="#601">601</a>     cr2.setSessionSpecific(false);
 <a class="jxr_linenumber" name="602" href="#602">602</a>     
-<a class="jxr_linenumber" name="603" href="#603">603</a>     <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>
callback = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="603" href="#603">603</a>     <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>
callback = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="604" href="#604">604</a>     cr.setInstanceName(<span
class="jxr_string">"localhost_%"</span>);
 <a class="jxr_linenumber" name="605" href="#605">605</a>     mapper = <strong
class="jxr_keyword">new</strong> ObjectMapper();
 <a class="jxr_linenumber" name="606" href="#606">606</a>     serializationConfig
= mapper.getSerializationConfig();
@@ -624,7 +624,7 @@
 <a class="jxr_linenumber" name="614" href="#614">614</a>     
 <a class="jxr_linenumber" name="615" href="#615">615</a>     <strong class="jxr_keyword">for</strong>(<strong
class="jxr_keyword">int</strong> i = 0; i &lt; 4; i++)
 <a class="jxr_linenumber" name="616" href="#616">616</a>     {
-<a class="jxr_linenumber" name="617" href="#617">617</a>       callback = <strong
class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="617" href="#617">617</a>       callback = <strong
class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="618" href="#618">618</a>       cr.setInstanceName(<span
class="jxr_string">"localhost_"</span>+(START_PORT + i));
 <a class="jxr_linenumber" name="619" href="#619">619</a>       mapper = <strong
class="jxr_keyword">new</strong> ObjectMapper();
 <a class="jxr_linenumber" name="620" href="#620">620</a>       serializationConfig
= mapper.getSerializationConfig();
@@ -750,7 +750,7 @@
 <a class="jxr_linenumber" name="740" href="#740">740</a>                    
                                <span class="jxr_string">"constraint1"</span>,

 <a class="jxr_linenumber" name="741" href="#741">741</a>                    
                                <strong class="jxr_keyword">new</strong> ConstraintItem(constraints));
 <a class="jxr_linenumber" name="742" href="#742">742</a>     
-<a class="jxr_linenumber" name="743" href="#743">743</a>     <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>
callback = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="743" href="#743">743</a>     <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>
callback = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="744" href="#744">744</a>     cr.setInstanceName(<span
class="jxr_string">"localhost_%"</span>);
 <a class="jxr_linenumber" name="745" href="#745">745</a>     mapper = <strong
class="jxr_keyword">new</strong> ObjectMapper();
 <a class="jxr_linenumber" name="746" href="#746">746</a>     serializationConfig
= mapper.getSerializationConfig();
@@ -769,7 +769,7 @@
 <a class="jxr_linenumber" name="759" href="#759">759</a>     ArrayList&lt;String&gt;
msgIds = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;();
 <a class="jxr_linenumber" name="760" href="#760">760</a>     <strong class="jxr_keyword">for</strong>(<strong
class="jxr_keyword">int</strong> i = 0; i &lt; NODE_NR; i++)
 <a class="jxr_linenumber" name="761" href="#761">761</a>     {
-<a class="jxr_linenumber" name="762" href="#762">762</a>       callback = <strong
class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="762" href="#762">762</a>       callback = <strong
class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="763" href="#763">763</a>       cr.setInstanceName(<span
class="jxr_string">"localhost_"</span>+(START_PORT + i));
 <a class="jxr_linenumber" name="764" href="#764">764</a>       mapper = <strong
class="jxr_keyword">new</strong> ObjectMapper();
 <a class="jxr_linenumber" name="765" href="#765">765</a>       serializationConfig
= mapper.getSerializationConfig();
@@ -904,7 +904,7 @@
 <a class="jxr_linenumber" name="894" href="#894">894</a>     cr2.setSessionSpecific(false);
 <a class="jxr_linenumber" name="895" href="#895">895</a>     
 <a class="jxr_linenumber" name="896" href="#896">896</a>     
-<a class="jxr_linenumber" name="897" href="#897">897</a>     <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>
callback = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestMessagingService.html">MockAsyncCallback</a>();
+<a class="jxr_linenumber" name="897" href="#897">897</a>     <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>
callback = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/integration/TestSchedulerMessage.html">MockAsyncCallback</a>();
 <a class="jxr_linenumber" name="898" href="#898">898</a>     mapper = <strong
class="jxr_keyword">new</strong> ObjectMapper();
 <a class="jxr_linenumber" name="899" href="#899">899</a>     serializationConfig
= mapper.getSerializationConfig();
 <a class="jxr_linenumber" name="900" href="#900">900</a>     serializationConfig.set(SerializationConfig.Feature.INDENT_OUTPUT,
<strong class="jxr_keyword">true</strong>);



Mime
View raw message