helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kisho...@apache.org
Subject svn commit: r1484629 [23/23] - in /incubator/helix/site-content: ./ apidocs/reference/org/apache/helix/agent/ apidocs/reference/org/apache/helix/manager/zk/ apidocs/reference/org/apache/helix/recipes/rabbitmq/ helix-admin-webapp/ helix-agent/ helix-cor...
Date Tue, 21 May 2013 00:45:05 GMT
Modified: incubator/helix/site-content/xref-test/org/apache/helix/integration/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/integration/package-frame.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/integration/package-frame.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/integration/package-frame.html Tue May 21 00:45:01 2013
@@ -22,7 +22,7 @@
             	<a href="TestResetPartitionState.html" target="classFrame">ErrTransitionWithResetCnt</a>
           	</li>
           	          	<li>
-            	<a href="TestAutoRebalancePartitionLimit.html" target="classFrame">ExternalViewBalancedVerifier</a>
+            	<a href="TestCustomizedIdealStateRebalancer.html" target="classFrame">ExternalViewBalancedVerifier</a>
           	</li>
           	          	<li>
             	<a href="IntegrationTest.html" target="classFrame">IntegrationTest</a>
@@ -31,7 +31,7 @@
             	<a href="TestRestartParticipant.html" target="classFrame">KillOtherTransition</a>
           	</li>
           	          	<li>
-            	<a href="TestSchedulerMessage.html" target="classFrame">MockAsyncCallback</a>
+            	<a href="TestMessagingService.html" target="classFrame">MockAsyncCallback</a>
           	</li>
           	          	<li>
             	<a href="TestBatchMessageWrapper.html" target="classFrame">MockBatchMsgWrapper</a>
@@ -187,10 +187,10 @@
             	<a href="TestMessageThrottle2.html" target="classFrame">TestMessageThrottle2</a>
           	</li>
           	          	<li>
-            	<a href="TestSchedulerMessage.html" target="classFrame">TestMessagingHandler</a>
+            	<a href="TestMessagingService.html" target="classFrame">TestMessagingHandler</a>
           	</li>
           	          	<li>
-            	<a href="TestSchedulerMessage.html" target="classFrame">TestMessagingHandlerFactory</a>
+            	<a href="TestMessagingService.html" target="classFrame">TestMessagingHandlerFactory</a>
           	</li>
           	          	<li>
             	<a href="TestSchedulerMessage.html" target="classFrame">TestMessagingHandlerFactoryLatch</a>

Modified: incubator/helix/site-content/xref-test/org/apache/helix/integration/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/integration/package-summary.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/integration/package-summary.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/integration/package-summary.html Tue May 21 00:45:01 2013
@@ -47,7 +47,7 @@
             	</tr>
 				            	<tr>
               		<td>
-                		<a href="TestAutoRebalancePartitionLimit.html" target="classFrame">ExternalViewBalancedVerifier</a>
+                		<a href="TestCustomizedIdealStateRebalancer.html" target="classFrame">ExternalViewBalancedVerifier</a>
               		</td>
             	</tr>
 				            	<tr>
@@ -62,7 +62,7 @@
             	</tr>
 				            	<tr>
               		<td>
-                		<a href="TestSchedulerMessage.html" target="classFrame">MockAsyncCallback</a>
+                		<a href="TestMessagingService.html" target="classFrame">MockAsyncCallback</a>
               		</td>
             	</tr>
 				            	<tr>
@@ -322,12 +322,12 @@
             	</tr>
 				            	<tr>
               		<td>
-                		<a href="TestSchedulerMessage.html" target="classFrame">TestMessagingHandler</a>
+                		<a href="TestMessagingService.html" target="classFrame">TestMessagingHandler</a>
               		</td>
             	</tr>
 				            	<tr>
               		<td>
-                		<a href="TestSchedulerMessage.html" target="classFrame">TestMessagingHandlerFactory</a>
+                		<a href="TestMessagingService.html" target="classFrame">TestMessagingHandlerFactory</a>
               		</td>
             	</tr>
 				            	<tr>

Added: incubator/helix/site-content/xref-test/org/apache/helix/manager/zk/TestZkClient.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/manager/zk/TestZkClient.html?rev=1484629&view=auto
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/manager/zk/TestZkClient.html (added)
+++ incubator/helix/site-content/xref-test/org/apache/helix/manager/zk/TestZkClient.html Tue May 21 00:45:01 2013
@@ -0,0 +1,55 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
+<head>
+<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
+<title>TestZkClient xref</title>
+<link type="text/css" rel="stylesheet" href="../../../../../stylesheet.css" />
+</head>
+<body>
+<div id="overview"><a href="../../../../../../testapidocs/org/apache/helix/manager/zk/TestZkClient.html">View Javadoc</a></div><pre>
+
+<a class="jxr_linenumber" name="1" href="#1">1</a>   <strong class="jxr_keyword">package</strong> org.apache.helix.manager.zk;
+<a class="jxr_linenumber" name="2" href="#2">2</a>   
+<a class="jxr_linenumber" name="3" href="#3">3</a>   <strong class="jxr_keyword">import</strong> java.util.concurrent.TimeUnit;
+<a class="jxr_linenumber" name="4" href="#4">4</a>   
+<a class="jxr_linenumber" name="5" href="#5">5</a>   <strong class="jxr_keyword">import</strong> org.I0Itec.zkclient.IZkStateListener;
+<a class="jxr_linenumber" name="6" href="#6">6</a>   <strong class="jxr_keyword">import</strong> org.apache.zookeeper.Watcher.Event.KeeperState;
+<a class="jxr_linenumber" name="7" href="#7">7</a>   
+<a class="jxr_linenumber" name="8" href="#8">8</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/manager/zk/TestZkClient.html">TestZkClient</a>
+<a class="jxr_linenumber" name="9" href="#9">9</a>   {
+<a class="jxr_linenumber" name="10" href="#10">10</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> main(String[] args) <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="11" href="#11">11</a>    {
+<a class="jxr_linenumber" name="12" href="#12">12</a>      ZkClient zkClient = <strong class="jxr_keyword">new</strong> ZkClient(<span class="jxr_string">"localhost:2181"</span>, 60 * 1000, 60 * 1000);
+<a class="jxr_linenumber" name="13" href="#13">13</a>      zkClient.waitUntilConnected(60, TimeUnit.SECONDS);
+<a class="jxr_linenumber" name="14" href="#14">14</a>      <strong class="jxr_keyword">int</strong> count = 0;
+<a class="jxr_linenumber" name="15" href="#15">15</a>      IZkStateListener listener = <strong class="jxr_keyword">new</strong> IZkStateListener()
+<a class="jxr_linenumber" name="16" href="#16">16</a>      {
+<a class="jxr_linenumber" name="17" href="#17">17</a>  
+<a class="jxr_linenumber" name="18" href="#18">18</a>        @Override
+<a class="jxr_linenumber" name="19" href="#19">19</a>        <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> handleStateChanged(KeeperState state) <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="20" href="#20">20</a>        {
+<a class="jxr_linenumber" name="21" href="#21">21</a>          System.out
+<a class="jxr_linenumber" name="22" href="#22">22</a>              .println(<span class="jxr_string">"TestZkClient.main(...).new IZkStateListener() {...}.handleStateChanged()"</span>);
+<a class="jxr_linenumber" name="23" href="#23">23</a>        }
+<a class="jxr_linenumber" name="24" href="#24">24</a>  
+<a class="jxr_linenumber" name="25" href="#25">25</a>        @Override
+<a class="jxr_linenumber" name="26" href="#26">26</a>        <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> handleNewSession() <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="27" href="#27">27</a>        {
+<a class="jxr_linenumber" name="28" href="#28">28</a>          System.out
+<a class="jxr_linenumber" name="29" href="#29">29</a>              .println(<span class="jxr_string">"TestZkClient.main(...).new IZkStateListener() {...}.handleNewSession()"</span>);
+<a class="jxr_linenumber" name="30" href="#30">30</a>        }
+<a class="jxr_linenumber" name="31" href="#31">31</a>      };
+<a class="jxr_linenumber" name="32" href="#32">32</a>      zkClient.subscribeStateChanges(listener);
+<a class="jxr_linenumber" name="33" href="#33">33</a>      <strong class="jxr_keyword">while</strong> (<strong class="jxr_keyword">true</strong>)
+<a class="jxr_linenumber" name="34" href="#34">34</a>      {
+<a class="jxr_linenumber" name="35" href="#35">35</a>        System.out.println(<span class="jxr_string">"reading:"</span> + count++);
+<a class="jxr_linenumber" name="36" href="#36">36</a>        Object readData = zkClient.getChildren(<span class="jxr_string">"/"</span>);
+<a class="jxr_linenumber" name="37" href="#37">37</a>        System.out.println(<span class="jxr_string">"done:"</span> + count);
+<a class="jxr_linenumber" name="38" href="#38">38</a>        Thread.sleep(10 * 1000);
+<a class="jxr_linenumber" name="39" href="#39">39</a>      }
+<a class="jxr_linenumber" name="40" href="#40">40</a>    }
+<a class="jxr_linenumber" name="41" href="#41">41</a>  
+<a class="jxr_linenumber" name="42" href="#42">42</a>  }
+</pre>
+<hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
+</html>

