helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kisho...@apache.org
Subject svn commit: r1441275 [3/31] - in /incubator/helix/site-content: ./ apidocs/reference/org/apache/helix/tools/ helix-admin-webapp/ helix-core/ involved/ mockservice/ recipes/ recipes/distributed-lock-manager/ recipes/rabbitmq-consumer-group/ recipes/rsyn...
Date Fri, 01 Feb 2013 00:15:05 GMT
Added: incubator/helix/site-content/apidocs/reference/org/apache/helix/tools/IdealStateCalculatorForStorageNode.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/apidocs/reference/org/apache/helix/tools/IdealStateCalculatorForStorageNode.html?rev=1441275&view=auto
==============================================================================
--- incubator/helix/site-content/apidocs/reference/org/apache/helix/tools/IdealStateCalculatorForStorageNode.html (added)
+++ incubator/helix/site-content/apidocs/reference/org/apache/helix/tools/IdealStateCalculatorForStorageNode.html Fri Feb  1 00:15:01 2013
@@ -0,0 +1,1255 @@
+<!DOCTYPE html>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<html>
+<head>
+<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
+
+  <meta name="description" content="Javadoc API documentation for Apache Helix." />
+
+<link rel="shortcut icon" type="image/x-icon" href="../../../../favicon.ico" />
+<title>
+
+  IdealStateCalculatorForStorageNode
+
+
+| Apache Helix
+
+</title>
+<link href="../../../../../assets/doclava-developer-docs.css" rel="stylesheet" type="text/css" />
+<link href="../../../../../assets/customizations.css" rel="stylesheet" type="text/css" />
+<script src="../../../../../assets/search_autocomplete.js" type="text/javascript"></script>
+<script src="../../../../../assets/jquery-resizable.min.js" type="text/javascript"></script>
+<script src="../../../../../assets/doclava-developer-docs.js" type="text/javascript"></script>
+<script src="../../../../../assets/prettify.js" type="text/javascript"></script>
+<script type="text/javascript">
+  setToRoot("../../../../", "../../../../../assets/");
+</script>
+<script src="../../../../../assets/doclava-developer-reference.js" type="text/javascript"></script>
+<script src="../../../../../assets/navtree_data.js" type="text/javascript"></script>
+<script src="../../../../../assets/customizations.js" type="text/javascript"></script>
+<noscript>
+  <style type="text/css">
+    html,body{overflow:auto;}
+    #body-content{position:relative; top:0;}
+    #doc-content{overflow:visible;border-left:3px solid #666;}
+    #side-nav{padding:0;}
+    #side-nav .toggle-list ul {display:block;}
+    #resize-packages-nav{border-bottom:3px solid #666;}
+  </style>
+</noscript>
+</head>
+
+<body class="">
+
+<div id="header">
+    <div id="headerLeft">
+    
+      <span id="masthead-title">Apache Helix</span>
+    
+    </div>
+    <div id="headerRight">
+      
+  <div id="search" >
+      <div id="searchForm">
+          <form accept-charset="utf-8" class="gsc-search-box" 
+                onsubmit="return submit_search()">
+            <table class="gsc-search-box" cellpadding="0" cellspacing="0"><tbody>
+                <tr>
+                  <td class="gsc-input">
+                    <input id="search_autocomplete" class="gsc-input" type="text" size="33" autocomplete="off"
+                      title="search developer docs" name="q"
+                      value="search developer docs"
+                      onFocus="search_focus_changed(this, true)"
+                      onBlur="search_focus_changed(this, false)"
+                      onkeydown="return search_changed(event, true, '../../../../')"
+                      onkeyup="return search_changed(event, false, '../../../../')" />
+                  <div id="search_filtered_div" class="no-display">
+                      <table id="search_filtered" cellspacing=0>
+                      </table>
+                  </div>
+                  </td>
+                  <td class="gsc-search-button">
+                    <input type="submit" value="Search" title="search" id="search-button" class="gsc-search-button" />
+                  </td>
+                  <td class="gsc-clear-button">
+                    <div title="clear results" class="gsc-clear-button">&nbsp;</div>
+                  </td>
+                </tr></tbody>
+              </table>
+          </form>
+      </div><!-- searchForm -->
+  </div><!-- search -->
+      
+    </div>
+</div><!-- header -->
+
+
+  <div class="g-section g-tpl-240" id="body-content">
+    <div class="g-unit g-first side-nav-resizable" id="side-nav">
+      <div id="swapper">
+        <div id="nav-panels">
+          <div id="resize-packages-nav">
+            <div id="packages-nav">
+              <div id="index-links"><nobr>
+                <a href="../../../../packages.html"  >Package Index</a> | 
+                <a href="../../../../classes.html" >Class Index</a></nobr>
+              </div>
+              <ul>
+                
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/package-summary.html">org.apache.helix</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/alerts/package-summary.html">org.apache.helix.alerts</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/controller/package-summary.html">org.apache.helix.controller</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/controller/pipeline/package-summary.html">org.apache.helix.controller.pipeline</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/controller/restlet/package-summary.html">org.apache.helix.controller.restlet</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/controller/stages/package-summary.html">org.apache.helix.controller.stages</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/examples/package-summary.html">org.apache.helix.examples</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/filestore/package-summary.html">org.apache.helix.filestore</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/healthcheck/package-summary.html">org.apache.helix.healthcheck</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/josql/package-summary.html">org.apache.helix.josql</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/lockmanager/package-summary.html">org.apache.helix.lockmanager</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/manager/zk/package-summary.html">org.apache.helix.manager.zk</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/messaging/package-summary.html">org.apache.helix.messaging</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/messaging/handling/package-summary.html">org.apache.helix.messaging.handling</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/model/package-summary.html">org.apache.helix.model</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/monitoring/package-summary.html">org.apache.helix.monitoring</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/monitoring/mbeans/package-summary.html">org.apache.helix.monitoring.mbeans</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/participant/package-summary.html">org.apache.helix.participant</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/participant/statemachine/package-summary.html">org.apache.helix.participant.statemachine</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/recipes/rabbitmq/package-summary.html">org.apache.helix.recipes.rabbitmq</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/spectator/package-summary.html">org.apache.helix.spectator</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/store/package-summary.html">org.apache.helix.store</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/store/zk/package-summary.html">org.apache.helix.store.zk</a></li>
+    <li class="selected api apilevel-">
+  <a href="../../../../org/apache/helix/tools/package-summary.html">org.apache.helix.tools</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/util/package-summary.html">org.apache.helix.util</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/webapp/package-summary.html">org.apache.helix.webapp</a></li>
+    <li class="api apilevel-">
+  <a href="../../../../org/apache/helix/webapp/resources/package-summary.html">org.apache.helix.webapp.resources</a></li>
+              </ul><br/>
+            </div> <!-- end packages -->
+          </div> <!-- end resize-packages -->
+          <div id="classes-nav">
+            <ul>
+              
+    <li><h2>Interfaces</h2>
+      <ul>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/ClusterStateVerifier.Verifier.html">ClusterStateVerifier.Verifier</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/ClusterStateVerifier.ZkVerifier.html">ClusterStateVerifier.ZkVerifier</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/IdealCalculatorByConsistentHashing.HashFunction.html">IdealCalculatorByConsistentHashing.HashFunction</a></li>
+      </ul>
+    </li>
+              
+    <li><h2>Classes</h2>
+      <ul>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/CLMLogFileAppender.html">CLMLogFileAppender</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/ClusterSetup.html">ClusterSetup</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/ClusterStateVerifier.html">ClusterStateVerifier</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/ClusterStateVerifier.BestPossAndExtViewZkVerifier.html">ClusterStateVerifier.BestPossAndExtViewZkVerifier</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/ClusterStateVerifier.MasterNbInExtViewVerifier.html">ClusterStateVerifier.MasterNbInExtViewVerifier</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/IdealCalculatorByConsistentHashing.html">IdealCalculatorByConsistentHashing</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/IdealCalculatorByConsistentHashing.FnvHash.html">IdealCalculatorByConsistentHashing.FnvHash</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/IdealStateCalculatorByRush.html">IdealStateCalculatorByRush</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/IdealStateCalculatorByShuffling.html">IdealStateCalculatorByShuffling</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/IdealStateCalculatorForEspressoRelay.html">IdealStateCalculatorForEspressoRelay</a></li>
+          <li class="selected api apilevel-"><a href="../../../../org/apache/helix/tools/IdealStateCalculatorForStorageNode.html">IdealStateCalculatorForStorageNode</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/JmxDumper.html">JmxDumper</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/LocalZKServer.html">LocalZKServer</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/MessagePoster.html">MessagePoster</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/PropertiesReader.html">PropertiesReader</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/RUSHrHash.html">RUSHrHash</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/StateModelConfigGenerator.html">StateModelConfigGenerator</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/TestCommand.html">TestCommand</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/TestCommand.NodeOpArg.html">TestCommand.NodeOpArg</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/TestExecutor.html">TestExecutor</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/TestTrigger.html">TestTrigger</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/YAISCalculator.html">YAISCalculator</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/ZKDumper.html">ZKDumper</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/ZkLogAnalyzer.html">ZkLogAnalyzer</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/ZkLogCSVFormatter.html">ZkLogCSVFormatter</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/ZKLogFormatter.html">ZKLogFormatter</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/ZnodeOpArg.html">ZnodeOpArg</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/ZnodeValue.html">ZnodeValue</a></li>
+      </ul>
+    </li>
+              
+              
+    <li><h2>Enums</h2>
+      <ul>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/TestCommand.CommandType.html">TestCommand.CommandType</a></li>
+          <li class="api apilevel-"><a href="../../../../org/apache/helix/tools/TestExecutor.ZnodePropertyType.html">TestExecutor.ZnodePropertyType</a></li>
+      </ul>
+    </li>
+              
+              
+            </ul><br/>
+          </div><!-- end classes -->
+        </div><!-- end nav-panels -->
+        <div id="nav-tree" style="display:none">
+          <div id="index-links"><nobr>
+            <a href="../../../../packages.html"  >Package Index</a> | 
+            <a href="../../../../classes.html" >Class Index</a></nobr>
+          </div>
+        </div><!-- end nav-tree -->
+      </div><!-- end swapper -->
+    </div> <!-- end side-nav -->
+    <script>
+      if (!isMobile) {
+        $("<a href='#' id='nav-swap' onclick='swapNav();return false;' style='font-size:10px;line-height:9px;margin-left:1em;text-decoration:none;'><span id='tree-link'>Use Tree Navigation</span><span id='panel-link' style='display:none'>Use Panel Navigation</span></a>").appendTo("#side-nav");
+        chooseDefaultNav();
+        if ($("#nav-tree").is(':visible')) {
+          init_default_navtree("../../../../");
+        } else {
+          addLoadEvent(function() {
+            scrollIntoView("packages-nav");
+            scrollIntoView("classes-nav");
+          });
+        }
+        $("#swapper").css({borderBottom:"2px solid #aaa"});
+      } else {
+        swapNav(); // tree view should be used on mobile
+      }
+    </script>
+
+
+
+<div class="g-unit" id="doc-content">
+
+<div id="api-info-block">
+
+
+
+  
+   
+  
+  
+  
+  
+
+
+<div class="sum-details-links">
+
+
+Summary:
+
+
+
+
+
+
+
+
+
+  <a href="#pubctors">Ctors</a>
+  
+
+
+
+  &#124; <a href="#pubmethods">Methods</a>
+  
+
+
+
+  &#124; <a href="#inhmethods">Inherited Methods</a>
+
+&#124; <a href="#" onclick="return toggleAllClassInherited()" id="toggleAllClassInherited">[Expand All]</a>
+
+</div><!-- end sum-details-links -->
+<div class="api-level">
+  
+
+
+  
+  
+
+</div>
+</div><!-- end api-info-block -->
+
+
+<!-- ======== START OF CLASS DATA ======== -->
+
+<div id="jd-header">
+    public
+     
+     
+    
+    class
+<h1>IdealStateCalculatorForStorageNode</h1>
+
+
+
+  
+    extends <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a><br/>
+  
+  
+  
+
+  
+  
+  
+
+
+</div><!-- end header -->
+
+<div id="naMessage"></div>
+
+<div id="jd-content" class="api apilevel-">
+<table class="jd-inheritance-table">
+
+
+    <tr>
+         	
+        <td colspan="2" class="jd-inheritance-class-cell"><a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">java.lang.Object</a></td>
+    </tr>
+    
+
+    <tr>
+        
+            <td class="jd-inheritance-space">&nbsp;&nbsp;&nbsp;&#x21b3;</td>
+         	
+        <td colspan="1" class="jd-inheritance-class-cell">org.apache.helix.tools.IdealStateCalculatorForStorageNode</td>
+    </tr>
+    
+
+</table>
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Class Overview</h2>
+<p>IdealStateCalculatorForStorageNode tries to optimally allocate master/slave partitions among
+ espresso storage nodes.
+
+ Given a batch of storage nodes, the partition and replication factor, the algorithm first given a initial state
+ When new batches of storage nodes are added, the algorithm will calculate the new ideal state such that the total
+ partition movements are minimized.
+
+</p>
+
+
+
+
+
+</div><!-- jd-descr -->
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<div class="jd-descr">
+
+
+<h2>Summary</h2>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!-- ======== CONSTRUCTOR SUMMARY ======== -->
+<table id="pubctors" class="jd-sumtable"><tr><th colspan="12">Public Constructors</th></tr>
+
+
+
+	 
+    <tr class="alt-color api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            
+            
+            </nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad"><a href="../../../../org/apache/helix/tools/IdealStateCalculatorForStorageNode.html#IdealStateCalculatorForStorageNode()">IdealStateCalculatorForStorageNode</a></span>()</nobr>
+        
+  </td></tr>
+
+
+
+</table>
+
+
+
+
+
+
+<!-- ========== METHOD SUMMARY =========== -->
+<table id="pubmethods" class="jd-sumtable"><tr><th colspan="12">Public Methods</th></tr>
+
+
+
+	 
+    <tr class="alt-color api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            static
+            
+            <a href="../../../../org/apache/helix/ZNRecord.html">ZNRecord</a></nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad"><a href="../../../../org/apache/helix/tools/IdealStateCalculatorForStorageNode.html#calculateIdealState(java.util.List<java.lang.String>, int, int, java.lang.String, java.lang.String, java.lang.String)">calculateIdealState</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>&gt; instanceNames, int partitions, int replicas, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> resourceName, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> masterStateValue, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> slaveStateValue)</nobr>
+        
+        <div class="jd-descrdiv">Calculate the initial ideal state given a batch of storage instances, the replication factor and
+ number of partitions
+
+ 1.</div>
+  
+  </td></tr>
+
+
+	 
+    <tr class=" api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            static
+            
+            <a href="../../../../org/apache/helix/ZNRecord.html">ZNRecord</a></nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad"><a href="../../../../org/apache/helix/tools/IdealStateCalculatorForStorageNode.html#calculateIdealStateBatch(java.util.List<java.util.List<java.lang.String>>, int, int, java.lang.String, java.lang.String, java.lang.String)">calculateIdealStateBatch</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>&gt;&gt; instanceBatches, int partitions, int replicas, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> resourceName, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> masterStateValue, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> slaveStateValue)</nob
 r>
