helix-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r1406467 [19/19] - in /incubator/helix/site-content: ./ apidocs/assets/ apidocs/reference/ apidocs/reference/org/apache/helix/ apidocs/reference/org/apache/helix/examples/ apidocs/reference/org/apache/helix/manager/file/ apidocs/reference/o...
Date Wed, 07 Nov 2012 05:11:34 GMT
Modified: incubator/helix/site-content/xref/org/apache/helix/model/StateModelDefinition.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/model/StateModelDefinition.html?rev=1406467&r1=1406466&r2=1406467&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/model/StateModelDefinition.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/model/StateModelDefinition.html Wed Nov  7 05:11:27 2012
@@ -185,10 +185,10 @@
 <a class="jxr_linenumber" name="175" href="#175">175</a> <em class="jxr_javadoccomment">     * </em>
 <a class="jxr_linenumber" name="176" href="#176">176</a> <em class="jxr_javadoccomment">     * @param state</em>
 <a class="jxr_linenumber" name="177" href="#177">177</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="178" href="#178">178</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> initialState(String initialState)
+<a class="jxr_linenumber" name="178" href="#178">178</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/helix/PropertyKey.html">Builder</a> initialState(String initialState)
 <a class="jxr_linenumber" name="179" href="#179">179</a>     {
 <a class="jxr_linenumber" name="180" href="#180">180</a>       <strong class="jxr_keyword">this</strong>.initialState = initialState;
-<a class="jxr_linenumber" name="181" href="#181">181</a> 
+<a class="jxr_linenumber" name="181" href="#181">181</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
 <a class="jxr_linenumber" name="182" href="#182">182</a>     }
 <a class="jxr_linenumber" name="183" href="#183">183</a> 
 <a class="jxr_linenumber" name="184" href="#184">184</a>     <em class="jxr_javadoccomment">/**</em>
@@ -200,111 +200,142 @@
 <a class="jxr_linenumber" name="190" href="#190">190</a> <em class="jxr_javadoccomment">     * </em>
 <a class="jxr_linenumber" name="191" href="#191">191</a> <em class="jxr_javadoccomment">     * @param states</em>
 <a class="jxr_linenumber" name="192" href="#192">192</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="193" href="#193">193</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> addState(String state, <strong class="jxr_keyword">int</strong> priority)
+<a class="jxr_linenumber" name="193" href="#193">193</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/helix/PropertyKey.html">Builder</a> addState(String state, <strong class="jxr_keyword">int</strong> priority)
 <a class="jxr_linenumber" name="194" href="#194">194</a>     {
 <a class="jxr_linenumber" name="195" href="#195">195</a>       statesMap.put(state, priority);
-<a class="jxr_linenumber" name="196" href="#196">196</a>     }
-<a class="jxr_linenumber" name="197" href="#197">197</a> 
-<a class="jxr_linenumber" name="198" href="#198">198</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="199" href="#199">199</a> <em class="jxr_javadoccomment">     * Define all legal transitions between states using this method. Priority</em>
-<a class="jxr_linenumber" name="200" href="#200">200</a> <em class="jxr_javadoccomment">     * is used to order the transitions. Helix tries to maximize the number of</em>
-<a class="jxr_linenumber" name="201" href="#201">201</a> <em class="jxr_javadoccomment">     * transitions that can be fired in parallel without violating the</em>
-<a class="jxr_linenumber" name="202" href="#202">202</a> <em class="jxr_javadoccomment">     * constraint. The transitions are first sorted based on priority and</em>
-<a class="jxr_linenumber" name="203" href="#203">203</a> <em class="jxr_javadoccomment">     * transitions are selected in a greedy way until the constriants are not</em>
-<a class="jxr_linenumber" name="204" href="#204">204</a> <em class="jxr_javadoccomment">     * violated.</em>
-<a class="jxr_linenumber" name="205" href="#205">205</a> <em class="jxr_javadoccomment">     * </em>
-<a class="jxr_linenumber" name="206" href="#206">206</a> <em class="jxr_javadoccomment">     * @param fromState</em>
-<a class="jxr_linenumber" name="207" href="#207">207</a> <em class="jxr_javadoccomment">     * @param toState</em>
-<a class="jxr_linenumber" name="208" href="#208">208</a> <em class="jxr_javadoccomment">     * @param priority</em>
-<a class="jxr_linenumber" name="209" href="#209">209</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="210" href="#210">210</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> addTransition(String fromState, String toState, <strong class="jxr_keyword">int</strong> priority)
-<a class="jxr_linenumber" name="211" href="#211">211</a>     {
-<a class="jxr_linenumber" name="212" href="#212">212</a>       transitionMap.put(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/participant/statemachine/Transition.html">Transition</a>(fromState, toState), priority);
-<a class="jxr_linenumber" name="213" href="#213">213</a>     }
-<a class="jxr_linenumber" name="214" href="#214">214</a> 
-<a class="jxr_linenumber" name="215" href="#215">215</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> upperBound(String state, <strong class="jxr_keyword">int</strong> upperBound)
-<a class="jxr_linenumber" name="216" href="#216">216</a>     {
-<a class="jxr_linenumber" name="217" href="#217">217</a>       stateConstraintMap.put(state, String.valueOf(upperBound));
-<a class="jxr_linenumber" name="218" href="#218">218</a>     }
-<a class="jxr_linenumber" name="219" href="#219">219</a> 
-<a class="jxr_linenumber" name="220" href="#220">220</a>     <em class="jxr_javadoccomment">/**</em>
-<a class="jxr_linenumber" name="221" href="#221">221</a> <em class="jxr_javadoccomment">     * You can use this to have the bounds dynamically change based on other</em>
-<a class="jxr_linenumber" name="222" href="#222">222</a> <em class="jxr_javadoccomment">     * parameters. Currently support 2 values R --&gt; Refers to the number of</em>
-<a class="jxr_linenumber" name="223" href="#223">223</a> <em class="jxr_javadoccomment">     * replicas specified during resource creation. This allows having different</em>
-<a class="jxr_linenumber" name="224" href="#224">224</a> <em class="jxr_javadoccomment">     * replication factor for each resource without having to create a different</em>
-<a class="jxr_linenumber" name="225" href="#225">225</a> <em class="jxr_javadoccomment">     * state machine. N --&gt; Refers to all nodes in the cluster. Useful for</em>
-<a class="jxr_linenumber" name="226" href="#226">226</a> <em class="jxr_javadoccomment">     * resources that need to exist on all nodes. This way one can add/remove</em>
-<a class="jxr_linenumber" name="227" href="#227">227</a> <em class="jxr_javadoccomment">     * nodes without having the change the bounds.</em>
-<a class="jxr_linenumber" name="228" href="#228">228</a> <em class="jxr_javadoccomment">     * </em>
-<a class="jxr_linenumber" name="229" href="#229">229</a> <em class="jxr_javadoccomment">     * @param state</em>
-<a class="jxr_linenumber" name="230" href="#230">230</a> <em class="jxr_javadoccomment">     * @param bound</em>
-<a class="jxr_linenumber" name="231" href="#231">231</a> <em class="jxr_javadoccomment">     */</em>
-<a class="jxr_linenumber" name="232" href="#232">232</a>     <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">void</strong> dynamicUpperBound(String state, String bound)
-<a class="jxr_linenumber" name="233" href="#233">233</a>     {
-<a class="jxr_linenumber" name="234" href="#234">234</a>       stateConstraintMap.put(state, bound);
-<a class="jxr_linenumber" name="235" href="#235">235</a>     }
-<a class="jxr_linenumber" name="236" href="#236">236</a> 
-<a class="jxr_linenumber" name="237" href="#237">237</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/helix/model/StateModelDefinition.html">StateModelDefinition</a> build()
-<a class="jxr_linenumber" name="238" href="#238">238</a>     {
-<a class="jxr_linenumber" name="239" href="#239">239</a>       <a href="../../../../org/apache/helix/ZNRecord.html">ZNRecord</a> record = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/ZNRecord.html">ZNRecord</a>(_statemodelName);
-<a class="jxr_linenumber" name="240" href="#240">240</a>       ArrayList&lt;String&gt; statePriorityList = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;(
-<a class="jxr_linenumber" name="241" href="#241">241</a>           statesMap.keySet());
-<a class="jxr_linenumber" name="242" href="#242">242</a>       Comparator&lt;? <strong class="jxr_keyword">super</strong> String&gt; c1 = <strong class="jxr_keyword">new</strong> Comparator&lt;String&gt;()
-<a class="jxr_linenumber" name="243" href="#243">243</a>       {
-<a class="jxr_linenumber" name="244" href="#244">244</a> 
-<a class="jxr_linenumber" name="245" href="#245">245</a>         @Override
-<a class="jxr_linenumber" name="246" href="#246">246</a>         <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> compare(String o1, String o2)
-<a class="jxr_linenumber" name="247" href="#247">247</a>         {
-<a class="jxr_linenumber" name="248" href="#248">248</a>           <strong class="jxr_keyword">return</strong> statesMap.get(o1).compareTo(statesMap.get(o2));
-<a class="jxr_linenumber" name="249" href="#249">249</a>         }
-<a class="jxr_linenumber" name="250" href="#250">250</a>       };
-<a class="jxr_linenumber" name="251" href="#251">251</a>       Collections.sort(statePriorityList, c1);
-<a class="jxr_linenumber" name="252" href="#252">252</a>       ArrayList&lt;String&gt; transitionPriorityList = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;(
-<a class="jxr_linenumber" name="253" href="#253">253</a>           transitionMap.size());
-<a class="jxr_linenumber" name="254" href="#254">254</a>       <strong class="jxr_keyword">for</strong> (Transition t : transitionMap.keySet())
-<a class="jxr_linenumber" name="255" href="#255">255</a>       {
-<a class="jxr_linenumber" name="256" href="#256">256</a>         transitionPriorityList.add(t.toString());
-<a class="jxr_linenumber" name="257" href="#257">257</a>       }
-<a class="jxr_linenumber" name="258" href="#258">258</a>       Comparator&lt;? <strong class="jxr_keyword">super</strong> String&gt; c2 = <strong class="jxr_keyword">new</strong> Comparator&lt;String&gt;()
-<a class="jxr_linenumber" name="259" href="#259">259</a>       {
-<a class="jxr_linenumber" name="260" href="#260">260</a> 
-<a class="jxr_linenumber" name="261" href="#261">261</a>         @Override
-<a class="jxr_linenumber" name="262" href="#262">262</a>         <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> compare(String o1, String o2)
-<a class="jxr_linenumber" name="263" href="#263">263</a>         {
-<a class="jxr_linenumber" name="264" href="#264">264</a>           <strong class="jxr_keyword">return</strong> statesMap.get(o1).compareTo(statesMap.get(o2));
-<a class="jxr_linenumber" name="265" href="#265">265</a>         }
-<a class="jxr_linenumber" name="266" href="#266">266</a>       };
-<a class="jxr_linenumber" name="267" href="#267">267</a>       Collections.sort(transitionPriorityList, c2);
-<a class="jxr_linenumber" name="268" href="#268">268</a> 
-<a class="jxr_linenumber" name="269" href="#269">269</a>       record.setSimpleField(
-<a class="jxr_linenumber" name="270" href="#270">270</a>           StateModelDefinitionProperty.INITIAL_STATE.toString(), initialState);
-<a class="jxr_linenumber" name="271" href="#271">271</a>       record.setListField(
-<a class="jxr_linenumber" name="272" href="#272">272</a>           StateModelDefinitionProperty.STATE_PRIORITY_LIST.toString(),
-<a class="jxr_linenumber" name="273" href="#273">273</a>           statePriorityList);
-<a class="jxr_linenumber" name="274" href="#274">274</a>       record
-<a class="jxr_linenumber" name="275" href="#275">275</a>           .setListField(
-<a class="jxr_linenumber" name="276" href="#276">276</a>               StateModelDefinitionProperty.STATE_TRANSITION_PRIORITYLIST
-<a class="jxr_linenumber" name="277" href="#277">277</a>                   .toString(), transitionPriorityList);
-<a class="jxr_linenumber" name="278" href="#278">278</a>       <a href="../../../../org/apache/helix/participant/statemachine/StateTransitionTableBuilder.html">StateTransitionTableBuilder</a> stateTransitionTableBuilder = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/participant/statemachine/StateTransitionTableBuilder.html">StateTransitionTableBuilder</a>();
-<a class="jxr_linenumber" name="279" href="#279">279</a>       Map&lt;String, Map&lt;String, String&gt;&gt; transitionTable = stateTransitionTableBuilder
-<a class="jxr_linenumber" name="280" href="#280">280</a>           .buildTransitionTable(statePriorityList, <strong class="jxr_keyword">new</strong> ArrayList&lt;Transition&gt;(
-<a class="jxr_linenumber" name="281" href="#281">281</a>               transitionMap.keySet()));
-<a class="jxr_linenumber" name="282" href="#282">282</a>       <strong class="jxr_keyword">for</strong> (String state : transitionTable.keySet())
-<a class="jxr_linenumber" name="283" href="#283">283</a>       {
-<a class="jxr_linenumber" name="284" href="#284">284</a>         record.setMapField(state + <span class="jxr_string">".next"</span>, transitionTable.get(state));
-<a class="jxr_linenumber" name="285" href="#285">285</a>       }
-<a class="jxr_linenumber" name="286" href="#286">286</a>       <strong class="jxr_keyword">for</strong> (String state : stateConstraintMap.keySet())
-<a class="jxr_linenumber" name="287" href="#287">287</a>       {
-<a class="jxr_linenumber" name="288" href="#288">288</a>         HashMap&lt;String, String&gt; metadata = <strong class="jxr_keyword">new</strong> HashMap&lt;String, String&gt;();
-<a class="jxr_linenumber" name="289" href="#289">289</a>         metadata.put(<span class="jxr_string">"count"</span>, stateConstraintMap.get(state));
-<a class="jxr_linenumber" name="290" href="#290">290</a>         record.setMapField(state + <span class="jxr_string">".meta"</span>, metadata);
-<a class="jxr_linenumber" name="291" href="#291">291</a>       }
-<a class="jxr_linenumber" name="292" href="#292">292</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/model/StateModelDefinition.html">StateModelDefinition</a>(record);
-<a class="jxr_linenumber" name="293" href="#293">293</a>     }
-<a class="jxr_linenumber" name="294" href="#294">294</a> 
-<a class="jxr_linenumber" name="295" href="#295">295</a>   }
-<a class="jxr_linenumber" name="296" href="#296">296</a> 
-<a class="jxr_linenumber" name="297" href="#297">297</a> }
+<a class="jxr_linenumber" name="196" href="#196">196</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
+<a class="jxr_linenumber" name="197" href="#197">197</a>     }
+<a class="jxr_linenumber" name="198" href="#198">198</a> 
+<a class="jxr_linenumber" name="199" href="#199">199</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="200" href="#200">200</a> <em class="jxr_javadoccomment">     * Sets the priority to Integer.MAX_VALUE</em>
+<a class="jxr_linenumber" name="201" href="#201">201</a> <em class="jxr_javadoccomment">     * </em>
+<a class="jxr_linenumber" name="202" href="#202">202</a> <em class="jxr_javadoccomment">     * @param state</em>
+<a class="jxr_linenumber" name="203" href="#203">203</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="204" href="#204">204</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/helix/PropertyKey.html">Builder</a> addState(String state)
+<a class="jxr_linenumber" name="205" href="#205">205</a>     {
+<a class="jxr_linenumber" name="206" href="#206">206</a>       addState(state, Integer.MAX_VALUE);
+<a class="jxr_linenumber" name="207" href="#207">207</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
+<a class="jxr_linenumber" name="208" href="#208">208</a>     }
+<a class="jxr_linenumber" name="209" href="#209">209</a> 
+<a class="jxr_linenumber" name="210" href="#210">210</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="211" href="#211">211</a> <em class="jxr_javadoccomment">     * Define all legal transitions between states using this method. Priority</em>
+<a class="jxr_linenumber" name="212" href="#212">212</a> <em class="jxr_javadoccomment">     * is used to order the transitions. Helix tries to maximize the number of</em>
+<a class="jxr_linenumber" name="213" href="#213">213</a> <em class="jxr_javadoccomment">     * transitions that can be fired in parallel without violating the</em>
+<a class="jxr_linenumber" name="214" href="#214">214</a> <em class="jxr_javadoccomment">     * constraint. The transitions are first sorted based on priority and</em>
+<a class="jxr_linenumber" name="215" href="#215">215</a> <em class="jxr_javadoccomment">     * transitions are selected in a greedy way until the constriants are not</em>
+<a class="jxr_linenumber" name="216" href="#216">216</a> <em class="jxr_javadoccomment">     * violated.</em>
+<a class="jxr_linenumber" name="217" href="#217">217</a> <em class="jxr_javadoccomment">     * </em>
+<a class="jxr_linenumber" name="218" href="#218">218</a> <em class="jxr_javadoccomment">     * @param fromState</em>
+<a class="jxr_linenumber" name="219" href="#219">219</a> <em class="jxr_javadoccomment">     * @param toState</em>
+<a class="jxr_linenumber" name="220" href="#220">220</a> <em class="jxr_javadoccomment">     * @param priority</em>
+<a class="jxr_linenumber" name="221" href="#221">221</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="222" href="#222">222</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/helix/PropertyKey.html">Builder</a> addTransition(String fromState, String toState, <strong class="jxr_keyword">int</strong> priority)
+<a class="jxr_linenumber" name="223" href="#223">223</a>     {
+<a class="jxr_linenumber" name="224" href="#224">224</a>       transitionMap.put(<strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/participant/statemachine/Transition.html">Transition</a>(fromState, toState), priority);
+<a class="jxr_linenumber" name="225" href="#225">225</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
+<a class="jxr_linenumber" name="226" href="#226">226</a>     }
+<a class="jxr_linenumber" name="227" href="#227">227</a> 
+<a class="jxr_linenumber" name="228" href="#228">228</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/helix/PropertyKey.html">Builder</a> addTransition(String fromState, String toState)
+<a class="jxr_linenumber" name="229" href="#229">229</a>     {
+<a class="jxr_linenumber" name="230" href="#230">230</a>       addTransition(fromState, toState, Integer.MAX_VALUE);
+<a class="jxr_linenumber" name="231" href="#231">231</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
+<a class="jxr_linenumber" name="232" href="#232">232</a>     }
+<a class="jxr_linenumber" name="233" href="#233">233</a> 
+<a class="jxr_linenumber" name="234" href="#234">234</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/helix/PropertyKey.html">Builder</a> upperBound(String state, <strong class="jxr_keyword">int</strong> upperBound)
+<a class="jxr_linenumber" name="235" href="#235">235</a>     {
+<a class="jxr_linenumber" name="236" href="#236">236</a>       stateConstraintMap.put(state, String.valueOf(upperBound));
+<a class="jxr_linenumber" name="237" href="#237">237</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
+<a class="jxr_linenumber" name="238" href="#238">238</a>     }
+<a class="jxr_linenumber" name="239" href="#239">239</a> 
+<a class="jxr_linenumber" name="240" href="#240">240</a>     <em class="jxr_javadoccomment">/**</em>
+<a class="jxr_linenumber" name="241" href="#241">241</a> <em class="jxr_javadoccomment">     * You can use this to have the bounds dynamically change based on other</em>
+<a class="jxr_linenumber" name="242" href="#242">242</a> <em class="jxr_javadoccomment">     * parameters. &lt;br/&gt;</em>
+<a class="jxr_linenumber" name="243" href="#243">243</a> <em class="jxr_javadoccomment">     * Currently support 2 values &lt;br/&gt;</em>
+<a class="jxr_linenumber" name="244" href="#244">244</a> <em class="jxr_javadoccomment">     * R --&gt; Refers to the number of replicas specified during resource</em>
+<a class="jxr_linenumber" name="245" href="#245">245</a> <em class="jxr_javadoccomment">     * creation. This allows having different replication factor for each</em>
+<a class="jxr_linenumber" name="246" href="#246">246</a> <em class="jxr_javadoccomment">     * resource without having to create a different state machine. &lt;br/&gt;</em>
+<a class="jxr_linenumber" name="247" href="#247">247</a> <em class="jxr_javadoccomment">     * N --&gt; Refers to all nodes in the cluster. Useful for resources that need</em>
+<a class="jxr_linenumber" name="248" href="#248">248</a> <em class="jxr_javadoccomment">     * to exist on all nodes. This way one can add/remove nodes without having</em>
+<a class="jxr_linenumber" name="249" href="#249">249</a> <em class="jxr_javadoccomment">     * the change the bounds.</em>
+<a class="jxr_linenumber" name="250" href="#250">250</a> <em class="jxr_javadoccomment">     * </em>
+<a class="jxr_linenumber" name="251" href="#251">251</a> <em class="jxr_javadoccomment">     * @param state</em>
+<a class="jxr_linenumber" name="252" href="#252">252</a> <em class="jxr_javadoccomment">     * @param bound</em>
+<a class="jxr_linenumber" name="253" href="#253">253</a> <em class="jxr_javadoccomment">     */</em>
+<a class="jxr_linenumber" name="254" href="#254">254</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/helix/PropertyKey.html">Builder</a> dynamicUpperBound(String state, String bound)
+<a class="jxr_linenumber" name="255" href="#255">255</a>     {
+<a class="jxr_linenumber" name="256" href="#256">256</a>       stateConstraintMap.put(state, bound);
+<a class="jxr_linenumber" name="257" href="#257">257</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">this</strong>;
+<a class="jxr_linenumber" name="258" href="#258">258</a>     }
+<a class="jxr_linenumber" name="259" href="#259">259</a> 
+<a class="jxr_linenumber" name="260" href="#260">260</a>     <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/helix/model/StateModelDefinition.html">StateModelDefinition</a> build()
+<a class="jxr_linenumber" name="261" href="#261">261</a>     {
+<a class="jxr_linenumber" name="262" href="#262">262</a>       <a href="../../../../org/apache/helix/ZNRecord.html">ZNRecord</a> record = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/ZNRecord.html">ZNRecord</a>(_statemodelName);
+<a class="jxr_linenumber" name="263" href="#263">263</a>       ArrayList&lt;String&gt; statePriorityList = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;(
+<a class="jxr_linenumber" name="264" href="#264">264</a>           statesMap.keySet());
+<a class="jxr_linenumber" name="265" href="#265">265</a>       Comparator&lt;? <strong class="jxr_keyword">super</strong> String&gt; c1 = <strong class="jxr_keyword">new</strong> Comparator&lt;String&gt;()
+<a class="jxr_linenumber" name="266" href="#266">266</a>       {
+<a class="jxr_linenumber" name="267" href="#267">267</a> 
+<a class="jxr_linenumber" name="268" href="#268">268</a>         @Override
+<a class="jxr_linenumber" name="269" href="#269">269</a>         <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> compare(String o1, String o2)
+<a class="jxr_linenumber" name="270" href="#270">270</a>         {
+<a class="jxr_linenumber" name="271" href="#271">271</a>           <strong class="jxr_keyword">return</strong> statesMap.get(o1).compareTo(statesMap.get(o2));
+<a class="jxr_linenumber" name="272" href="#272">272</a>         }
+<a class="jxr_linenumber" name="273" href="#273">273</a>       };
+<a class="jxr_linenumber" name="274" href="#274">274</a>       Collections.sort(statePriorityList, c1);
+<a class="jxr_linenumber" name="275" href="#275">275</a>       ArrayList&lt;Transition&gt; transitionList = <strong class="jxr_keyword">new</strong> ArrayList&lt;Transition&gt;(
+<a class="jxr_linenumber" name="276" href="#276">276</a>           transitionMap.keySet());
+<a class="jxr_linenumber" name="277" href="#277">277</a> 
+<a class="jxr_linenumber" name="278" href="#278">278</a>       Comparator&lt;? <strong class="jxr_keyword">super</strong> Transition&gt; c2 = <strong class="jxr_keyword">new</strong> Comparator&lt;Transition&gt;()
+<a class="jxr_linenumber" name="279" href="#279">279</a>       {
+<a class="jxr_linenumber" name="280" href="#280">280</a>         @Override
+<a class="jxr_linenumber" name="281" href="#281">281</a>         <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">int</strong> compare(<a href="../../../../org/apache/helix/participant/statemachine/Transition.html">Transition</a> o1, <a href="../../../../org/apache/helix/participant/statemachine/Transition.html">Transition</a> o2)
+<a class="jxr_linenumber" name="282" href="#282">282</a>         {
+<a class="jxr_linenumber" name="283" href="#283">283</a>           <strong class="jxr_keyword">return</strong> transitionMap.get(o1).compareTo(transitionMap.get(o2));
+<a class="jxr_linenumber" name="284" href="#284">284</a>         }
+<a class="jxr_linenumber" name="285" href="#285">285</a>       };
+<a class="jxr_linenumber" name="286" href="#286">286</a>       Collections.sort(transitionList, c2);
+<a class="jxr_linenumber" name="287" href="#287">287</a>       List&lt;String&gt; transitionPriorityList = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;(
+<a class="jxr_linenumber" name="288" href="#288">288</a>           transitionList.size());
+<a class="jxr_linenumber" name="289" href="#289">289</a>       <strong class="jxr_keyword">for</strong> (Transition t : transitionList)
+<a class="jxr_linenumber" name="290" href="#290">290</a>       {
+<a class="jxr_linenumber" name="291" href="#291">291</a>         transitionPriorityList.add(t.toString());
+<a class="jxr_linenumber" name="292" href="#292">292</a>       }
+<a class="jxr_linenumber" name="293" href="#293">293</a> 
+<a class="jxr_linenumber" name="294" href="#294">294</a>       record.setSimpleField(
+<a class="jxr_linenumber" name="295" href="#295">295</a>           StateModelDefinitionProperty.INITIAL_STATE.toString(), initialState);
+<a class="jxr_linenumber" name="296" href="#296">296</a>       record.setListField(
+<a class="jxr_linenumber" name="297" href="#297">297</a>           StateModelDefinitionProperty.STATE_PRIORITY_LIST.toString(),
+<a class="jxr_linenumber" name="298" href="#298">298</a>           statePriorityList);
+<a class="jxr_linenumber" name="299" href="#299">299</a>       record
+<a class="jxr_linenumber" name="300" href="#300">300</a>           .setListField(
+<a class="jxr_linenumber" name="301" href="#301">301</a>               StateModelDefinitionProperty.STATE_TRANSITION_PRIORITYLIST
+<a class="jxr_linenumber" name="302" href="#302">302</a>                   .toString(), transitionPriorityList);
+<a class="jxr_linenumber" name="303" href="#303">303</a>       <a href="../../../../org/apache/helix/participant/statemachine/StateTransitionTableBuilder.html">StateTransitionTableBuilder</a> stateTransitionTableBuilder = <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/participant/statemachine/StateTransitionTableBuilder.html">StateTransitionTableBuilder</a>();
+<a class="jxr_linenumber" name="304" href="#304">304</a>       Map&lt;String, Map&lt;String, String&gt;&gt; transitionTable = stateTransitionTableBuilder
+<a class="jxr_linenumber" name="305" href="#305">305</a>           .buildTransitionTable(statePriorityList, <strong class="jxr_keyword">new</strong> ArrayList&lt;Transition&gt;(
+<a class="jxr_linenumber" name="306" href="#306">306</a>               transitionMap.keySet()));
+<a class="jxr_linenumber" name="307" href="#307">307</a>       <strong class="jxr_keyword">for</strong> (String state : transitionTable.keySet())
+<a class="jxr_linenumber" name="308" href="#308">308</a>       {
+<a class="jxr_linenumber" name="309" href="#309">309</a>         record.setMapField(state + <span class="jxr_string">".next"</span>, transitionTable.get(state));
+<a class="jxr_linenumber" name="310" href="#310">310</a>       }
+<a class="jxr_linenumber" name="311" href="#311">311</a>       <strong class="jxr_keyword">for</strong> (String state : statePriorityList)
+<a class="jxr_linenumber" name="312" href="#312">312</a>       {
+<a class="jxr_linenumber" name="313" href="#313">313</a>         HashMap&lt;String, String&gt; metadata = <strong class="jxr_keyword">new</strong> HashMap&lt;String, String&gt;();
+<a class="jxr_linenumber" name="314" href="#314">314</a>         <strong class="jxr_keyword">if</strong> (stateConstraintMap.get(state) != <strong class="jxr_keyword">null</strong>)
+<a class="jxr_linenumber" name="315" href="#315">315</a>         {
+<a class="jxr_linenumber" name="316" href="#316">316</a>           metadata.put(<span class="jxr_string">"count"</span>, stateConstraintMap.get(state));
+<a class="jxr_linenumber" name="317" href="#317">317</a>         } <strong class="jxr_keyword">else</strong>
+<a class="jxr_linenumber" name="318" href="#318">318</a>         {
+<a class="jxr_linenumber" name="319" href="#319">319</a>           metadata.put(<span class="jxr_string">"count"</span>, <span class="jxr_string">"-1"</span>);
+<a class="jxr_linenumber" name="320" href="#320">320</a>         }
+<a class="jxr_linenumber" name="321" href="#321">321</a>         record.setMapField(state + <span class="jxr_string">".meta"</span>, metadata);
+<a class="jxr_linenumber" name="322" href="#322">322</a>       }
+<a class="jxr_linenumber" name="323" href="#323">323</a>       <strong class="jxr_keyword">return</strong> <strong class="jxr_keyword">new</strong> <a href="../../../../org/apache/helix/model/StateModelDefinition.html">StateModelDefinition</a>(record);
+<a class="jxr_linenumber" name="324" href="#324">324</a>     }
+<a class="jxr_linenumber" name="325" href="#325">325</a> 
+<a class="jxr_linenumber" name="326" href="#326">326</a>   }
+<a class="jxr_linenumber" name="327" href="#327">327</a> 
+<a class="jxr_linenumber" name="328" href="#328">328</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/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/model/package-frame.html?rev=1406467&r1=1406466&r2=1406467&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 Wed Nov  7 05:11:27 2012
@@ -31,6 +31,9 @@
             	<a href="Message.html" target="classFrame">Attributes</a>
           	</li>
           	          	<li>