Modified: incubator/helix/site-content/xref-test/org/apache/helix/manager/zk/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/manager/zk/package-frame.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/manager/zk/package-frame.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/manager/zk/package-frame.html Tue May 21 00:45:01 2013
@@ -67,6 +67,9 @@
             	<a href="TestZkCacheSyncOpSingleThread.html" target="classFrame">TestZkCacheSyncOpSingleThread</a>
           	</li>
           	          	<li>
+            	<a href="TestZkClient.html" target="classFrame">TestZkClient</a>
+          	</li>
+          	          	<li>
             	<a href="TestZkClusterManager.html" target="classFrame">TestZkClusterManager</a>
           	</li>
           	          	<li>

Modified: incubator/helix/site-content/xref-test/org/apache/helix/manager/zk/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/manager/zk/package-summary.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/manager/zk/package-summary.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/manager/zk/package-summary.html Tue May 21 00:45:01 2013
@@ -122,6 +122,11 @@
             	</tr>
 				            	<tr>
               		<td>
+                		<a href="TestZkClient.html" target="classFrame">TestZkClient</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
                 		<a href="TestZkClusterManager.html" target="classFrame">TestZkClusterManager</a>
               		</td>
             	</tr>

Modified: incubator/helix/site-content/xref-test/org/apache/helix/messaging/TestAsyncCallback.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/messaging/TestAsyncCallback.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/messaging/TestAsyncCallback.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/messaging/TestAsyncCallback.html Tue May 21 00:45:01 2013
@@ -40,7 +40,7 @@
 <a class="jxr_linenumber" name="30" href="#30">30</a>  <strong class="jxr_keyword">import</strong> org.testng.annotations.Test;
 <a class="jxr_linenumber" name="31" href="#31">31</a>  
 <a class="jxr_linenumber" name="32" href="#32">32</a>  