+        
+  </td></tr>
+
+
+	 
+    <tr class="alt-color api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            static
+            
+            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a>&gt;</nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad"><a href="../../../../org/apache/helix/tools/IdealStateCalculatorForStorageNode.html#calculateInitialIdealState(java.util.List<java.lang.String>, int, int)">calculateInitialIdealState</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>&gt; instanceNames, int partitions, int replicas)</nobr>
+        
+        <div class="jd-descrdiv">Calculate the initial ideal state given a batch of storage instances, the replication factor and
+ number of partitions
+
+ 1.</div>
+  
+  </td></tr>
+
+
+	 
+    <tr class=" api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            static
+            
+            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a>&gt;</nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad"><a href="../../../../org/apache/helix/tools/IdealStateCalculatorForStorageNode.html#calculateNextIdealState(java.util.List<java.lang.String>, java.util.Map<java.lang.String, java.lang.Object>)">calculateNextIdealState</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>&gt; newInstances, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a>&gt; previousIdealState)</nobr>
+        
+        <div class="jd-descrdiv">Given the current idealState, and the list of new Instances needed to be added, calculate the
+ new Ideal state.</div>
+  
+  </td></tr>
+
+
+	 
+    <tr class="alt-color api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            
+            
+            <a href="../../../../org/apache/helix/ZNRecord.html">ZNRecord</a></nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad"><a href="../../../../org/apache/helix/tools/IdealStateCalculatorForStorageNode.html#calculateNextIdealState(java.util.List<java.lang.String>, java.util.Map<java.lang.String, java.lang.Object>, java.lang.String, java.lang.String, java.lang.String)">calculateNextIdealState</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>&gt; newInstances, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a>&gt; previousIdealState, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> resourceName, <a href="http://download.
 oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> masterStateValue, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> slaveStateValue)</nobr>