+            	<a href="IdealState.html" target="classFrame">AutoModeBuilder</a>
+          	</li>
+          	          	<li>
             	<a href="StateModelDefinition.html" target="classFrame">Builder</a>
           	</li>
           	          	<li>
@@ -55,6 +58,9 @@
             	<a href="CurrentState.html" target="classFrame">CurrentStateProperty</a>
           	</li>
           	          	<li>
+            	<a href="IdealState.html" target="classFrame">CustomBuilder</a>
+          	</li>
+          	          	<li>
             	<a href="Error.html" target="classFrame">Error</a>
           	</li>
           	          	<li>
@@ -118,6 +124,9 @@
             	<a href="ResourceAssignment.html" target="classFrame">ResourceAssignment</a>
           	</li>
           	          	<li>
+            	<a href="IdealState.html" target="classFrame">SemiAutoBuilder</a>
+          	</li>
+          	          	<li>
             	<a href="StateModelDefinition.html" target="classFrame">StateModelDefinition</a>
           	</li>
           	          	<li>

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=1406467&r1=1406466&r2=1406467&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 Wed Nov  7 05:11:27 2012
@@ -62,6 +62,11 @@
             	</tr>
 				            	<tr>
               		<td>
+                		<a href="IdealState.html" target="classFrame">AutoModeBuilder</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
                 		<a href="StateModelDefinition.html" target="classFrame">Builder</a>
               		</td>
             	</tr>
