helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1422139 [12/12] - in /incubator/helix/site-content: ./ apidocs/reference/ apidocs/reference/org/apache/helix/filestore/ helix-admin-webapp/ helix-core/ involved/ mockservice/ recipes/ recipes/rabbitmq-consumer-group/ recipes/rsync-replicat...
Date Fri, 14 Dec 2012 23:08:35 GMT
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=1422139&r1=1422138&r2=1422139&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 Fri Dec 14 23:07:57 2012
@@ -55,7 +55,7 @@
 <a class="jxr_linenumber" name="45" href="#45">45</a>  
 <a class="jxr_linenumber" name="46" href="#46">46</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="47" href="#47">47</a>  {
-<a class="jxr_linenumber" name="48" href="#48">48</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="48" href="#48">48</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="49" href="#49">49</a>    {
 <a class="jxr_linenumber" name="50" href="#50">50</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="51" href="#51">51</a>      
@@ -123,7 +123,7 @@
 <a class="jxr_linenumber" name="113" href="#113">113</a>     {
 <a class="jxr_linenumber" name="114" href="#114">114</a>       instanceName = PARTICIPANT_PREFIX + <span class="jxr_string">"_"</span> + (START_PORT + i);
 <a class="jxr_linenumber" name="115" href="#115">115</a>       
-<a class="jxr_linenumber" name="116" href="#116">116</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="116" href="#116">116</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="117" href="#117">117</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="118" href="#118">118</a>       
 <a class="jxr_linenumber" name="119" href="#119">119</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=1422139&r1=1422138&r2=1422139&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 Fri Dec 14 23:07:57 2012
@@ -25,7 +25,7 @@
             	<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=1422139&r1=1422138&r2=1422139&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 Fri Dec 14 23:07:57 2012
@@ -52,7 +52,7 @@
             	</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/TestClusterAlertItemMBeanCollection.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/TestClusterAlertItemMBeanCollection.html?rev=1422139&r1=1422138&r2=1422139&view=diff
==============================================================================
--- incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/TestClusterAlertItemMBeanCollection.html (original)
+++ incubator/helix/site-content/xref-test/org/apache/helix/monitoring/mbeans/TestClusterAlertItemMBeanCollection.html Fri Dec 14 23:07:57 2012
@@ -260,7 +260,7 @@
 <a class="jxr_linenumber" name="250" href="#250">250</a>     beanCollection.setAlerts(originAlert1, alertResultMap1, clusterName);
 <a class="jxr_linenumber" name="251" href="#251">251</a>     beanCollection.checkMBeanFreshness(200);
 <a class="jxr_linenumber" name="252" href="#252">252</a>     
-<a class="jxr_linenumber" name="253" href="#253">253</a>     <strong class="jxr_keyword">for</strong>(<strong class="jxr_keyword">int</strong> i = 0; i &lt; 10; i++)
+<a class="jxr_linenumber" name="253" href="#253">253</a>     <strong class="jxr_keyword">for</strong>(<strong class="jxr_keyword">int</strong> i = 0; i &lt; 20; i++)
 <a class="jxr_linenumber" name="254" href="#254">254</a>     {
 <a class="jxr_linenumber" name="255" href="#255">255</a>       Thread.sleep(500);
 <a class="jxr_linenumber" name="256" href="#256">256</a>       

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=1422139&r1=1422138&r2=1422139&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 Fri Dec 14 23:07:57 2012
@@ -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/TestResourceMonitor.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/TestClusterStatusMonitor.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/TestResourceMonitor.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/TestClusterStatusMonitor.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/TestResourceMonitor.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/TestClusterStatusMonitor.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/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="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="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/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="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="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=1422139&r1=1422138&r2=1422139&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 Fri Dec 14 23:07:57 2012
@@ -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/TestResourceMonitor.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/TestClusterStatusMonitor.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/TestResourceMonitor.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/TestClusterStatusMonitor.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/TestResourceMonitor.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/TestClusterStatusMonitor.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/TestResourceMonitor.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/TestClusterStatusMonitor.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/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="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="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=1422139&r1=1422138&r2=1422139&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 Fri Dec 14 23:07:57 2012
@@ -16,10 +16,10 @@
 
       	<ul>
       		          	<li>
-            	<a href="TestResourceMonitor.html" target="classFrame">MockDataAccessor</a>
+            	<a href="TestClusterStatusMonitor.html" target="classFrame">MockDataAccessor</a>
           	</li>
           	          	<li>
-            	<a href="TestResourceMonitor.html" target="classFrame">MockHelixManager</a>
+            	<a href="TestClusterStatusMonitor.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=1422139&r1=1422138&r2=1422139&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 Fri Dec 14 23:07:57 2012
@@ -37,12 +37,12 @@
         	<tbody>
         		            	<tr>
               		<td>
-                		<a href="TestResourceMonitor.html" target="classFrame">MockDataAccessor</a>
+                		<a href="TestClusterStatusMonitor.html" target="classFrame">MockDataAccessor</a>
               		</td>
             	</tr>
 				            	<tr>
               		<td>
-                		<a href="TestResourceMonitor.html" target="classFrame">MockHelixManager</a>
+                		<a href="TestClusterStatusMonitor.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=1422139&r1=1422138&r2=1422139&view=diff
==============================================================================
--- incubator/helix/site-content/xref/allclasses-frame.html (original)
+++ incubator/helix/site-content/xref/allclasses-frame.html Fri Dec 14 23:07:57 2012
@@ -63,7 +63,7 @@
 				<a href="org/apache/helix/alerts/AlertsHolder.html" target="classFrame">AlertsHolder</a>
 			</li>
 						<li>
-				<a href="org/apache/helix/model/AlertStatus.html" target="classFrame">AlertsProperty</a>
+				<a href="org/apache/helix/model/Alerts.html" target="classFrame">AlertsProperty</a>
 			</li>
 						<li>
 				<a href="org/apache/helix/tools/YAISCalculator.html" target="classFrame">Assignment</a>

Modified: incubator/helix/site-content/xref/org/apache/helix/filestore/ChangeLogProcessor.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/filestore/ChangeLogProcessor.html?rev=1422139&r1=1422138&r2=1422139&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/filestore/ChangeLogProcessor.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/filestore/ChangeLogProcessor.html Fri Dec 14 23:07:57 2012
@@ -44,82 +44,81 @@
 <a class="jxr_linenumber" name="34" href="#34">34</a>  <em class="jxr_javadoccomment"> * Processes the change log and invokes rsync for every change on the remote</em>
 <a class="jxr_linenumber" name="35" href="#35">35</a>  <em class="jxr_javadoccomment"> * machine</em>
 <a class="jxr_linenumber" name="36" href="#36">36</a>  <em class="jxr_javadoccomment"> * </em>
-<a class="jxr_linenumber" name="37" href="#37">37</a>  <em class="jxr_javadoccomment"> * @author kgopalak</em>
-<a class="jxr_linenumber" name="38" href="#38">38</a>  <em class="jxr_javadoccomment"> * </em>
-<a class="jxr_linenumber" name="39" href="#39">39</a>  <em class="jxr_javadoccomment"> */</em>
-<a class="jxr_linenumber" name="40" href="#40">40</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/filestore/ChangeLogProcessor.html">ChangeLogProcessor</a> <strong class="jxr_keyword">implements</strong> Runnable
-<a class="jxr_linenumber" name="41" href="#41">41</a>  {
-<a class="jxr_linenumber" name="42" href="#42">42</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/helix/filestore/ChangeLogReader.html">ChangeLogReader</a> reader;
-<a class="jxr_linenumber" name="43" href="#43">43</a>    <a href="../../../../org/apache/helix/filestore/RsyncInvoker.html">RsyncInvoker</a> rsyncInvoker;
-<a class="jxr_linenumber" name="44" href="#44">44</a>    <strong class="jxr_keyword">private</strong> AtomicBoolean shutdownRequested;
-<a class="jxr_linenumber" name="45" href="#45">45</a>    <strong class="jxr_keyword">private</strong> <a href="../../../../org/apache/helix/filestore/CheckpointFile.html">CheckpointFile</a> checkpointFile;
-<a class="jxr_linenumber" name="46" href="#46">46</a>    <strong class="jxr_keyword">private</strong> Thread thread;
-<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> <a href="../../../../org/apache/helix/filestore/ChangeLogProcessor.html">ChangeLogProcessor</a>(<a href="../../../../org/apache/helix/filestore/ChangeLogReader.html">ChangeLogReader</a> reader, String remoteHost,
-<a class="jxr_linenumber" name="49" href="#49">49</a>        String remoteBaseDir, String localBaseDir, String checkpointDirPath)
-<a class="jxr_linenumber" name="50" href="#50">50</a>        <strong class="jxr_keyword">throws</strong> Exception
-<a class="jxr_linenumber" name="51" href="#51">51</a>    {
-<a class="jxr_linenumber" name="52" href="#52">52</a>      <strong class="jxr_keyword">this</strong>.reader = reader;
-<a class="jxr_linenumber" name="53" href="#53">53</a>      checkpointFile = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/filestore/CheckpointFile.html">CheckpointFile</a>(checkpointDirPath);
-<a class="jxr_linenumber" name="54" href="#54">54</a>  
-<a class="jxr_linenumber" name="55" href="#55">55</a>      shutdownRequested = <strong class="jxr_keyword">new</strong> AtomicBoolean(false);
-<a class="jxr_linenumber" name="56" href="#56">56</a>      rsyncInvoker = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/filestore/RsyncInvoker.html">RsyncInvoker</a>(remoteHost, remoteBaseDir, localBaseDir);
-<a class="jxr_linenumber" name="57" href="#57">57</a>    }
-<a class="jxr_linenumber" name="58" href="#58">58</a>  
-<a class="jxr_linenumber" name="59" href="#59">59</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> start()
-<a class="jxr_linenumber" name="60" href="#60">60</a>    {
-<a class="jxr_linenumber" name="61" href="#61">61</a>      thread = <strong class="jxr_keyword">new</strong> Thread(<strong class="jxr_keyword">this</strong>);
-<a class="jxr_linenumber" name="62" href="#62">62</a>      thread.start();
-<a class="jxr_linenumber" name="63" href="#63">63</a>    }
-<a class="jxr_linenumber" name="64" href="#64">64</a>  
-<a class="jxr_linenumber" name="65" href="#65">65</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> run()
-<a class="jxr_linenumber" name="66" href="#66">66</a>    {
-<a class="jxr_linenumber" name="67" href="#67">67</a>      <strong class="jxr_keyword">try</strong>
-<a class="jxr_linenumber" name="68" href="#68">68</a>      {
-<a class="jxr_linenumber" name="69" href="#69">69</a>        <a href="../../../../org/apache/helix/filestore/ChangeRecord.html">ChangeRecord</a> lastRecordProcessed = checkpointFile.findLastRecordProcessed();
-<a class="jxr_linenumber" name="70" href="#70">70</a>        <strong class="jxr_keyword">do</strong>
-<a class="jxr_linenumber" name="71" href="#71">71</a>        {
-<a class="jxr_linenumber" name="72" href="#72">72</a>          <strong class="jxr_keyword">try</strong>
-<a class="jxr_linenumber" name="73" href="#73">73</a>          {
-<a class="jxr_linenumber" name="74" href="#74">74</a>            List&lt;ChangeRecord&gt; changes = reader
-<a class="jxr_linenumber" name="75" href="#75">75</a>                .getChangeSince(lastRecordProcessed);
-<a class="jxr_linenumber" name="76" href="#76">76</a>            Set&lt;String&gt; paths = getRemotePathsToSync(changes);
-<a class="jxr_linenumber" name="77" href="#77">77</a>            <strong class="jxr_keyword">for</strong> (String path : paths)
-<a class="jxr_linenumber" name="78" href="#78">78</a>            {
-<a class="jxr_linenumber" name="79" href="#79">79</a>              rsyncInvoker.rsync(path);
-<a class="jxr_linenumber" name="80" href="#80">80</a>            }
-<a class="jxr_linenumber" name="81" href="#81">81</a>            lastRecordProcessed = changes.get(changes.size() - 1);
-<a class="jxr_linenumber" name="82" href="#82">82</a>            checkpointFile.checkpoint(lastRecordProcessed);
-<a class="jxr_linenumber" name="83" href="#83">83</a>          } <strong class="jxr_keyword">catch</strong> (Exception e)
-<a class="jxr_linenumber" name="84" href="#84">84</a>          {
-<a class="jxr_linenumber" name="85" href="#85">85</a>            e.printStackTrace();
-<a class="jxr_linenumber" name="86" href="#86">86</a>          }
-<a class="jxr_linenumber" name="87" href="#87">87</a>        } <strong class="jxr_keyword">while</strong> (!shutdownRequested.get());
-<a class="jxr_linenumber" name="88" href="#88">88</a>      } <strong class="jxr_keyword">catch</strong> (Exception e)
-<a class="jxr_linenumber" name="89" href="#89">89</a>      {
-<a class="jxr_linenumber" name="90" href="#90">90</a>        e.printStackTrace();
-<a class="jxr_linenumber" name="91" href="#91">91</a>      }
-<a class="jxr_linenumber" name="92" href="#92">92</a>    }
+<a class="jxr_linenumber" name="37" href="#37">37</a>  <em class="jxr_javadoccomment"> *</em>
+<a class="jxr_linenumber" name="38" href="#38">38</a>  <em class="jxr_javadoccomment"> */</em>
+<a class="jxr_linenumber" name="39" href="#39">39</a>  <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">class</strong> <a href="../../../../org/apache/helix/filestore/ChangeLogProcessor.html">ChangeLogProcessor</a> <strong class="jxr_keyword">implements</strong> Runnable
+<a class="jxr_linenumber" name="40" href="#40">40</a>  {
+<a class="jxr_linenumber" name="41" href="#41">41</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> <a href="../../../../org/apache/helix/filestore/ChangeLogReader.html">ChangeLogReader</a> reader;
+<a class="jxr_linenumber" name="42" href="#42">42</a>    <a href="../../../../org/apache/helix/filestore/RsyncInvoker.html">RsyncInvoker</a> rsyncInvoker;
+<a class="jxr_linenumber" name="43" href="#43">43</a>    <strong class="jxr_keyword">private</strong> AtomicBoolean shutdownRequested;
+<a class="jxr_linenumber" name="44" href="#44">44</a>    <strong class="jxr_keyword">private</strong> <a href="../../../../org/apache/helix/filestore/CheckpointFile.html">CheckpointFile</a> checkpointFile;
+<a class="jxr_linenumber" name="45" href="#45">45</a>    <strong class="jxr_keyword">private</strong> Thread thread;
+<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> <a href="../../../../org/apache/helix/filestore/ChangeLogProcessor.html">ChangeLogProcessor</a>(<a href="../../../../org/apache/helix/filestore/ChangeLogReader.html">ChangeLogReader</a> reader, String remoteHost,
+<a class="jxr_linenumber" name="48" href="#48">48</a>        String remoteBaseDir, String localBaseDir, String checkpointDirPath)
+<a class="jxr_linenumber" name="49" href="#49">49</a>        <strong class="jxr_keyword">throws</strong> Exception
+<a class="jxr_linenumber" name="50" href="#50">50</a>    {
+<a class="jxr_linenumber" name="51" href="#51">51</a>      <strong class="jxr_keyword">this</strong>.reader = reader;
+<a class="jxr_linenumber" name="52" href="#52">52</a>      checkpointFile = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/filestore/CheckpointFile.html">CheckpointFile</a>(checkpointDirPath);
+<a class="jxr_linenumber" name="53" href="#53">53</a>  
+<a class="jxr_linenumber" name="54" href="#54">54</a>      shutdownRequested = <strong class="jxr_keyword">new</strong> AtomicBoolean(false);
+<a class="jxr_linenumber" name="55" href="#55">55</a>      rsyncInvoker = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/filestore/RsyncInvoker.html">RsyncInvoker</a>(remoteHost, remoteBaseDir, localBaseDir);
+<a class="jxr_linenumber" name="56" href="#56">56</a>    }
+<a class="jxr_linenumber" name="57" href="#57">57</a>  
+<a class="jxr_linenumber" name="58" href="#58">58</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> start()
+<a class="jxr_linenumber" name="59" href="#59">59</a>    {
+<a class="jxr_linenumber" name="60" href="#60">60</a>      thread = <strong class="jxr_keyword">new</strong> Thread(<strong class="jxr_keyword">this</strong>);
+<a class="jxr_linenumber" name="61" href="#61">61</a>      thread.start();
+<a class="jxr_linenumber" name="62" href="#62">62</a>    }
+<a class="jxr_linenumber" name="63" href="#63">63</a>  
+<a class="jxr_linenumber" name="64" href="#64">64</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> run()
+<a class="jxr_linenumber" name="65" href="#65">65</a>    {
+<a class="jxr_linenumber" name="66" href="#66">66</a>      <strong class="jxr_keyword">try</strong>
+<a class="jxr_linenumber" name="67" href="#67">67</a>      {
+<a class="jxr_linenumber" name="68" href="#68">68</a>        <a href="../../../../org/apache/helix/filestore/ChangeRecord.html">ChangeRecord</a> lastRecordProcessed = checkpointFile.findLastRecordProcessed();
+<a class="jxr_linenumber" name="69" href="#69">69</a>        <strong class="jxr_keyword">do</strong>
+<a class="jxr_linenumber" name="70" href="#70">70</a>        {
+<a class="jxr_linenumber" name="71" href="#71">71</a>          <strong class="jxr_keyword">try</strong>
+<a class="jxr_linenumber" name="72" href="#72">72</a>          {
+<a class="jxr_linenumber" name="73" href="#73">73</a>            List&lt;ChangeRecord&gt; changes = reader
+<a class="jxr_linenumber" name="74" href="#74">74</a>                .getChangeSince(lastRecordProcessed);
+<a class="jxr_linenumber" name="75" href="#75">75</a>            Set&lt;String&gt; paths = getRemotePathsToSync(changes);
+<a class="jxr_linenumber" name="76" href="#76">76</a>            <strong class="jxr_keyword">for</strong> (String path : paths)
+<a class="jxr_linenumber" name="77" href="#77">77</a>            {
+<a class="jxr_linenumber" name="78" href="#78">78</a>              rsyncInvoker.rsync(path);
+<a class="jxr_linenumber" name="79" href="#79">79</a>            }
+<a class="jxr_linenumber" name="80" href="#80">80</a>            lastRecordProcessed = changes.get(changes.size() - 1);
+<a class="jxr_linenumber" name="81" href="#81">81</a>            checkpointFile.checkpoint(lastRecordProcessed);
+<a class="jxr_linenumber" name="82" href="#82">82</a>          } <strong class="jxr_keyword">catch</strong> (Exception e)
+<a class="jxr_linenumber" name="83" href="#83">83</a>          {
+<a class="jxr_linenumber" name="84" href="#84">84</a>            e.printStackTrace();
+<a class="jxr_linenumber" name="85" href="#85">85</a>          }
+<a class="jxr_linenumber" name="86" href="#86">86</a>        } <strong class="jxr_keyword">while</strong> (!shutdownRequested.get());
+<a class="jxr_linenumber" name="87" href="#87">87</a>      } <strong class="jxr_keyword">catch</strong> (Exception e)
+<a class="jxr_linenumber" name="88" href="#88">88</a>      {
+<a class="jxr_linenumber" name="89" href="#89">89</a>        e.printStackTrace();
+<a class="jxr_linenumber" name="90" href="#90">90</a>      }
+<a class="jxr_linenumber" name="91" href="#91">91</a>    }
+<a class="jxr_linenumber" name="92" href="#92">92</a>  
 <a class="jxr_linenumber" name="93" href="#93">93</a>  
 <a class="jxr_linenumber" name="94" href="#94">94</a>  
-<a class="jxr_linenumber" name="95" href="#95">95</a>  
-<a class="jxr_linenumber" name="96" href="#96">96</a>    <strong class="jxr_keyword">private</strong> Set&lt;String&gt; getRemotePathsToSync(List&lt;ChangeRecord&gt; changes)
-<a class="jxr_linenumber" name="97" href="#97">97</a>    {
-<a class="jxr_linenumber" name="98" href="#98">98</a>      Set&lt;String&gt; paths = <strong class="jxr_keyword">new</strong> TreeSet&lt;String&gt;();
-<a class="jxr_linenumber" name="99" href="#99">99</a>      <strong class="jxr_keyword">for</strong> (ChangeRecord change : changes)
-<a class="jxr_linenumber" name="100" href="#100">100</a>     {
-<a class="jxr_linenumber" name="101" href="#101">101</a>       paths.add(change.file);
-<a class="jxr_linenumber" name="102" href="#102">102</a>     }
-<a class="jxr_linenumber" name="103" href="#103">103</a>     <strong class="jxr_keyword">return</strong> paths;
-<a class="jxr_linenumber" name="104" href="#104">104</a>   }
-<a class="jxr_linenumber" name="105" href="#105">105</a> 
-<a class="jxr_linenumber" name="106" href="#106">106</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> stop()
-<a class="jxr_linenumber" name="107" href="#107">107</a>   {
-<a class="jxr_linenumber" name="108" href="#108">108</a>     shutdownRequested.set(<strong class="jxr_keyword">true</strong>);
-<a class="jxr_linenumber" name="109" href="#109">109</a>     thread.interrupt();
-<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 class="jxr_linenumber" name="95" href="#95">95</a>    <strong class="jxr_keyword">private</strong> Set&lt;String&gt; getRemotePathsToSync(List&lt;ChangeRecord&gt; changes)
+<a class="jxr_linenumber" name="96" href="#96">96</a>    {
+<a class="jxr_linenumber" name="97" href="#97">97</a>      Set&lt;String&gt; paths = <strong class="jxr_keyword">new</strong> TreeSet&lt;String&gt;();
+<a class="jxr_linenumber" name="98" href="#98">98</a>      <strong class="jxr_keyword">for</strong> (ChangeRecord change : changes)
+<a class="jxr_linenumber" name="99" href="#99">99</a>      {
+<a class="jxr_linenumber" name="100" href="#100">100</a>       paths.add(change.file);
+<a class="jxr_linenumber" name="101" href="#101">101</a>     }
+<a class="jxr_linenumber" name="102" href="#102">102</a>     <strong class="jxr_keyword">return</strong> paths;
+<a class="jxr_linenumber" name="103" href="#103">103</a>   }
+<a class="jxr_linenumber" name="104" href="#104">104</a> 
+<a class="jxr_linenumber" name="105" href="#105">105</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> stop()
+<a class="jxr_linenumber" name="106" href="#106">106</a>   {
+<a class="jxr_linenumber" name="107" href="#107">107</a>     shutdownRequested.set(<strong class="jxr_keyword">true</strong>);
+<a class="jxr_linenumber" name="108" href="#108">108</a>     thread.interrupt();
+<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> }
 </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/org/apache/helix/model/AlertStatus.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/model/AlertStatus.html?rev=1422139&r1=1422138&r2=1422139&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/model/AlertStatus.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/model/AlertStatus.html Fri Dec 14 23:07:57 2012
@@ -40,7 +40,7 @@
 <a class="jxr_linenumber" name="30" href="#30">30</a>  
 <a class="jxr_linenumber" name="31" href="#31">31</a>    <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">static</strong> String nodeName = <span class="jxr_string">"AlertStatus"</span>;
 <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> enum <a href="../../../../org/apache/helix/model/AlertStatus.html">AlertsProperty</a>
+<a class="jxr_linenumber" name="33" href="#33">33</a>    <strong class="jxr_keyword">public</strong> enum <a href="../../../../org/apache/helix/model/Alerts.html">AlertsProperty</a>
 <a class="jxr_linenumber" name="34" href="#34">34</a>    {
 <a class="jxr_linenumber" name="35" href="#35">35</a>      SESSION_ID, FIELDS
 <a class="jxr_linenumber" name="36" href="#36">36</a>    }

Modified: incubator/helix/site-content/xref/org/apache/helix/model/Alerts.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/model/Alerts.html?rev=1422139&r1=1422138&r2=1422139&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/model/Alerts.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/model/Alerts.html Fri Dec 14 23:07:57 2012
@@ -42,7 +42,7 @@
 <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">final</strong> <strong class="jxr_keyword">static</strong> String nodeName = <span class="jxr_string">"Alerts"</span>;
 <a class="jxr_linenumber" name="34" href="#34">34</a>  
-<a class="jxr_linenumber" name="35" href="#35">35</a>    <strong class="jxr_keyword">public</strong> enum <a href="../../../../org/apache/helix/model/AlertStatus.html">AlertsProperty</a>
+<a class="jxr_linenumber" name="35" href="#35">35</a>    <strong class="jxr_keyword">public</strong> enum <a href="../../../../org/apache/helix/model/Alerts.html">AlertsProperty</a>
 <a class="jxr_linenumber" name="36" href="#36">36</a>    {
 <a class="jxr_linenumber" name="37" href="#37">37</a>      SESSION_ID, FIELDS
 <a class="jxr_linenumber" name="38" href="#38">38</a>    }

Modified: incubator/helix/site-content/xref/org/apache/helix/model/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/model/package-frame.html?rev=1422139&r1=1422138&r2=1422139&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/model/package-frame.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/model/package-frame.html Fri Dec 14 23:07:57 2012
@@ -25,7 +25,7 @@
             	<a href="Alerts.html" target="classFrame">Alerts</a>
           	</li>
           	          	<li>
-            	<a href="AlertStatus.html" target="classFrame">AlertsProperty</a>
+            	<a href="Alerts.html" target="classFrame">AlertsProperty</a>
           	</li>
           	          	<li>
             	<a href="Message.html" target="classFrame">Attributes</a>

Modified: incubator/helix/site-content/xref/org/apache/helix/model/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/model/package-summary.html?rev=1422139&r1=1422138&r2=1422139&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/model/package-summary.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/model/package-summary.html Fri Dec 14 23:07:57 2012
@@ -52,7 +52,7 @@
             	</tr>
 				            	<tr>
               		<td>
-                		<a href="AlertStatus.html" target="classFrame">AlertsProperty</a>
+                		<a href="Alerts.html" target="classFrame">AlertsProperty</a>
               		</td>
             	</tr>
 				            	<tr>



Mime
View raw message