-<a class="jxr_linenumber" name="33" href="#33">33</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">TestAsyncCallback</a>
+<a class="jxr_linenumber" name="33" href="#33">33</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallback.html">TestAsyncCallback</a>
 <a class="jxr_linenumber" name="34" href="#34">34</a>  {
 <a class="jxr_linenumber" name="35" href="#35">35</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallback.html">AsyncCallbackSample</a> <strong class="jxr_keyword">extends</strong> AsyncCallback
 <a class="jxr_linenumber" name="36" href="#36">36</a>    {

Modified: incubator/helix/site-content/xref-test/org/apache/helix/messaging/TestAsyncCallbackSvc.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/messaging/TestAsyncCallbackSvc.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/messaging/TestAsyncCallbackSvc.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/messaging/TestAsyncCallbackSvc.html Tue May 21 00:45:01 2013
@@ -53,7 +53,7 @@
 <a class="jxr_linenumber" name="43" href="#43">43</a>  
 <a class="jxr_linenumber" name="44" href="#44">44</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">TestAsyncCallbackSvc</a>
 <a class="jxr_linenumber" name="45" href="#45">45</a>  {
-<a class="jxr_linenumber" name="46" href="#46">46</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">MockHelixManager</a> <strong class="jxr_keyword">extends</strong> Mocks.MockManager
+<a class="jxr_linenumber" name="46" href="#46">46</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/messaging/TestDefaultMessagingService.html">MockHelixManager</a> <strong class="jxr_keyword">extends</strong> Mocks.MockManager
 <a class="jxr_linenumber" name="47" href="#47">47</a>    {
 <a class="jxr_linenumber" name="48" href="#48">48</a>      <strong class="jxr_keyword">public</strong> String getSessionId()
 <a class="jxr_linenumber" name="49" href="#49">49</a>      {
@@ -61,7 +61,7 @@
 <a class="jxr_linenumber" name="51" href="#51">51</a>      }
 <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>    <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="54" href="#54">54</a>    <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="55" href="#55">55</a>    {
 <a class="jxr_linenumber" name="56" href="#56">56</a>      HashSet&lt;String&gt; _repliedMessageId = <strong class="jxr_keyword">new</strong> HashSet&lt;String&gt;();
 <a class="jxr_linenumber" name="57" href="#57">57</a>      @Override
@@ -84,7 +84,7 @@
 <a class="jxr_linenumber" name="74" href="#74">74</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> testAsyncCallbackSvc() <strong class="jxr_keyword">throws</strong> Exception
 <a class="jxr_linenumber" name="75" href="#75">75</a>    {
 <a class="jxr_linenumber" name="76" href="#76">76</a>      AsyncCallbackService svc = <strong class="jxr_keyword">new</strong> AsyncCallbackService();
-<a class="jxr_linenumber" name="77" href="#77">77</a>      HelixManager manager = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">MockHelixManager</a>();
+<a class="jxr_linenumber" name="77" href="#77">77</a>      HelixManager manager = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestDefaultMessagingService.html">MockHelixManager</a>();
 <a class="jxr_linenumber" name="78" href="#78">78</a>      NotificationContext changeContext = <strong class="jxr_keyword">new</strong> NotificationContext(manager);
 <a class="jxr_linenumber" name="79" href="#79">79</a>      
 <a class="jxr_linenumber" name="80" href="#80">80</a>      Message msg = <strong class="jxr_keyword">new</strong> Message(svc.getMessageType(), UUID.randomUUID().toString());
@@ -119,9 +119,9 @@
 <a class="jxr_linenumber" name="109" href="#109">109</a>       AssertJUnit.assertTrue(e.getMessage().indexOf(msg3.getMsgId())!= -1);
 <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>     <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>();
+<a class="jxr_linenumber" name="112" href="#112">112</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>();
 <a class="jxr_linenumber" name="113" href="#113">113</a>     String corrId = UUID.randomUUID().toString();
-<a class="jxr_linenumber" name="114" href="#114">114</a>     svc.registerAsyncCallback(corrId, <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">TestAsyncCallback</a>());
+<a class="jxr_linenumber" name="114" href="#114">114</a>     svc.registerAsyncCallback(corrId, <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallback.html">TestAsyncCallback</a>());
 <a class="jxr_linenumber" name="115" href="#115">115</a>     svc.registerAsyncCallback(corrId, callback);
 <a class="jxr_linenumber" name="116" href="#116">116</a>     
 <a class="jxr_linenumber" name="117" href="#117">117</a>     List&lt;Message&gt; msgSent = <strong class="jxr_keyword">new</strong> ArrayList&lt;Message&gt;();

Modified: incubator/helix/site-content/xref-test/org/apache/helix/messaging/TestDefaultMessagingService.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/messaging/TestDefaultMessagingService.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/messaging/TestDefaultMessagingService.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/messaging/TestDefaultMessagingService.html Tue May 21 00:45:01 2013
@@ -56,7 +56,7 @@
 <a class="jxr_linenumber" name="46" href="#46">46</a>  
 <a class="jxr_linenumber" name="47" href="#47">47</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/messaging/TestDefaultMessagingService.html">TestDefaultMessagingService</a>
 <a class="jxr_linenumber" name="48" href="#48">48</a>  {
-<a class="jxr_linenumber" name="49" href="#49">49</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">MockHelixManager</a> <strong class="jxr_keyword">extends</strong> Mocks.MockManager
+<a class="jxr_linenumber" name="49" href="#49">49</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/messaging/TestDefaultMessagingService.html">MockHelixManager</a> <strong class="jxr_keyword">extends</strong> Mocks.MockManager
 <a class="jxr_linenumber" name="50" href="#50">50</a>    {
 <a class="jxr_linenumber" name="51" href="#51">51</a>      <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/messaging/TestDefaultMessagingService.html">MockDataAccessor</a> <strong class="jxr_keyword">extends</strong> Mocks.MockAccessor
 <a class="jxr_linenumber" name="52" href="#52">52</a>      {
@@ -102,7 +102,7 @@
 <a class="jxr_linenumber" name="92" href="#92">92</a>      <strong class="jxr_keyword">int</strong> _replicas = 3;
 <a class="jxr_linenumber" name="93" href="#93">93</a>      <strong class="jxr_keyword">int</strong> _partitions = 50;
 <a class="jxr_linenumber" name="94" href="#94">94</a>  
-<a class="jxr_linenumber" name="95" href="#95">95</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">MockHelixManager</a>()
+<a class="jxr_linenumber" name="95" href="#95">95</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/helix/messaging/TestDefaultMessagingService.html">MockHelixManager</a>()
 <a class="jxr_linenumber" name="96" href="#96">96</a>      {
 <a class="jxr_linenumber" name="97" href="#97">97</a>        _liveInstances = <strong class="jxr_keyword">new</strong> ArrayList&lt;ZNRecord&gt;();
 <a class="jxr_linenumber" name="98" href="#98">98</a>        _instances = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;();
@@ -198,7 +198,7 @@
 <a class="jxr_linenumber" name="188" href="#188">188</a>   @Test()
 <a class="jxr_linenumber" name="189" href="#189">189</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> TestMessageSend()
 <a class="jxr_linenumber" name="190" href="#190">190</a>   {
-<a class="jxr_linenumber" name="191" href="#191">191</a>     HelixManager manager = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestAsyncCallbackSvc.html">MockHelixManager</a>();
+<a class="jxr_linenumber" name="191" href="#191">191</a>     HelixManager manager = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/TestDefaultMessagingService.html">MockHelixManager</a>();
 <a class="jxr_linenumber" name="192" href="#192">192</a>     DefaultMessagingService svc = <strong class="jxr_keyword">new</strong> DefaultMessagingService(manager);
 <a class="jxr_linenumber" name="193" href="#193">193</a>     <a href="../../../../org/apache/helix/messaging/handling/TestHelixTaskExecutor.html">TestMessageHandlerFactory</a> factory = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/messaging/handling/TestHelixTaskExecutor.html">TestMessageHandlerFactory</a>();
 <a class="jxr_linenumber" name="194" href="#194">194</a>     svc.registerMessageHandlerFactory(factory.getMessageType(), factory);

Modified: incubator/helix/site-content/xref-test/org/apache/helix/messaging/handling/TestConfigThreadpoolSize.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/messaging/handling/TestConfigThreadpoolSize.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/messaging/handling/TestConfigThreadpoolSize.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/messaging/handling/TestConfigThreadpoolSize.html Tue May 21 00:45:01 2013
@@ -46,7 +46,7 @@
 <a class="jxr_linenumber" name="36" href="#36">36</a>  
 <a class="jxr_linenumber" name="37" href="#37">37</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/messaging/handling/TestConfigThreadpoolSize.html">TestConfigThreadpoolSize</a> <strong class="jxr_keyword">extends</strong> <a href="../../../../../org/apache/helix/integration/ZkStandAloneCMTestBase.html">ZkStandAloneCMTestBase</a>
 <a class="jxr_linenumber" name="38" href="#38">38</a>  {
-<a class="jxr_linenumber" name="39" href="#39">39</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">TestMessagingHandlerFactory</a> <strong class="jxr_keyword">implements</strong> MessageHandlerFactory
+<a class="jxr_linenumber" name="39" href="#39">39</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">TestMessagingHandlerFactory</a> <strong class="jxr_keyword">implements</strong> MessageHandlerFactory
 <a class="jxr_linenumber" name="40" href="#40">40</a>    {
 <a class="jxr_linenumber" name="41" href="#41">41</a>      <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> HashSet&lt;String&gt; _processedMsgIds = <strong class="jxr_keyword">new</strong> HashSet&lt;String&gt;();
 <a class="jxr_linenumber" name="42" href="#42">42</a>      
@@ -114,7 +114,7 @@
 <a class="jxr_linenumber" name="104" href="#104">104</a>     {
 <a class="jxr_linenumber" name="105" href="#105">105</a>       instanceName = PARTICIPANT_PREFIX + <span class="jxr_string">"_"</span> + (START_PORT + i);
 <a class="jxr_linenumber" name="106" href="#106">106</a>       
-<a class="jxr_linenumber" name="107" href="#107">107</a>       _startCMResultMap.get(instanceName)._manager.getMessagingService().registerMessageHandlerFactory(<span class="jxr_string">"TestMsg"</span>, <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/integration/TestSchedulerMessage.html">TestMessagingHandlerFactory</a>());
+<a class="jxr_linenumber" name="107" href="#107">107</a>       _startCMResultMap.get(instanceName)._manager.getMessagingService().registerMessageHandlerFactory(<span class="jxr_string">"TestMsg"</span>, <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/integration/TestMessagingService.html">TestMessagingHandlerFactory</a>());
 <a class="jxr_linenumber" name="108" href="#108">108</a>       _startCMResultMap.get(instanceName)._manager.getMessagingService().registerMessageHandlerFactory(<span class="jxr_string">"TestMsg2"</span>, <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/messaging/handling/TestConfigThreadpoolSize.html">TestMessagingHandlerFactory2</a>());
 <a class="jxr_linenumber" name="109" href="#109">109</a>       
 <a class="jxr_linenumber" name="110" href="#110">110</a>     

Modified: incubator/helix/site-content/xref-test/org/apache/helix/messaging/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/messaging/package-frame.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/messaging/package-frame.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/messaging/package-frame.html Tue May 21 00:45:01 2013
@@ -22,10 +22,10 @@
             	<a href="TestDefaultMessagingService.html" target="classFrame">MockDataAccessor</a>
           	</li>
           	          	<li>
-            	<a href="TestAsyncCallbackSvc.html" target="classFrame">MockHelixManager</a>
+            	<a href="TestDefaultMessagingService.html" target="classFrame">MockHelixManager</a>
           	</li>
           	          	<li>
-            	<a href="TestAsyncCallbackSvc.html" target="classFrame">TestAsyncCallback</a>
+            	<a href="TestAsyncCallback.html" target="classFrame">TestAsyncCallback</a>
           	</li>
           	          	<li>
             	<a href="TestAsyncCallbackSvc.html" target="classFrame">TestAsyncCallbackSvc</a>

Modified: incubator/helix/site-content/xref-test/org/apache/helix/messaging/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/messaging/package-summary.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/messaging/package-summary.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/messaging/package-summary.html Tue May 21 00:45:01 2013
@@ -47,12 +47,12 @@
             	</tr>
 				            	<tr>
               		<td>
-                		<a href="TestAsyncCallbackSvc.html" target="classFrame">MockHelixManager</a>
+                		<a href="TestDefaultMessagingService.html" target="classFrame">MockHelixManager</a>
               		</td>
             	</tr>
 				            	<tr>
               		<td>
-                		<a href="TestAsyncCallbackSvc.html" target="classFrame">TestAsyncCallback</a>
+                		<a href="TestAsyncCallback.html" target="classFrame">TestAsyncCallback</a>
               		</td>
             	</tr>
 				            	<tr>

Modified: incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html Tue May 21 00:45:01 2013
@@ -55,9 +55,9 @@
 <a class="jxr_linenumber" name="45" href="#45">45</a>    <strong class="jxr_keyword">int</strong> _partitions = 50;
 <a class="jxr_linenumber" name="46" href="#46">46</a>    ZNRecord _externalView, _externalView2;
 <a class="jxr_linenumber" name="47" href="#47">47</a>  
-<a class="jxr_linenumber" name="48" href="#48">48</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockDataAccessor</a> <strong class="jxr_keyword">extends</strong> Mocks.MockAccessor
+<a class="jxr_linenumber" name="48" href="#48">48</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockDataAccessor</a> <strong class="jxr_keyword">extends</strong> Mocks.MockAccessor
 <a class="jxr_linenumber" name="49" href="#49">49</a>    {
-<a class="jxr_linenumber" name="50" href="#50">50</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockDataAccessor</a>()
+<a class="jxr_linenumber" name="50" href="#50">50</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockDataAccessor</a>()
 <a class="jxr_linenumber" name="51" href="#51">51</a>      {
 <a class="jxr_linenumber" name="52" href="#52">52</a>        _instances = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;();
 <a class="jxr_linenumber" name="53" href="#53">53</a>        <strong class="jxr_keyword">for</strong>(<strong class="jxr_keyword">int</strong> i = 0;i &lt; 5; i++)
@@ -88,9 +88,9 @@
 <a class="jxr_linenumber" name="78" href="#78">78</a>        <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">null</strong>;
 <a class="jxr_linenumber" name="79" href="#79">79</a>      }
 <a class="jxr_linenumber" name="80" href="#80">80</a>    }
-<a class="jxr_linenumber" name="81" href="#81">81</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockHelixManager</a> <strong class="jxr_keyword">extends</strong> Mocks.MockManager
+<a class="jxr_linenumber" name="81" href="#81">81</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockHelixManager</a> <strong class="jxr_keyword">extends</strong> Mocks.MockManager
 <a class="jxr_linenumber" name="82" href="#82">82</a>    {
-<a class="jxr_linenumber" name="83" href="#83">83</a>      <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockDataAccessor</a> _accessor = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockDataAccessor</a>();
+<a class="jxr_linenumber" name="83" href="#83">83</a>      <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockDataAccessor</a> _accessor = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockDataAccessor</a>();
 <a class="jxr_linenumber" name="84" href="#84">84</a>  
 <a class="jxr_linenumber" name="85" href="#85">85</a>      @Override
 <a class="jxr_linenumber" name="86" href="#86">86</a>  		<strong class="jxr_keyword">public</strong> HelixDataAccessor getHelixDataAccessor()
@@ -130,7 +130,7 @@
 <a class="jxr_linenumber" name="120" href="#120">120</a>     externalViews.add(externalView2);
 <a class="jxr_linenumber" name="121" href="#121">121</a> 
 <a class="jxr_linenumber" name="122" href="#122">122</a>     ClusterStatusMonitor monitor = <strong class="jxr_keyword">new</strong> ClusterStatusMonitor(<span class="jxr_string">"cluster1"</span>);
-<a class="jxr_linenumber" name="123" href="#123">123</a>     <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockHelixManager</a> manager = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockHelixManager</a>();
+<a class="jxr_linenumber" name="123" href="#123">123</a>     <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockHelixManager</a> manager = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockHelixManager</a>();
 <a class="jxr_linenumber" name="124" href="#124">124</a>     NotificationContext context = <strong class="jxr_keyword">new</strong> NotificationContext(manager);
 <a class="jxr_linenumber" name="125" href="#125">125</a>     System.out.println(<span class="jxr_string">"END TestClusterStatusMonitor at"</span> + <strong class="jxr_keyword">new</strong> Date(System.currentTimeMillis()));
 <a class="jxr_linenumber" name="126" href="#126">126</a>   }

Modified: incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/TestResourceMonitor.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/TestResourceMonitor.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/TestResourceMonitor.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/TestResourceMonitor.html Tue May 21 00:45:01 2013
@@ -57,9 +57,9 @@
 <a class="jxr_linenumber" name="47" href="#47">47</a>    <strong class="jxr_keyword">int</strong> _replicas = 3;
 <a class="jxr_linenumber" name="48" href="#48">48</a>    <strong class="jxr_keyword">int</strong> _partitions = 50;
 <a class="jxr_linenumber" name="49" href="#49">49</a>  
-<a class="jxr_linenumber" name="50" href="#50">50</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockHelixManager</a> <strong class="jxr_keyword">extends</strong> Mocks.MockManager
+<a class="jxr_linenumber" name="50" href="#50">50</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockHelixManager</a> <strong class="jxr_keyword">extends</strong> Mocks.MockManager
 <a class="jxr_linenumber" name="51" href="#51">51</a>    {
-<a class="jxr_linenumber" name="52" href="#52">52</a>      <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockDataAccessor</a> <strong class="jxr_keyword">extends</strong> Mocks.MockAccessor
+<a class="jxr_linenumber" name="52" href="#52">52</a>      <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockDataAccessor</a> <strong class="jxr_keyword">extends</strong> Mocks.MockAccessor
 <a class="jxr_linenumber" name="53" href="#53">53</a>      {
 <a class="jxr_linenumber" name="54" href="#54">54</a>        @Override
 <a class="jxr_linenumber" name="55" href="#55">55</a>        <strong class="jxr_keyword">public</strong> &lt;T <strong class="jxr_keyword">extends</strong> HelixProperty&gt; List&lt;T&gt;  getChildValues(PropertyKey key)
@@ -97,14 +97,14 @@
 <a class="jxr_linenumber" name="87" href="#87">87</a>        }
 <a class="jxr_linenumber" name="88" href="#88">88</a>      }
 <a class="jxr_linenumber" name="89" href="#89">89</a>  
-<a class="jxr_linenumber" name="90" href="#90">90</a>      HelixDataAccessor _accessor = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockDataAccessor</a>();
+<a class="jxr_linenumber" name="90" href="#90">90</a>      HelixDataAccessor _accessor = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockDataAccessor</a>();
 <a class="jxr_linenumber" name="91" href="#91">91</a>      ZNRecord _idealState;
 <a class="jxr_linenumber" name="92" href="#92">92</a>      ZNRecord _externalView;
 <a class="jxr_linenumber" name="93" href="#93">93</a>      List&lt;String&gt; _instances;
 <a class="jxr_linenumber" name="94" href="#94">94</a>      List&lt;ZNRecord&gt; _liveInstances;
 <a class="jxr_linenumber" name="95" href="#95">95</a>      String _db = <span class="jxr_string">"DB"</span>;
 <a class="jxr_linenumber" name="96" href="#96">96</a>  
-<a class="jxr_linenumber" name="97" href="#97">97</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockHelixManager</a>()
+<a class="jxr_linenumber" name="97" href="#97">97</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockHelixManager</a>()
 <a class="jxr_linenumber" name="98" href="#98">98</a>      {
 <a class="jxr_linenumber" name="99" href="#99">99</a>        _liveInstances = <strong class="jxr_keyword">new</strong> ArrayList&lt;ZNRecord&gt;();
 <a class="jxr_linenumber" name="100" href="#100">100</a>       _instances = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;();
@@ -137,7 +137,7 @@
 <a class="jxr_linenumber" name="127" href="#127">127</a>   @Test()
 <a class="jxr_linenumber" name="128" href="#128">128</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> TestReportData()
 <a class="jxr_linenumber" name="129" href="#129">129</a>   {
-<a class="jxr_linenumber" name="130" href="#130">130</a>     <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockHelixManager</a> manager = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestClusterStatusMonitor.html">MockHelixManager</a>();
+<a class="jxr_linenumber" name="130" href="#130">130</a>     <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockHelixManager</a> manager = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/monitoring/mbeans/TestResourceMonitor.html">MockHelixManager</a>();
 <a class="jxr_linenumber" name="131" href="#131">131</a>     ResourceMonitor monitor = <strong class="jxr_keyword">new</strong> ResourceMonitor(_clusterName, _dbName);
 <a class="jxr_linenumber" name="132" href="#132">132</a> 
 <a class="jxr_linenumber" name="133" href="#133">133</a>     HelixDataAccessor helixDataAccessor = manager.getHelixDataAccessor();

Modified: incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/package-frame.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/package-frame.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/package-frame.html Tue May 21 00:45:01 2013
@@ -16,10 +16,10 @@
 
       	<ul>
       		          	<li>
-            	<a href="TestClusterStatusMonitor.html" target="classFrame">MockDataAccessor</a>
+            	<a href="TestResourceMonitor.html" target="classFrame">MockDataAccessor</a>
           	</li>
           	          	<li>
-            	<a href="TestClusterStatusMonitor.html" target="classFrame">MockHelixManager</a>
+            	<a href="TestResourceMonitor.html" target="classFrame">MockHelixManager</a>
           	</li>
           	          	<li>
             	<a href="TestClusterAlertItemMBeanCollection.html" target="classFrame">TestClusterAlertItemMBeanCollection</a>

Modified: incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/package-summary.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/package-summary.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/package-summary.html Tue May 21 00:45:01 2013
@@ -37,12 +37,12 @@
         	<tbody>
         		            	<tr>
               		<td>
-                		<a href="TestClusterStatusMonitor.html" target="classFrame">MockDataAccessor</a>
+                		<a href="TestResourceMonitor.html" target="classFrame">MockDataAccessor</a>
               		</td>
             	</tr>
 				            	<tr>
               		<td>
-                		<a href="TestClusterStatusMonitor.html" target="classFrame">MockHelixManager</a>
+                		<a href="TestResourceMonitor.html" target="classFrame">MockHelixManager</a>
               		</td>
             	</tr>
 				            	<tr>

Modified: incubator/helix/site-content/xref/allclasses-frame.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/allclasses-frame.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref/allclasses-frame.html (original)
+++ incubator/helix/site-content/xref/allclasses-frame.html Tue May 21 00:45:01 2013
@@ -342,7 +342,7 @@
 				<a href="org/apache/helix/webapp/resources/CurrentStateResource.html" target="classFrame">CurrentStateResource</a>
 			</li>
 						<li>
-				<a href="org/apache/helix/messaging/handling/GroupMessageHandler.html" target="classFrame">CurrentStateUpdate</a>
+				<a href="org/apache/helix/messaging/handling/CurrentStateUpdate.html" target="classFrame">CurrentStateUpdate</a>
 			</li>
 						<li>
 				<a href="org/apache/helix/webapp/resources/CurrentStatesResource.html" target="classFrame">CurrentStatesResource</a>

Modified: incubator/helix/site-content/xref/org/apache/helix/manager/zk/DefaultSchedulerMessageHandlerFactory.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/manager/zk/DefaultSchedulerMessageHandlerFactory.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/manager/zk/DefaultSchedulerMessageHandlerFactory.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/manager/zk/DefaultSchedulerMessageHandlerFactory.html Tue May 21 00:45:01 2013
@@ -341,9 +341,9 @@
 <a class="jxr_linenumber" name="331" href="#331">331</a>           _logger.warn(<span class="jxr_string">""</span>,e);
 <a class="jxr_linenumber" name="332" href="#332">332</a>         }
 <a class="jxr_linenumber" name="333" href="#333">333</a>       }
-<a class="jxr_linenumber" name="334" href="#334">334</a>       
+<a class="jxr_linenumber" name="334" href="#334">334</a>       <strong class="jxr_keyword">boolean</strong> hasSchedulerTaskQueue = _message.getRecord().getSimpleFields().containsKey(SCHEDULER_TASK_QUEUE);
 <a class="jxr_linenumber" name="335" href="#335">335</a>       <em class="jxr_comment">// If the target is PARTICIPANT, use the ScheduledTaskQueue</em>
-<a class="jxr_linenumber" name="336" href="#336">336</a>       <strong class="jxr_keyword">if</strong>(InstanceType.PARTICIPANT == recipientCriteria.getRecipientInstanceType())
+<a class="jxr_linenumber" name="336" href="#336">336</a>       <strong class="jxr_keyword">if</strong>(InstanceType.PARTICIPANT == recipientCriteria.getRecipientInstanceType() &amp;&amp; hasSchedulerTaskQueue)
 <a class="jxr_linenumber" name="337" href="#337">337</a>       {
 <a class="jxr_linenumber" name="338" href="#338">338</a>         handleMessageUsingScheduledTaskQueue(recipientCriteria, messageTemplate, _message.getMsgId());
 <a class="jxr_linenumber" name="339" href="#339">339</a>         result.setSuccess(<strong class="jxr_keyword">true</strong>);

Modified: incubator/helix/site-content/xref/org/apache/helix/messaging/handling/CurrentStateUpdate.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/messaging/handling/CurrentStateUpdate.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/messaging/handling/CurrentStateUpdate.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/messaging/handling/CurrentStateUpdate.html Tue May 21 00:45:01 2013
@@ -32,7 +32,7 @@
 <a class="jxr_linenumber" name="22" href="#22">22</a>  <strong class="jxr_keyword">import</strong> org.apache.helix.PropertyKey;
 <a class="jxr_linenumber" name="23" href="#23">23</a>  <strong class="jxr_keyword">import</strong> org.apache.helix.model.CurrentState;
 <a class="jxr_linenumber" name="24" href="#24">24</a>  
-<a class="jxr_linenumber" name="25" href="#25">25</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/messaging/handling/GroupMessageHandler.html">CurrentStateUpdate</a> {
+<a class="jxr_linenumber" name="25" href="#25">25</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/messaging/handling/CurrentStateUpdate.html">CurrentStateUpdate</a> {
 <a class="jxr_linenumber" name="26" href="#26">26</a>  	<strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/helix/PropertyKey.html">PropertyKey</a> _key;
 <a class="jxr_linenumber" name="27" href="#27">27</a>  	<strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/helix/model/CurrentState.html">CurrentState</a> _delta;
 <a class="jxr_linenumber" name="28" href="#28">28</a>  	

Modified: incubator/helix/site-content/xref/org/apache/helix/messaging/handling/GroupMessageHandler.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/messaging/handling/GroupMessageHandler.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/messaging/handling/GroupMessageHandler.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/messaging/handling/GroupMessageHandler.html Tue May 21 00:45:01 2013
@@ -43,12 +43,12 @@
 <a class="jxr_linenumber" name="33" href="#33">33</a>  
 <a class="jxr_linenumber" name="34" href="#34">34</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/messaging/handling/GroupMessageHandler.html">GroupMessageHandler</a>
 <a class="jxr_linenumber" name="35" href="#35">35</a>  {
-<a class="jxr_linenumber" name="36" href="#36">36</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/messaging/handling/GroupMessageHandler.html">CurrentStateUpdate</a>
+<a class="jxr_linenumber" name="36" href="#36">36</a>    <strong class="jxr_keyword">class</strong> <a href="../../../../../org/apache/helix/messaging/handling/CurrentStateUpdate.html">CurrentStateUpdate</a>
 <a class="jxr_linenumber" name="37" href="#37">37</a>    {
 <a class="jxr_linenumber" name="38" href="#38">38</a>      <strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/helix/PropertyKey.html">PropertyKey</a>  _key;
 <a class="jxr_linenumber" name="39" href="#39">39</a>      <strong class="jxr_keyword">final</strong> <a href="../../../../../org/apache/helix/model/CurrentState.html">CurrentState</a> _curStateDelta;
 <a class="jxr_linenumber" name="40" href="#40">40</a>  
-<a class="jxr_linenumber" name="41" href="#41">41</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/helix/messaging/handling/GroupMessageHandler.html">CurrentStateUpdate</a>(<a href="../../../../../org/apache/helix/PropertyKey.html">PropertyKey</a> key, <a href="../../../../../org/apache/helix/model/CurrentState.html">CurrentState</a> curStateDelta)
+<a class="jxr_linenumber" name="41" href="#41">41</a>      <strong class="jxr_keyword">public</strong> <a href="../../../../../org/apache/helix/messaging/handling/CurrentStateUpdate.html">CurrentStateUpdate</a>(<a href="../../../../../org/apache/helix/PropertyKey.html">PropertyKey</a> key, <a href="../../../../../org/apache/helix/model/CurrentState.html">CurrentState</a> curStateDelta)
 <a class="jxr_linenumber" name="42" href="#42">42</a>      {
 <a class="jxr_linenumber" name="43" href="#43">43</a>        _key = key;
 <a class="jxr_linenumber" name="44" href="#44">44</a>        _curStateDelta = curStateDelta;
@@ -137,7 +137,7 @@
 <a class="jxr_linenumber" name="127" href="#127">127</a>     <a href="../../../../../org/apache/helix/messaging/handling/GroupMessageHandler.html">GroupMessageInfo</a> info = _groupMsgMap.get(parentMid);
 <a class="jxr_linenumber" name="128" href="#128">128</a>     <strong class="jxr_keyword">if</strong> (info != <strong class="jxr_keyword">null</strong>)
 <a class="jxr_linenumber" name="129" href="#129">129</a>     {
-<a class="jxr_linenumber" name="130" href="#130">130</a>       info._curStateUpdateList.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/messaging/handling/GroupMessageHandler.html">CurrentStateUpdate</a>(key, delta));
+<a class="jxr_linenumber" name="130" href="#130">130</a>       info._curStateUpdateList.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/messaging/handling/CurrentStateUpdate.html">CurrentStateUpdate</a>(key, delta));
 <a class="jxr_linenumber" name="131" href="#131">131</a>     }
 <a class="jxr_linenumber" name="132" href="#132">132</a> 
 <a class="jxr_linenumber" name="133" href="#133">133</a>   }

Modified: incubator/helix/site-content/xref/org/apache/helix/messaging/handling/HelixStateTransitionHandler.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/messaging/handling/HelixStateTransitionHandler.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/messaging/handling/HelixStateTransitionHandler.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/messaging/handling/HelixStateTransitionHandler.html Tue May 21 00:45:01 2013
@@ -252,7 +252,7 @@
 <a class="jxr_linenumber" name="242" href="#242">242</a>         <em class="jxr_comment">// sub-message of a batch message</em>
 <a class="jxr_linenumber" name="243" href="#243">243</a>         ConcurrentHashMap&lt;String, CurrentStateUpdate&gt; csUpdateMap 
 <a class="jxr_linenumber" name="244" href="#244">244</a>           = (ConcurrentHashMap&lt;String, CurrentStateUpdate&gt;) _notificationContext.get(MapKey.CURRENT_STATE_UPDATE.toString());
-<a class="jxr_linenumber" name="245" href="#245">245</a>         csUpdateMap.put(partitionKey, <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/messaging/handling/GroupMessageHandler.html">CurrentStateUpdate</a>(key, _currentStateDelta));
+<a class="jxr_linenumber" name="245" href="#245">245</a>         csUpdateMap.put(partitionKey, <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/messaging/handling/CurrentStateUpdate.html">CurrentStateUpdate</a>(key, _currentStateDelta));
 <a class="jxr_linenumber" name="246" href="#246">246</a>       }
 <a class="jxr_linenumber" name="247" href="#247">247</a>     }
 <a class="jxr_linenumber" name="248" href="#248">248</a>     <strong class="jxr_keyword">catch</strong> (Exception e)

Modified: incubator/helix/site-content/xref/org/apache/helix/messaging/handling/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/messaging/handling/package-frame.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/messaging/handling/package-frame.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/messaging/handling/package-frame.html Tue May 21 00:45:01 2013
@@ -28,7 +28,7 @@
             	<a href="BatchMessageWrapper.html" target="classFrame">BatchMessageWrapper</a>
           	</li>
           	          	<li>
-            	<a href="GroupMessageHandler.html" target="classFrame">CurrentStateUpdate</a>
+            	<a href="CurrentStateUpdate.html" target="classFrame">CurrentStateUpdate</a>
           	</li>
           	          	<li>
             	<a href="MessageHandler.html" target="classFrame">ErrorCode</a>

Modified: incubator/helix/site-content/xref/org/apache/helix/messaging/handling/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/messaging/handling/package-summary.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/messaging/handling/package-summary.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/messaging/handling/package-summary.html Tue May 21 00:45:01 2013
@@ -57,7 +57,7 @@
             	</tr>
 				            	<tr>
               		<td>
-                		<a href="GroupMessageHandler.html" target="classFrame">CurrentStateUpdate</a>
+                		<a href="CurrentStateUpdate.html" target="classFrame">CurrentStateUpdate</a>
               		</td>
             	</tr>
 				            	<tr>

Modified: incubator/helix/site-content/xref/org/apache/helix/webapp/resources/SchedulerTasksResource.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/webapp/resources/SchedulerTasksResource.html?rev=1484629&r1=1484628&r2=1484629&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/webapp/resources/SchedulerTasksResource.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/webapp/resources/SchedulerTasksResource.html Tue May 21 00:45:01 2013
@@ -180,36 +180,35 @@
 <a class="jxr_linenumber" name="170" href="#170">170</a>       schedulerMessage.setTgtName(<span class="jxr_string">"CONTROLLER"</span>);
 <a class="jxr_linenumber" name="171" href="#171">171</a>       schedulerMessage.setSrcInstanceType(InstanceType.CONTROLLER);
 <a class="jxr_linenumber" name="172" href="#172">172</a>       String taskQueueName =  ClusterRepresentationUtil.getFormJsonParameterString(form, TASKQUEUENAME);
-<a class="jxr_linenumber" name="173" href="#173">173</a>       <strong class="jxr_keyword">if</strong>(taskQueueName != <strong class="jxr_keyword">null</strong>)
+<a class="jxr_linenumber" name="173" href="#173">173</a>       <strong class="jxr_keyword">if</strong>(taskQueueName != <strong class="jxr_keyword">null</strong> &amp;&amp; taskQueueName.length() &gt; 0)
 <a class="jxr_linenumber" name="174" href="#174">174</a>       {
-<a class="jxr_linenumber" name="175" href="#175">175</a>         <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/HelixException.html">HelixException</a>(<span class="jxr_string">"SchedulerTasksResource need to have "</span> + TASKQUEUENAME +<span class="jxr_string">" specified."</span>);
+<a class="jxr_linenumber" name="175" href="#175">175</a>         schedulerMessage.getRecord().setSimpleField(DefaultSchedulerMessageHandlerFactory.SCHEDULER_TASK_QUEUE, taskQueueName);
 <a class="jxr_linenumber" name="176" href="#176">176</a>       }
-<a class="jxr_linenumber" name="177" href="#177">177</a>       schedulerMessage.getRecord().setSimpleField(DefaultSchedulerMessageHandlerFactory.SCHEDULER_TASK_QUEUE, taskQueueName);
-<a class="jxr_linenumber" name="178" href="#178">178</a>       accessor.setProperty(accessor.keyBuilder().controllerMessage(schedulerMessage.getMsgId()), schedulerMessage);
-<a class="jxr_linenumber" name="179" href="#179">179</a>       
-<a class="jxr_linenumber" name="180" href="#180">180</a>       Map&lt;String, String&gt; resultMap = <strong class="jxr_keyword">new</strong> HashMap&lt;String, String&gt;();
-<a class="jxr_linenumber" name="181" href="#181">181</a>       resultMap.put(<span class="jxr_string">"StatusUpdatePath"</span>, PropertyPathConfig.getPath(PropertyType.STATUSUPDATES_CONTROLLER, clusterName, MessageType.SCHEDULER_MSG.toString(),schedulerMessage.getMsgId()));
-<a class="jxr_linenumber" name="182" href="#182">182</a>       resultMap.put(<span class="jxr_string">"MessageType"</span>, Message.MessageType.SCHEDULER_MSG.toString());
-<a class="jxr_linenumber" name="183" href="#183">183</a>       resultMap.put(<span class="jxr_string">"MsgId"</span>, schedulerMessage.getMsgId());
-<a class="jxr_linenumber" name="184" href="#184">184</a>       
-<a class="jxr_linenumber" name="185" href="#185">185</a>       <em class="jxr_comment">// Assemble the rest URL for task status update</em>
-<a class="jxr_linenumber" name="186" href="#186">186</a>       String ipAddress = InetAddress.getLocalHost().getCanonicalHostName();
-<a class="jxr_linenumber" name="187" href="#187">187</a>       String url = <span class="jxr_string">"http://"</span> + ipAddress+<span class="jxr_string">":"</span> + getContext().getAttributes().get(RestAdminApplication.PORT)
-<a class="jxr_linenumber" name="188" href="#188">188</a>           + <span class="jxr_string">"/clusters/"</span> + clusterName+<span class="jxr_string">"/Controller/statusUpdates/SCHEDULER_MSG/"</span> + schedulerMessage.getMsgId();
-<a class="jxr_linenumber" name="189" href="#189">189</a>       resultMap.put(<span class="jxr_string">"statusUpdateUrl"</span>, url);
-<a class="jxr_linenumber" name="190" href="#190">190</a>       
-<a class="jxr_linenumber" name="191" href="#191">191</a>       getResponse().setEntity(ClusterRepresentationUtil.ObjectToJson(resultMap), MediaType.APPLICATION_JSON);
-<a class="jxr_linenumber" name="192" href="#192">192</a>       getResponse().setStatus(Status.SUCCESS_OK);
-<a class="jxr_linenumber" name="193" href="#193">193</a>     }
-<a class="jxr_linenumber" name="194" href="#194">194</a>     <strong class="jxr_keyword">catch</strong>(Exception e)
-<a class="jxr_linenumber" name="195" href="#195">195</a>     {
-<a class="jxr_linenumber" name="196" href="#196">196</a>       getResponse().setEntity(ClusterRepresentationUtil.getErrorAsJsonStringFromException(e),
-<a class="jxr_linenumber" name="197" href="#197">197</a>           MediaType.APPLICATION_JSON);
-<a class="jxr_linenumber" name="198" href="#198">198</a>       getResponse().setStatus(Status.SUCCESS_OK);
-<a class="jxr_linenumber" name="199" href="#199">199</a>       LOG.error(<span class="jxr_string">""</span>, e);
-<a class="jxr_linenumber" name="200" href="#200">200</a>     }  
-<a class="jxr_linenumber" name="201" href="#201">201</a>   }
-<a class="jxr_linenumber" name="202" href="#202">202</a> }
+<a class="jxr_linenumber" name="177" href="#177">177</a>       accessor.setProperty(accessor.keyBuilder().controllerMessage(schedulerMessage.getMsgId()), schedulerMessage);
+<a class="jxr_linenumber" name="178" href="#178">178</a>       
+<a class="jxr_linenumber" name="179" href="#179">179</a>       Map&lt;String, String&gt; resultMap = <strong class="jxr_keyword">new</strong> HashMap&lt;String, String&gt;();
+<a class="jxr_linenumber" name="180" href="#180">180</a>       resultMap.put(<span class="jxr_string">"StatusUpdatePath"</span>, PropertyPathConfig.getPath(PropertyType.STATUSUPDATES_CONTROLLER, clusterName, MessageType.SCHEDULER_MSG.toString(),schedulerMessage.getMsgId()));
+<a class="jxr_linenumber" name="181" href="#181">181</a>       resultMap.put(<span class="jxr_string">"MessageType"</span>, Message.MessageType.SCHEDULER_MSG.toString());
+<a class="jxr_linenumber" name="182" href="#182">182</a>       resultMap.put(<span class="jxr_string">"MsgId"</span>, schedulerMessage.getMsgId());
+<a class="jxr_linenumber" name="183" href="#183">183</a>       
+<a class="jxr_linenumber" name="184" href="#184">184</a>       <em class="jxr_comment">// Assemble the rest URL for task status update</em>
+<a class="jxr_linenumber" name="185" href="#185">185</a>       String ipAddress = InetAddress.getLocalHost().getCanonicalHostName();
+<a class="jxr_linenumber" name="186" href="#186">186</a>       String url = <span class="jxr_string">"http://"</span> + ipAddress+<span class="jxr_string">":"</span> + getContext().getAttributes().get(RestAdminApplication.PORT)
+<a class="jxr_linenumber" name="187" href="#187">187</a>           + <span class="jxr_string">"/clusters/"</span> + clusterName+<span class="jxr_string">"/Controller/statusUpdates/SCHEDULER_MSG/"</span> + schedulerMessage.getMsgId();
+<a class="jxr_linenumber" name="188" href="#188">188</a>       resultMap.put(<span class="jxr_string">"statusUpdateUrl"</span>, url);
+<a class="jxr_linenumber" name="189" href="#189">189</a>       
+<a class="jxr_linenumber" name="190" href="#190">190</a>       getResponse().setEntity(ClusterRepresentationUtil.ObjectToJson(resultMap), MediaType.APPLICATION_JSON);
+<a class="jxr_linenumber" name="191" href="#191">191</a>       getResponse().setStatus(Status.SUCCESS_OK);
+<a class="jxr_linenumber" name="192" href="#192">192</a>     }
+<a class="jxr_linenumber" name="193" href="#193">193</a>     <strong class="jxr_keyword">catch</strong>(Exception e)
+<a class="jxr_linenumber" name="194" href="#194">194</a>     {
+<a class="jxr_linenumber" name="195" href="#195">195</a>       getResponse().setEntity(ClusterRepresentationUtil.getErrorAsJsonStringFromException(e),
+<a class="jxr_linenumber" name="196" href="#196">196</a>           MediaType.APPLICATION_JSON);
+<a class="jxr_linenumber" name="197" href="#197">197</a>       getResponse().setStatus(Status.SUCCESS_OK);
+<a class="jxr_linenumber" name="198" href="#198">198</a>       LOG.error(<span class="jxr_string">""</span>, e);
+<a class="jxr_linenumber" name="199" href="#199">199</a>     }  
+<a class="jxr_linenumber" name="200" href="#200">200</a>   }
+<a class="jxr_linenumber" name="201" href="#201">201</a> }
 </pre>
 <hr/><div id="footer">This page was automatically generated by <a href="http://maven.apache.org/">Maven</a></div></body>
 </html>



Mime
View raw message