@@ -102,6 +107,11 @@
             	</tr>
 				            	<tr>
               		<td>
+                		<a href="IdealState.html" target="classFrame">CustomBuilder</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
                 		<a href="Error.html" target="classFrame">Error</a>
               		</td>
             	</tr>
@@ -207,6 +217,11 @@
             	</tr>
 				            	<tr>
               		<td>
+                		<a href="IdealState.html" target="classFrame">SemiAutoBuilder</a>
+              		</td>
+            	</tr>
+				            	<tr>
+              		<td>
                 		<a href="StateModelDefinition.html" target="classFrame">StateModelDefinition</a>
               		</td>
             	</tr>

Modified: incubator/helix/site-content/xref/org/apache/helix/package-frame.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/package-frame.html?rev=1406467&r1=1406466&r2=1406467&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/package-frame.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/package-frame.html Wed Nov  7 05:11:27 2012
@@ -187,7 +187,7 @@
             	<a href="StopServiceResource.html" target="classFrame">StopThread</a>
           	</li>
           	          	<li>
-            	<a href="PropertyType.html" target="classFrame">Type</a>
+            	<a href="NotificationContext.html" target="classFrame">Type</a>
           	</li>
           	          	<li>
             	<a href="ZNRecord.html" target="classFrame">ZNRecord</a>