+        
+  </td></tr>
+
+
+	 
+    <tr class=" api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            static
+            
+            <a href="../../../../org/apache/helix/ZNRecord.html">ZNRecord</a></nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad"><a href="../../../../org/apache/helix/tools/IdealStateCalculatorForStorageNode.html#convertToZNRecord(java.util.Map<java.lang.String, java.lang.Object>, java.lang.String, java.lang.String, java.lang.String)">convertToZNRecord</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a>&gt; result, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> resourceName, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> masterStateValue, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> slaveStateValue)</nobr>
+        
+        <div class="jd-descrdiv">Convert the internal result (stored as a Map<String, Object>) into ZNRecord.</div>
+  
+  </td></tr>
+
+
+	 
+    <tr class="alt-color api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            static
+            
+            void</nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad"><a href="../../../../org/apache/helix/tools/IdealStateCalculatorForStorageNode.html#main(java.lang.String[])">main</a></span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String[]</a> args)</nobr>
+        
+  </td></tr>
+
+
+
+</table>
+
+
+
+
+
+
+
+<!-- ========== METHOD SUMMARY =========== -->
+<table id="inhmethods" class="jd-sumtable"><tr><th>
+  <a href="#" class="toggle-all" onclick="return toggleAllInherited(this, null)">[Expand]</a>
+  <div style="clear:left;">Inherited Methods</div></th></tr>
+
+
+<tr class="api apilevel-" >
+<td colspan="12">
+  <a href="#" onclick="return toggleInherited(this, null)" id="inherited-methods-java.lang.Object" class="jd-expando-trigger closed"
+          ><img id="inherited-methods-java.lang.Object-trigger"
+          src="../../../../../assets/images/triangle-closed.png"
+          class="jd-expando-trigger-img" /></a>
+From class
+
+  <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">java.lang.Object</a>
+
+<div id="inherited-methods-java.lang.Object">
+  <div id="inherited-methods-java.lang.Object-list"
+        class="jd-inheritedlinks">
+  </div>
+  <div id="inherited-methods-java.lang.Object-summary" style="display: none;">
+    <table class="jd-sumtable-expando">
+    
+
+
+	 
+    <tr class="alt-color api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            
+            
+            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a></nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad">clone</span>()</nobr>
+        
+  </td></tr>
+
+
+	 
+    <tr class=" api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            
+            
+            boolean</nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad">equals</span>(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a> arg0)</nobr>
+        
+  </td></tr>
+
+
+	 
+    <tr class="alt-color api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            
+            
+            void</nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad">finalize</span>()</nobr>
+        
+  </td></tr>
+
+
+	 
+    <tr class=" api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            final
+            
+            
+            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Class.html">Class</a>&lt;?&gt;</nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad">getClass</span>()</nobr>
+        
+  </td></tr>
+
+
+	 
+    <tr class="alt-color api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            
+            
+            int</nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad">hashCode</span>()</nobr>
+        
+  </td></tr>
+
+
+	 
+    <tr class=" api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            final
+            
+            
+            void</nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad">notify</span>()</nobr>
+        
+  </td></tr>
+
+
+	 
+    <tr class="alt-color api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            final
+            
+            
+            void</nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad">notifyAll</span>()</nobr>
+        
+  </td></tr>
+
+
+	 
+    <tr class=" api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            
+            
+            
+            <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a></nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad">toString</span>()</nobr>
+        
+  </td></tr>
+
+
+	 
+    <tr class="alt-color api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            final
+            
+            
+            void</nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad">wait</span>()</nobr>
+        
+  </td></tr>
+
+
+	 
+    <tr class=" api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            final
+            
+            
+            void</nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad">wait</span>(long arg0, int arg1)</nobr>
+        
+  </td></tr>
+
+
+	 
+    <tr class="alt-color api apilevel-" >
+        <td class="jd-typecol"><nobr>
+            
+            
+            final
+            
+            
+            void</nobr>
+        </td>
+        <td class="jd-linkcol" width="100%"><nobr>
+        <span class="sympad">wait</span>(long arg0)</nobr>
+        
+  </td></tr>
+
+
+</table>
+  </div>
+</div>
+</td></tr>
+
+
+</table>
+
+
+</div><!-- jd-descr (summary) -->
+
+<!-- Details -->
+
+
+
+
+
+
+
+
+<!-- XML Attributes -->
+
+
+<!-- Enum Values -->
+
+
+<!-- Constants -->
+
+
+<!-- Fields -->
+
+
+<!-- Public ctors -->
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<h2>Public Constructors</h2>
+
+
+
+<A NAME="IdealStateCalculatorForStorageNode()"></A>
+
+<div class="jd-details api apilevel-"> 
+    <h4 class="jd-details-title">
+      <span class="normal">
+        public 
+         
+         
+         
+         
+        
+      </span>
+      <span class="sympad">IdealStateCalculatorForStorageNode</span>
+      <span class="normal">()</span>
+    </h4>
+      <div class="api-level">
+        <div>
+
+</div>
+        
+  
+
+      </div>
+    <div class="jd-details-descr">
+      
+  <div class="jd-tagdata jd-tagdescr"><p></p></div>
+
+    </div>
+</div>
+
+
+
+
+
+<!-- ========= CONSTRUCTOR DETAIL ======== -->
+<!-- Protected ctors -->
+
+
+
+<!-- ========= METHOD DETAIL ======== -->
+<!-- Public methdos -->
+
+<h2>Public Methods</h2>
+
+
+
+<A NAME="calculateIdealState(java.util.List<java.lang.String>, int, int, java.lang.String, java.lang.String, java.lang.String)"></A>
+
+<div class="jd-details api apilevel-"> 
+    <h4 class="jd-details-title">
+      <span class="normal">
+        public 
+        static 
+         
+         
+         
+        <a href="../../../../org/apache/helix/ZNRecord.html">ZNRecord</a>
+      </span>
+      <span class="sympad">calculateIdealState</span>
+      <span class="normal">(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>&gt; instanceNames, int partitions, int replicas, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> resourceName, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> masterStateValue, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> slaveStateValue)</span>
+    </h4>
+      <div class="api-level">
+        <div>
+
+</div>
+        
+  
+
+      </div>
+    <div class="jd-details-descr">
+      
+  <div class="jd-tagdata jd-tagdescr"><p>Calculate the initial ideal state given a batch of storage instances, the replication factor and
+ number of partitions
+
+ 1. Calculate the master assignment by random shuffling
+ 2. for each storage instance, calculate the 1st slave assignment map, by another random shuffling
+ 3. for each storage instance, calculate the i-th slave assignment map
+ 4. Combine the i-th slave assignment maps together</p></div>
+  <div class="jd-tagdata">
+      <h5 class="jd-tagtitle">Parameters</h5>
+      <table class="jd-tagtable">
+        <tr>
+          <th>instanceNames</td>
+          <td>list of storage node instances</td>
+        </tr>
+        <tr>
+          <th>partitions</td>
+          <td>number of partitions</td>
+        </tr>
+        <tr>
+          <th>replicas</td>
+          <td>The number of replicas (slave partitions) per master partition</td>
+        </tr>
+        <tr>
+          <th>masterStateValue</td>
+          <td>master state value: e.g. "MASTER" or "LEADER"</td>
+        </tr>
+        <tr>
+          <th>slaveStateValue</td>
+          <td>slave state value: e.g. "SLAVE" or "STANDBY"</td>
+        </tr>
+      </table>
+  </div>
+  <div class="jd-tagdata">
+      <h5 class="jd-tagtitle">Returns</h5>
+      <ul class="nolist"><li>a ZNRecord that contain the idealstate info
+</li></ul>
+  </div>
+
+    </div>
+</div>
+
+
+<A NAME="calculateIdealStateBatch(java.util.List<java.util.List<java.lang.String>>, int, int, java.lang.String, java.lang.String, java.lang.String)"></A>
+
+<div class="jd-details api apilevel-"> 
+    <h4 class="jd-details-title">
+      <span class="normal">
+        public 
+        static 
+         
+         
+         
+        <a href="../../../../org/apache/helix/ZNRecord.html">ZNRecord</a>
+      </span>
+      <span class="sympad">calculateIdealStateBatch</span>
+      <span class="normal">(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>&gt;&gt; instanceBatches, int partitions, int replicas, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> resourceName, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> masterStateValue, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> slaveStateValue)</span>
+    </h4>
+      <div class="api-level">
+        <div>
+
+</div>
+        
+  
+
+      </div>
+    <div class="jd-details-descr">
+      
+  <div class="jd-tagdata jd-tagdescr"><p></p></div>
+
+    </div>
+</div>
+
+
+<A NAME="calculateInitialIdealState(java.util.List<java.lang.String>, int, int)"></A>
+
+<div class="jd-details api apilevel-"> 
+    <h4 class="jd-details-title">
+      <span class="normal">
+        public 
+        static 
+         
+         
+         
+        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a>&gt;
+      </span>
+      <span class="sympad">calculateInitialIdealState</span>
+      <span class="normal">(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>&gt; instanceNames, int partitions, int replicas)</span>
+    </h4>
+      <div class="api-level">
+        <div>
+
+</div>
+        
+  
+
+      </div>
+    <div class="jd-details-descr">
+      
+  <div class="jd-tagdata jd-tagdescr"><p>Calculate the initial ideal state given a batch of storage instances, the replication factor and
+ number of partitions
+
+ 1. Calculate the master assignment by random shuffling
+ 2. for each storage instance, calculate the 1st slave assignment map, by another random shuffling
+ 3. for each storage instance, calculate the i-th slave assignment map
+ 4. Combine the i-th slave assignment maps together</p></div>
+  <div class="jd-tagdata">
+      <h5 class="jd-tagtitle">Parameters</h5>
+      <table class="jd-tagtable">
+        <tr>
+          <th>instanceNames</td>
+          <td>list of storage node instances</td>
+        </tr>
+        <tr>
+          <th>partitions</td>
+          <td>number of partitions</td>
+        </tr>
+        <tr>
+          <th>replicas</td>
+          <td>The number of replicas (slave partitions) per master partition</td>
+        </tr>
+      </table>
+  </div>
+  <div class="jd-tagdata">
+      <h5 class="jd-tagtitle">Returns</h5>
+      <ul class="nolist"><li>a map that contain the idealstate info
+</li></ul>
+  </div>
+
+    </div>
+</div>
+
+
+<A NAME="calculateNextIdealState(java.util.List<java.lang.String>, java.util.Map<java.lang.String, java.lang.Object>)"></A>
+
+<div class="jd-details api apilevel-"> 
+    <h4 class="jd-details-title">
+      <span class="normal">
+        public 
+        static 
+         
+         
+         
+        <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a>&gt;
+      </span>
+      <span class="sympad">calculateNextIdealState</span>
+      <span class="normal">(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>&gt; newInstances, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a>&gt; previousIdealState)</span>
+    </h4>
+      <div class="api-level">
+        <div>
+
+</div>
+        
+  
+
+      </div>
+    <div class="jd-details-descr">
+      
+  <div class="jd-tagdata jd-tagdescr"><p>Given the current idealState, and the list of new Instances needed to be added, calculate the
+ new Ideal state.
+
+ 1. Calculate how many master partitions should be moved to the new cluster of instances
+ 2. assign the number of master partitions px to be moved to each previous node
+ 3. for each previous node,
+    3.1 randomly choose px nodes, move them to temp list
+    3.2 for each px nodes, remove them from the slave assignment map; record the map position of
+        the partition;
+    3.3 calculate # of new nodes that should be put in the slave assignment map
+    3.4 even-fy the slave assignment map;
+    3.5 randomly place # of new nodes that should be placed in
+
+ 4. from all the temp master node list get from 3.1,
+    4.1 randomly assign them to nodes in the new cluster
+
+ 5. for each node in the new cluster,
+    5.1 assemble the slave assignment map
+    5.2 even-fy the slave assignment map</p></div>
+  <div class="jd-tagdata">
+      <h5 class="jd-tagtitle">Parameters</h5>
+      <table class="jd-tagtable">
+        <tr>
+          <th>newInstances</td>
+          <td>list of new added storage node instances</td>
+        </tr>
+        <tr>
+          <th>previousIdealState</td>
+          <td>The previous ideal state</td>
+        </tr>
+      </table>
+  </div>
+  <div class="jd-tagdata">
+      <h5 class="jd-tagtitle">Returns</h5>
+      <ul class="nolist"><li>a map that contain the updated idealstate info
+ </li></ul>
+  </div>
+
+    </div>
+</div>
+
+
+<A NAME="calculateNextIdealState(java.util.List<java.lang.String>, java.util.Map<java.lang.String, java.lang.Object>, java.lang.String, java.lang.String, java.lang.String)"></A>
+
+<div class="jd-details api apilevel-"> 
+    <h4 class="jd-details-title">
+      <span class="normal">
+        public 
+         
+         
+         
+         
+        <a href="../../../../org/apache/helix/ZNRecord.html">ZNRecord</a>
+      </span>
+      <span class="sympad">calculateNextIdealState</span>
+      <span class="normal">(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/List.html">List</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>&gt; newInstances, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a>&gt; previousIdealState, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> resourceName, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> masterStateValue, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> slaveStateValue)</span>
+    </h4>
+      <div class="api-level">
+        <div>
+
+</div>
+        
+  
+
+      </div>
+    <div class="jd-details-descr">
+      
+  <div class="jd-tagdata jd-tagdescr"><p></p></div>
+
+    </div>
+</div>
+
+
+<A NAME="convertToZNRecord(java.util.Map<java.lang.String, java.lang.Object>, java.lang.String, java.lang.String, java.lang.String)"></A>
+
+<div class="jd-details api apilevel-"> 
+    <h4 class="jd-details-title">
+      <span class="normal">
+        public 
+        static 
+         
+         
+         
+        <a href="../../../../org/apache/helix/ZNRecord.html">ZNRecord</a>
+      </span>
+      <span class="sympad">convertToZNRecord</span>
+      <span class="normal">(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/util/Map.html">Map</a>&lt;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a>,&nbsp;<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/Object.html">Object</a>&gt; result, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> resourceName, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> masterStateValue, <a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String</a> slaveStateValue)</span>
+    </h4>
+      <div class="api-level">
+        <div>
+
+</div>
+        
+  
+
+      </div>
+    <div class="jd-details-descr">
+      
+  <div class="jd-tagdata jd-tagdescr"><p>Convert the internal result (stored as a Map<String, Object>) into ZNRecord.
+</p></div>
+
+    </div>
+</div>
+
+
+<A NAME="main(java.lang.String[])"></A>
+
+<div class="jd-details api apilevel-"> 
+    <h4 class="jd-details-title">
+      <span class="normal">
+        public 
+        static 
+         
+         
+         
+        void
+      </span>
+      <span class="sympad">main</span>
+      <span class="normal">(<a href="http://download.oracle.com/javase/6/docs/api/index.html?java/lang/String.html">String[]</a> args)</span>
+    </h4>
+      <div class="api-level">
+        <div>
+
+</div>
+        
+  
+
+      </div>
+    <div class="jd-details-descr">
+      
+  <div class="jd-tagdata jd-tagdescr"><p></p></div>
+
+    </div>
+</div>
+
+
+
+
+
+<!-- ========= METHOD DETAIL ======== -->
+
+
+
+<!-- ========= END OF CLASS DATA ========= -->
+<A NAME="navbar_top"></A>
+
+<div id="footer">
+Generated by <a href="http://code.google.com/p/doclava/">Doclava</a>.
+</div> <!-- end footer -->
+
+</div> <!-- jd-content -->
+
+</div><!-- end doc-content -->
+
+</div> <!-- end body-content --> 
+
+<script type="text/javascript">
+init(); /* initialize doclava-developer-docs.js */
+</script>
+
+</body>
+</html>
\ No newline at end of file

Modified: incubator/helix/site-content/checkstyle-aggregate.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/checkstyle-aggregate.html?rev=1441275&r1=1441274&r2=1441275&view=diff
==============================================================================
--- incubator/helix/site-content/checkstyle-aggregate.html (original)
+++ incubator/helix/site-content/checkstyle-aggregate.html Fri Feb  1 00:15:01 2013
@@ -39,13 +39,13 @@
         <a href="#" class="dropdown-toggle" data-toggle="dropdown">Helix <b class="caret"></b></a>
         <ul class="dropdown-menu">
         
-                      <li>      <a href="index.html"  title="About">About</a>
+                      <li>      <a href="index.html"  title="Introduction">Introduction</a>
 </li>
                   
                       <li>      <a href="Quickstart.html"  title="Quick Start">Quick Start</a>
 </li>
                   
-                      <li>      <a href="ApiUsage.html"  title="Api Usage">Api Usage</a>
+                      <li>      <a href="Tutorial.html"  title="Tutorial">Tutorial</a>
 </li>
                   
                       <li>      <a href="Architecture.html"  title="Architecture">Architecture</a>
@@ -54,10 +54,7 @@
                       <li>      <a href="Features.html"  title="Features">Features</a>
 </li>
                   
-                      <li>      <a href="releasenotes/release-0.6.0-incubating.html"  title="Current release 0.6.0-incubating">Current release 0.6.0-incubating</a>
-</li>
-                  
-                      <li>      <a href="jira-report.html"  title="Current Version Change Log">Current Version Change Log</a>
+                      <li>      <a href="releasenotes/release-0.6.0-incubating.html"  title="release 0.6.0-incubating">release 0.6.0-incubating</a>
 </li>
                   
                       <li>      <a href="download.html"  title="Download">Download</a>
@@ -104,84 +101,6 @@
 </li>
                           </ul>
       </li>
-                <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">Project Documentation <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li class="dropdown-submenu">
-                                      <a href="project-info.html"  title="Project Information">Project Information</a>
-              <ul class="dropdown-menu">
-                                  <li>      <a href="index.html"  title="About">About</a>
-</li>
-                                  <li>      <a href="team-list.html"  title="Project Team">Project Team</a>
-</li>
-                                  <li>      <a href="modules.html"  title="Project Modules">Project Modules</a>
-</li>
-                                  <li>      <a href="dependency-info.html"  title="Dependency Information">Dependency Information</a>
-</li>
-                                  <li>      <a href="dependency-management.html"  title="Dependency Management">Dependency Management</a>
-</li>
-                                  <li>      <a href="plugins.html"  title="Project Plugins">Project Plugins</a>
-</li>
-                                  <li>      <a href="integration.html"  title="Continuous Integration">Continuous Integration</a>
-</li>
-                                  <li>      <a href="issue-tracking.html"  title="Issue Tracking">Issue Tracking</a>
-</li>
-                                  <li>      <a href="source-repository.html"  title="Source Repository">Source Repository</a>
-</li>
-                                  <li>      <a href="dependency-convergence.html"  title="Dependency Convergence">Dependency Convergence</a>
-</li>
-                                  <li>      <a href="license.html"  title="Project License">Project License</a>
-</li>
-                                  <li>      <a href="plugin-management.html"  title="Plugin Management">Plugin Management</a>
-</li>
-                                  <li>      <a href="distribution-management.html"  title="Distribution Management">Distribution Management</a>
-</li>
-                                  <li>      <a href="project-summary.html"  title="Project Summary">Project Summary</a>
-</li>
-                                  <li>      <a href="mail-lists.html"  title="Mailing Lists">Mailing Lists</a>
-</li>
-                                  <li>      <a href="dependencies.html"  title="Dependencies">Dependencies</a>
-</li>
-                              </ul>
-            </li>
-                  
-                      <li class="dropdown-submenu">
-                                      <a href="project-reports.html"  title="Project Reports">Project Reports</a>
-              <ul class="dropdown-menu">
-                                  <li>      <a href="jira-report.html"  title="JIRA Report">JIRA Report</a>
-</li>
-                                  <li>      <a href="xref/index.html"  title="Source Xref">Source Xref</a>
-</li>
-                                  <li>      <a href="xref-test/index.html"  title="Test Source Xref">Test Source Xref</a>
-</li>
-                                  <li>      <a href="apidocs/index.html"  title="JavaDocs">JavaDocs</a>
-</li>
-                                  <li>      <a href="checkstyle-aggregate.html"  title="Checkstyle">Checkstyle</a>
-</li>
-                                  <li>      <a href="sonar.html"  title="Sonar">Sonar</a>
-</li>
-                              </ul>
-            </li>
-                          </ul>
-      </li>
-                <li class="dropdown">
-        <a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a>
-        <ul class="dropdown-menu">
-        
-                      <li>      <a href="http://www.apache.org/foundation/how-it-works.html"  title="How Apache Works">How Apache Works</a>
-</li>
-                  
-                      <li>      <a href="http://www.apache.org/foundation/"  title="Foundation">Foundation</a>
-</li>
-                  
-                      <li>      <a href="http://www.apache.org/foundation/sponsorship.html"  title="Sponsoring Apache">Sponsoring Apache</a>
-</li>
-                  
-                      <li>      <a href="http://www.apache.org/foundation/thanks.html"  title="Thanks">Thanks</a>
-</li>
-                          </ul>
-      </li>
                   </ul>
           
           
@@ -237,9 +156,9 @@
                                 
       <li>
     
-                          <a href="index.html" title="About">
+                          <a href="index.html" title="Introduction">
           <i class="none"></i>
-        About</a>
+        Introduction</a>
             </li>
                   
       <li>
@@ -251,9 +170,9 @@
                   
       <li>
     
-                          <a href="ApiUsage.html" title="Api Usage">
+                          <a href="Tutorial.html" title="Tutorial">
           <i class="none"></i>
-        Api Usage</a>
+        Tutorial</a>
             </li>
                   
       <li>
@@ -272,16 +191,9 @@
                   
       <li>
     
-                          <a href="releasenotes/release-0.6.0-incubating.html" title="Current release 0.6.0-incubating">
-          <i class="none"></i>
-        Current release 0.6.0-incubating</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="jira-report.html" title="Current Version Change Log">
+                          <a href="releasenotes/release-0.6.0-incubating.html" title="release 0.6.0-incubating">
           <i class="none"></i>
-        Current Version Change Log</a>
+        release 0.6.0-incubating</a>
             </li>
                   
       <li>
@@ -362,92 +274,6 @@
           <i class="none"></i>
         Release Guide</a>
             </li>
-                              <li class="nav-header">Project Documentation</li>
-                                                                                                                                                                                                                                                                                                                                                                
-      <li>
-    
-                          <a href="project-info.html" title="Project Information">
-          <i class="icon-chevron-right"></i>
-        Project Information</a>
-                  </li>
-                                                                                                                                                                        
-      <li>
-    
-                          <a href="project-reports.html" title="Project Reports">
-          <i class="icon-chevron-down"></i>
-        Project Reports</a>
-                    <ul class="nav nav-list">
-                      
-      <li>
-    
-                          <a href="jira-report.html" title="JIRA Report">
-          <i class="none"></i>
-        JIRA Report</a>
-            </li>
-                      
-      <li>
-    
-                          <a href="xref/index.html" title="Source Xref">
-          <i class="none"></i>
-        Source Xref</a>
-            </li>
-                      
-      <li>
-    
-                          <a href="xref-test/index.html" title="Test Source Xref">
-          <i class="none"></i>
-        Test Source Xref</a>
-            </li>
-                      
-      <li>
-    
-                          <a href="apidocs/index.html" title="JavaDocs">
-          <i class="none"></i>
-        JavaDocs</a>
-            </li>
-                      
-      <li class="active">
-    
-            <a href="#"><i class="none"></i>Checkstyle</a>
-          </li>
-                      
-      <li>
-    
-                          <a href="sonar.html" title="Sonar">
-          <i class="none"></i>
-        Sonar</a>
-            </li>
-              </ul>
-        </li>
-                              <li class="nav-header">ASF</li>
-                                
-      <li>
-    
-                          <a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works">
-          <i class="none"></i>
-        How Apache Works</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="http://www.apache.org/foundation/" class="externalLink" title="Foundation">
-          <i class="none"></i>
-        Foundation</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache">
-          <i class="none"></i>
-        Sponsoring Apache</a>
-            </li>
-                  
-      <li>
-    
-                          <a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">
-          <i class="none"></i>
-        Thanks</a>
-            </li>
             </ul>
                 
             
@@ -463,7 +289,16 @@
            <div id="poweredBy">
                             <div class="clear"></div>
                             <div class="clear"></div>
-                            <div class="clear"></div>
+               
+        
+        
+        <div id="twitter">
+    
+    <a href="https://twitter.com/apachehelix" class="twitter-follow-button" data-show-count="false" data-align="left" data-size="medium" data-show-screen-name="true" data-lang="en">Follow apachehelix</a>
+    <script type="text/javascript">!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+
+        </div>
+                   <div class="clear"></div>
                              <a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
         <img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
       </a>
@@ -474,7 +309,7 @@
                 
         <div id="bodyColumn"  class="span9" >
                                   

[... 6 lines stripped ...]


Mime
View raw message