Modified: incubator/helix/site-content/xref/org/apache/helix/package-summary.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/package-summary.html?rev=1406467&r1=1406466&r2=1406467&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/package-summary.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/package-summary.html Wed Nov  7 05:11:27 2012
@@ -322,7 +322,7 @@
             	</tr>
 				            	<tr>
               		<td>
-                		<a href="PropertyType.html" target="classFrame">Type</a>
+                		<a href="NotificationContext.html" target="classFrame">Type</a>
               		</td>
             	</tr>
 				            	<tr>

Modified: incubator/helix/site-content/xref/org/apache/helix/participant/statemachine/StateTransitionTableBuilder.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/participant/statemachine/StateTransitionTableBuilder.html?rev=1406467&r1=1406466&r2=1406467&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/participant/statemachine/StateTransitionTableBuilder.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/participant/statemachine/StateTransitionTableBuilder.html Wed Nov  7 05:11:27 2012
@@ -161,32 +161,38 @@
 <a class="jxr_linenumber" name="151" href="#151">151</a>               &amp;&amp; (pathVal1 + pathVal2) &lt; pathValCur)
 <a class="jxr_linenumber" name="152" href="#152">152</a>           {
 <a class="jxr_linenumber" name="153" href="#153">153</a>             setPathVal(path, fromState, toState, pathVal1 + pathVal2);
-<a class="jxr_linenumber" name="154" href="#154">154</a>             setNext(next, fromState, toState, intermediateState);
+<a class="jxr_linenumber" name="154" href="#154">154</a>             setNext(next, fromState, toState, getNext(next, fromState, intermediateState));
 <a class="jxr_linenumber" name="155" href="#155">155</a>           }
 <a class="jxr_linenumber" name="156" href="#156">156</a>         }
 <a class="jxr_linenumber" name="157" href="#157">157</a>       }
 <a class="jxr_linenumber" name="158" href="#158">158</a>     }
-<a class="jxr_linenumber" name="159" href="#159">159</a> 
-<a class="jxr_linenumber" name="160" href="#160">160</a>     <strong class="jxr_keyword">return</strong> next;
-<a class="jxr_linenumber" name="161" href="#161">161</a>   }
-<a class="jxr_linenumber" name="162" href="#162">162</a> 
-<a class="jxr_linenumber" name="163" href="#163">163</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> main(String[] args)
-<a class="jxr_linenumber" name="164" href="#164">164</a>   {
-<a class="jxr_linenumber" name="165" href="#165">165</a>     List&lt;String&gt; states = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;();
-<a class="jxr_linenumber" name="166" href="#166">166</a>     states.add(<span class="jxr_string">"OFFLINE"</span>);
-<a class="jxr_linenumber" name="167" href="#167">167</a>     states.add(<span class="jxr_string">"SLAVE"</span>);
-<a class="jxr_linenumber" name="168" href="#168">168</a>     states.add(<span class="jxr_string">"MASTER"</span>);
-<a class="jxr_linenumber" name="169" href="#169">169</a> 
-<a class="jxr_linenumber" name="170" href="#170">170</a>     List&lt;Transition&gt; transitions = <strong class="jxr_keyword">new</strong> ArrayList&lt;Transition&gt;();
-<a class="jxr_linenumber" name="171" href="#171">171</a>     transitions.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/model/Transition.html">Transition</a>(<span class="jxr_string">"OFFLINE"</span>, <span class="jxr_string">"SLAVE"</span>));
-<a class="jxr_linenumber" name="172" href="#172">172</a>     transitions.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/model/Transition.html">Transition</a>(<span class="jxr_string">"SLAVE"</span>, <span class="jxr_string">"MASTER"</span>));
-<a class="jxr_linenumber" name="173" href="#173">173</a>     transitions.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/model/Transition.html">Transition</a>(<span class="jxr_string">"MASTER"</span>, <span class="jxr_string">"SLAVE"</span>));
+<a class="jxr_linenumber" name="159" href="#159">159</a>     <strong class="jxr_keyword">return</strong> next;
+<a class="jxr_linenumber" name="160" href="#160">160</a>   }
+<a class="jxr_linenumber" name="161" href="#161">161</a> 
+<a class="jxr_linenumber" name="162" href="#162">162</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">void</strong> main(String[] args)
+<a class="jxr_linenumber" name="163" href="#163">163</a>   {
+<a class="jxr_linenumber" name="164" href="#164">164</a>     List&lt;String&gt; states = <strong class="jxr_keyword">new</strong> ArrayList&lt;String&gt;();
+<a class="jxr_linenumber" name="165" href="#165">165</a>     <em class="jxr_comment">//[MASTER, SLAVE, DROPPED, OFFLINE]</em>
+<a class="jxr_linenumber" name="166" href="#166">166</a>     <em class="jxr_comment">//[SLAVE-OFFLINE, OFFLINE-SLAVE, SLAVE-MASTER, OFFLINE-DROPPED, MASTER-SLAVE]</em>
+<a class="jxr_linenumber" name="167" href="#167">167</a>     states.add(<span class="jxr_string">"MASTER"</span>);
+<a class="jxr_linenumber" name="168" href="#168">168</a>     states.add(<span class="jxr_string">"SLAVE"</span>);
+<a class="jxr_linenumber" name="169" href="#169">169</a>     states.add(<span class="jxr_string">"DROPPED"</span>);
+<a class="jxr_linenumber" name="170" href="#170">170</a>     states.add(<span class="jxr_string">"OFFLINE"</span>);
+<a class="jxr_linenumber" name="171" href="#171">171</a> 
+<a class="jxr_linenumber" name="172" href="#172">172</a> 
+<a class="jxr_linenumber" name="173" href="#173">173</a>     List&lt;Transition&gt; transitions = <strong class="jxr_keyword">new</strong> ArrayList&lt;Transition&gt;();
 <a class="jxr_linenumber" name="174" href="#174">174</a>     transitions.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/model/Transition.html">Transition</a>(<span class="jxr_string">"SLAVE"</span>, <span class="jxr_string">"OFFLINE"</span>));
-<a class="jxr_linenumber" name="175" href="#175">175</a>     <a href="../../../../../org/apache/helix/participant/statemachine/StateTransitionTableBuilder.html">StateTransitionTableBuilder</a> builder = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/participant/statemachine/StateTransitionTableBuilder.html">StateTransitionTableBuilder</a>();
-<a class="jxr_linenumber" name="176" href="#176">176</a>     Map&lt;String, Map&lt;String, String&gt;&gt; next = builder.buildTransitionTable(states, transitions);
-<a class="jxr_linenumber" name="177" href="#177">177</a>     printPath(states, next);
-<a class="jxr_linenumber" name="178" href="#178">178</a>   }
-<a class="jxr_linenumber" name="179" href="#179">179</a> }
+<a class="jxr_linenumber" name="175" href="#175">175</a>     transitions.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/model/Transition.html">Transition</a>(<span class="jxr_string">"OFFLINE"</span>, <span class="jxr_string">"SLAVE"</span>));
+<a class="jxr_linenumber" name="176" href="#176">176</a>     transitions.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/model/Transition.html">Transition</a>(<span class="jxr_string">"SLAVE"</span>, <span class="jxr_string">"MASTER"</span>));
+<a class="jxr_linenumber" name="177" href="#177">177</a>     transitions.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/model/Transition.html">Transition</a>(<span class="jxr_string">"OFFLINE"</span>, <span class="jxr_string">"DROPPED"</span>));
+<a class="jxr_linenumber" name="178" href="#178">178</a>     transitions.add(<strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/model/Transition.html">Transition</a>(<span class="jxr_string">"MASTER"</span>, <span class="jxr_string">"SLAVE"</span>));
+<a class="jxr_linenumber" name="179" href="#179">179</a> 
+<a class="jxr_linenumber" name="180" href="#180">180</a>     <a href="../../../../../org/apache/helix/participant/statemachine/StateTransitionTableBuilder.html">StateTransitionTableBuilder</a> builder = <strong class="jxr_keyword">new</strong> <a href="../../../../../org/apache/helix/participant/statemachine/StateTransitionTableBuilder.html">StateTransitionTableBuilder</a>();
+<a class="jxr_linenumber" name="181" href="#181">181</a>     Map&lt;String, Map&lt;String, String&gt;&gt; next = builder.buildTransitionTable(states, transitions);
+<a class="jxr_linenumber" name="182" href="#182">182</a>     System.out.println(next);
+<a class="jxr_linenumber" name="183" href="#183">183</a>     printPath(states, next);
+<a class="jxr_linenumber" name="184" href="#184">184</a>   }
+<a class="jxr_linenumber" name="185" href="#185">185</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/tools/ZKDumper.html
URL: http://svn.apache.org/viewvc/incubator/helix/site-content/xref/org/apache/helix/tools/ZKDumper.html?rev=1406467&r1=1406466&r2=1406467&view=diff
==============================================================================
--- incubator/helix/site-content/xref/org/apache/helix/tools/ZKDumper.html (original)
+++ incubator/helix/site-content/xref/org/apache/helix/tools/ZKDumper.html Wed Nov  7 05:11:27 2012
@@ -64,7 +64,7 @@
 <a class="jxr_linenumber" name="54" href="#54">54</a>    <strong class="jxr_keyword">static</strong> Options options;
 <a class="jxr_linenumber" name="55" href="#55">55</a>    <strong class="jxr_keyword">private</strong> String suffix = <span class="jxr_string">""</span>;
 <a class="jxr_linenumber" name="56" href="#56">56</a>    <em class="jxr_comment">//enable by default</em>
-<a class="jxr_linenumber" name="57" href="#57">57</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> removeSuffix=<strong class="jxr_keyword">true</strong>;
+<a class="jxr_linenumber" name="57" href="#57">57</a>    <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">boolean</strong> removeSuffix=false;
 <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> String getSuffix()
 <a class="jxr_linenumber" name="60" href="#60">60</a>    {



Mime
View raw message