You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@giraph.apache.org by ek...@apache.org on 2012/08/16 03:32:58 UTC

svn commit: r1373684 [34/35] - in /giraph/site: ./ apidocs/ apidocs/org/apache/giraph/ apidocs/org/apache/giraph/benchmark/ apidocs/org/apache/giraph/benchmark/class-use/ apidocs/org/apache/giraph/bsp/ apidocs/org/apache/giraph/bsp/class-use/ apidocs/o...

Modified: giraph/site/xref/org/apache/giraph/graph/GiraphJob.html
URL: http://svn.apache.org/viewvc/giraph/site/xref/org/apache/giraph/graph/GiraphJob.html?rev=1373684&r1=1373683&r2=1373684&view=diff
==============================================================================
--- giraph/site/xref/org/apache/giraph/graph/GiraphJob.html (original)
+++ giraph/site/xref/org/apache/giraph/graph/GiraphJob.html Thu Aug 16 01:32:41 2012
@@ -169,555 +169,561 @@
 <a name="159" href="#159">159</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default is to use RPC, not netty */</em>
 <a name="160" href="#160">160</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> USE_NETTY_DEFAULT = false;
 <a name="161" href="#161">161</a> 
-<a name="162" href="#162">162</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Initial port to start using for the RPC communication */</em>
-<a name="163" href="#163">163</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String RPC_INITIAL_PORT = <span class="jxr_string">"giraph.rpcInitialPort"</span>;
-<a name="164" href="#164">164</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default port to start using for the RPC communication */</em>
-<a name="165" href="#165">165</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> RPC_INITIAL_PORT_DEFAULT = 30000;
-<a name="166" href="#166">166</a> 
-<a name="167" href="#167">167</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Maximum bind attempts for different RPC ports */</em>
-<a name="168" href="#168">168</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MAX_RPC_PORT_BIND_ATTEMPTS =
-<a name="169" href="#169">169</a>       <span class="jxr_string">"giraph.maxRpcPortBindAttempts"</span>;
-<a name="170" href="#170">170</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default maximum bind attempts for different RPC ports */</em>
-<a name="171" href="#171">171</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> MAX_RPC_PORT_BIND_ATTEMPTS_DEFAULT = 20;
-<a name="172" href="#172">172</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="173" href="#173">173</a> <em class="jxr_javadoccomment">   * Fail first RPC port binding attempt, simulate binding failure</em>
-<a name="174" href="#174">174</a> <em class="jxr_javadoccomment">   * on real grid testing</em>
-<a name="175" href="#175">175</a> <em class="jxr_javadoccomment">   */</em>
-<a name="176" href="#176">176</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String FAIL_FIRST_RPC_PORT_BIND_ATTEMPT =
-<a name="177" href="#177">177</a>       <span class="jxr_string">"giraph.failFirstRpcPortBindAttempt"</span>;
-<a name="178" href="#178">178</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default fail first RPC port binding attempt flag */</em>
-<a name="179" href="#179">179</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> FAIL_FIRST_RPC_PORT_BIND_ATTEMPT_DEFAULT = false;
-<a name="180" href="#180">180</a> 
-<a name="181" href="#181">181</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Maximum number of RPC handlers */</em>
-<a name="182" href="#182">182</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String RPC_NUM_HANDLERS = <span class="jxr_string">"giraph.rpcNumHandlers"</span>;
-<a name="183" href="#183">183</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default maximum number of RPC handlers */</em>
-<a name="184" href="#184">184</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> RPC_NUM_HANDLERS_DEFAULT = 100;
-<a name="185" href="#185">185</a> 
-<a name="186" href="#186">186</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Client send buffer size */</em>
-<a name="187" href="#187">187</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CLIENT_SEND_BUFFER_SIZE =
-<a name="188" href="#188">188</a>       <span class="jxr_string">"giraph.clientSendBufferSize"</span>;
-<a name="189" href="#189">189</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default client send buffer size of 0.5 MB */</em>
-<a name="190" href="#190">190</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_CLIENT_SEND_BUFFER_SIZE = 512 * 1024;
+<a name="162" href="#162">162</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Netty max connection failures */</em>
+<a name="163" href="#163">163</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String NETTY_MAX_CONNECTION_FAILURES =
+<a name="164" href="#164">164</a>       <span class="jxr_string">"giraph.nettyMaxConnectionFailures"</span>;
+<a name="165" href="#165">165</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default Netty max connection failures */</em>
+<a name="166" href="#166">166</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> NETTY_MAX_CONNECTION_FAILURES_DEFAULT = 1000;
+<a name="167" href="#167">167</a> 
+<a name="168" href="#168">168</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Initial port to start using for the RPC communication */</em>
+<a name="169" href="#169">169</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String RPC_INITIAL_PORT = <span class="jxr_string">"giraph.rpcInitialPort"</span>;
+<a name="170" href="#170">170</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default port to start using for the RPC communication */</em>
+<a name="171" href="#171">171</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> RPC_INITIAL_PORT_DEFAULT = 30000;
+<a name="172" href="#172">172</a> 
+<a name="173" href="#173">173</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Maximum bind attempts for different RPC ports */</em>
+<a name="174" href="#174">174</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MAX_RPC_PORT_BIND_ATTEMPTS =
+<a name="175" href="#175">175</a>       <span class="jxr_string">"giraph.maxRpcPortBindAttempts"</span>;
+<a name="176" href="#176">176</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default maximum bind attempts for different RPC ports */</em>
+<a name="177" href="#177">177</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> MAX_RPC_PORT_BIND_ATTEMPTS_DEFAULT = 20;
+<a name="178" href="#178">178</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="179" href="#179">179</a> <em class="jxr_javadoccomment">   * Fail first RPC port binding attempt, simulate binding failure</em>
+<a name="180" href="#180">180</a> <em class="jxr_javadoccomment">   * on real grid testing</em>
+<a name="181" href="#181">181</a> <em class="jxr_javadoccomment">   */</em>
+<a name="182" href="#182">182</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String FAIL_FIRST_RPC_PORT_BIND_ATTEMPT =
+<a name="183" href="#183">183</a>       <span class="jxr_string">"giraph.failFirstRpcPortBindAttempt"</span>;
+<a name="184" href="#184">184</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default fail first RPC port binding attempt flag */</em>
+<a name="185" href="#185">185</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> FAIL_FIRST_RPC_PORT_BIND_ATTEMPT_DEFAULT = false;
+<a name="186" href="#186">186</a> 
+<a name="187" href="#187">187</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Maximum number of RPC handlers */</em>
+<a name="188" href="#188">188</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String RPC_NUM_HANDLERS = <span class="jxr_string">"giraph.rpcNumHandlers"</span>;
+<a name="189" href="#189">189</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default maximum number of RPC handlers */</em>
+<a name="190" href="#190">190</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> RPC_NUM_HANDLERS_DEFAULT = 100;
 <a name="191" href="#191">191</a> 
-<a name="192" href="#192">192</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Client receive buffer size */</em>
-<a name="193" href="#193">193</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CLIENT_RECEIVE_BUFFER_SIZE =
-<a name="194" href="#194">194</a>       <span class="jxr_string">"giraph.clientReceiveBufferSize"</span>;
-<a name="195" href="#195">195</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default client receive buffer size of 32 k */</em>
-<a name="196" href="#196">196</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_CLIENT_RECEIVE_BUFFER_SIZE = 32 * 1024;
+<a name="192" href="#192">192</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Client send buffer size */</em>
+<a name="193" href="#193">193</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CLIENT_SEND_BUFFER_SIZE =
+<a name="194" href="#194">194</a>       <span class="jxr_string">"giraph.clientSendBufferSize"</span>;
+<a name="195" href="#195">195</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default client send buffer size of 0.5 MB */</em>
+<a name="196" href="#196">196</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_CLIENT_SEND_BUFFER_SIZE = 512 * 1024;
 <a name="197" href="#197">197</a> 
-<a name="198" href="#198">198</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Server send buffer size */</em>
-<a name="199" href="#199">199</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SERVER_SEND_BUFFER_SIZE =
-<a name="200" href="#200">200</a>       <span class="jxr_string">"giraph.serverSendBufferSize"</span>;
-<a name="201" href="#201">201</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default server send buffer size of 32 k */</em>
-<a name="202" href="#202">202</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_SERVER_SEND_BUFFER_SIZE = 32 * 1024;
+<a name="198" href="#198">198</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Client receive buffer size */</em>
+<a name="199" href="#199">199</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CLIENT_RECEIVE_BUFFER_SIZE =
+<a name="200" href="#200">200</a>       <span class="jxr_string">"giraph.clientReceiveBufferSize"</span>;
+<a name="201" href="#201">201</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default client receive buffer size of 32 k */</em>
+<a name="202" href="#202">202</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_CLIENT_RECEIVE_BUFFER_SIZE = 32 * 1024;
 <a name="203" href="#203">203</a> 
-<a name="204" href="#204">204</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Server receive buffer size */</em>
-<a name="205" href="#205">205</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SERVER_RECEIVE_BUFFER_SIZE =
-<a name="206" href="#206">206</a>       <span class="jxr_string">"giraph.serverReceiveBufferSize"</span>;
-<a name="207" href="#207">207</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default server receive buffer size of 0.5 MB */</em>
-<a name="208" href="#208">208</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_SERVER_RECEIVE_BUFFER_SIZE = 512 * 1024;
+<a name="204" href="#204">204</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Server send buffer size */</em>
+<a name="205" href="#205">205</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SERVER_SEND_BUFFER_SIZE =
+<a name="206" href="#206">206</a>       <span class="jxr_string">"giraph.serverSendBufferSize"</span>;
+<a name="207" href="#207">207</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default server send buffer size of 32 k */</em>
+<a name="208" href="#208">208</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_SERVER_SEND_BUFFER_SIZE = 32 * 1024;
 <a name="209" href="#209">209</a> 
-<a name="210" href="#210">210</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Maximum number of messages per peer before flush */</em>
-<a name="211" href="#211">211</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MSG_SIZE = <span class="jxr_string">"giraph.msgSize"</span>;
-<a name="212" href="#212">212</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default maximum number of messages per peer before flush */</em>
-<a name="213" href="#213">213</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> MSG_SIZE_DEFAULT = 2000;
-<a name="214" href="#214">214</a> 
-<a name="215" href="#215">215</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Maximum number of mutations per partition before flush */</em>
-<a name="216" href="#216">216</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MAX_MUTATIONS_PER_REQUEST =
-<a name="217" href="#217">217</a>       <span class="jxr_string">"giraph.maxMutationsPerRequest"</span>;
-<a name="218" href="#218">218</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default maximum number of mutations per partition before flush */</em>
-<a name="219" href="#219">219</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> MAX_MUTATIONS_PER_REQUEST_DEFAULT = 100;
+<a name="210" href="#210">210</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Server receive buffer size */</em>
+<a name="211" href="#211">211</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SERVER_RECEIVE_BUFFER_SIZE =
+<a name="212" href="#212">212</a>       <span class="jxr_string">"giraph.serverReceiveBufferSize"</span>;
+<a name="213" href="#213">213</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default server receive buffer size of 0.5 MB */</em>
+<a name="214" href="#214">214</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_SERVER_RECEIVE_BUFFER_SIZE = 512 * 1024;
+<a name="215" href="#215">215</a> 
+<a name="216" href="#216">216</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Maximum number of messages per peer before flush */</em>
+<a name="217" href="#217">217</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MSG_SIZE = <span class="jxr_string">"giraph.msgSize"</span>;
+<a name="218" href="#218">218</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default maximum number of messages per peer before flush */</em>
+<a name="219" href="#219">219</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> MSG_SIZE_DEFAULT = 2000;
 <a name="220" href="#220">220</a> 
-<a name="221" href="#221">221</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Maximum number of messages that can be bulk sent during a flush */</em>
-<a name="222" href="#222">222</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MAX_MESSAGES_PER_FLUSH_PUT =
-<a name="223" href="#223">223</a>       <span class="jxr_string">"giraph.maxMessagesPerFlushPut"</span>;
-<a name="224" href="#224">224</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default number of messages that can be bulk sent during a flush */</em>
-<a name="225" href="#225">225</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_MAX_MESSAGES_PER_FLUSH_PUT = 2000;
+<a name="221" href="#221">221</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Maximum number of mutations per partition before flush */</em>
+<a name="222" href="#222">222</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MAX_MUTATIONS_PER_REQUEST =
+<a name="223" href="#223">223</a>       <span class="jxr_string">"giraph.maxMutationsPerRequest"</span>;
+<a name="224" href="#224">224</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default maximum number of mutations per partition before flush */</em>
+<a name="225" href="#225">225</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> MAX_MUTATIONS_PER_REQUEST_DEFAULT = 100;
 <a name="226" href="#226">226</a> 
-<a name="227" href="#227">227</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Number of channels used per server */</em>
-<a name="228" href="#228">228</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CHANNELS_PER_SERVER =
-<a name="229" href="#229">229</a>       <span class="jxr_string">"giraph.channelsPerServer"</span>;
-<a name="230" href="#230">230</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default number of channels used per server of 1 */</em>
-<a name="231" href="#231">231</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_CHANNELS_PER_SERVER = 1;
+<a name="227" href="#227">227</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Maximum number of messages that can be bulk sent during a flush */</em>
+<a name="228" href="#228">228</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MAX_MESSAGES_PER_FLUSH_PUT =
+<a name="229" href="#229">229</a>       <span class="jxr_string">"giraph.maxMessagesPerFlushPut"</span>;
+<a name="230" href="#230">230</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default number of messages that can be bulk sent during a flush */</em>
+<a name="231" href="#231">231</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_MAX_MESSAGES_PER_FLUSH_PUT = 2000;
 <a name="232" href="#232">232</a> 
-<a name="233" href="#233">233</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Number of flush threads per peer */</em>
-<a name="234" href="#234">234</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MSG_NUM_FLUSH_THREADS =
-<a name="235" href="#235">235</a>       <span class="jxr_string">"giraph.msgNumFlushThreads"</span>;
-<a name="236" href="#236">236</a> 
-<a name="237" href="#237">237</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Number of poll attempts prior to failing the job (int) */</em>
-<a name="238" href="#238">238</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String POLL_ATTEMPTS = <span class="jxr_string">"giraph.pollAttempts"</span>;
-<a name="239" href="#239">239</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default poll attempts */</em>
-<a name="240" href="#240">240</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> POLL_ATTEMPTS_DEFAULT = 10;
-<a name="241" href="#241">241</a> 
-<a name="242" href="#242">242</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Number of minimum vertices in each vertex range */</em>
-<a name="243" href="#243">243</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MIN_VERTICES_PER_RANGE =
-<a name="244" href="#244">244</a>       <span class="jxr_string">"giraph.minVerticesPerRange"</span>;
-<a name="245" href="#245">245</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default number of minimum vertices in each vertex range */</em>
-<a name="246" href="#246">246</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> MIN_VERTICES_PER_RANGE_DEFAULT = 3;
+<a name="233" href="#233">233</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Number of channels used per server */</em>
+<a name="234" href="#234">234</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CHANNELS_PER_SERVER =
+<a name="235" href="#235">235</a>       <span class="jxr_string">"giraph.channelsPerServer"</span>;
+<a name="236" href="#236">236</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default number of channels used per server of 1 */</em>
+<a name="237" href="#237">237</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_CHANNELS_PER_SERVER = 1;
+<a name="238" href="#238">238</a> 
+<a name="239" href="#239">239</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Number of flush threads per peer */</em>
+<a name="240" href="#240">240</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MSG_NUM_FLUSH_THREADS =
+<a name="241" href="#241">241</a>       <span class="jxr_string">"giraph.msgNumFlushThreads"</span>;
+<a name="242" href="#242">242</a> 
+<a name="243" href="#243">243</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Number of poll attempts prior to failing the job (int) */</em>
+<a name="244" href="#244">244</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String POLL_ATTEMPTS = <span class="jxr_string">"giraph.pollAttempts"</span>;
+<a name="245" href="#245">245</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default poll attempts */</em>
+<a name="246" href="#246">246</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> POLL_ATTEMPTS_DEFAULT = 10;
 <a name="247" href="#247">247</a> 
-<a name="248" href="#248">248</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Minimum stragglers of the superstep before printing them out */</em>
-<a name="249" href="#249">249</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PARTITION_LONG_TAIL_MIN_PRINT =
-<a name="250" href="#250">250</a>       <span class="jxr_string">"giraph.partitionLongTailMinPrint"</span>;
-<a name="251" href="#251">251</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Only print stragglers with one as a default */</em>
-<a name="252" href="#252">252</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> PARTITION_LONG_TAIL_MIN_PRINT_DEFAULT = 1;
+<a name="248" href="#248">248</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Number of minimum vertices in each vertex range */</em>
+<a name="249" href="#249">249</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MIN_VERTICES_PER_RANGE =
+<a name="250" href="#250">250</a>       <span class="jxr_string">"giraph.minVerticesPerRange"</span>;
+<a name="251" href="#251">251</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default number of minimum vertices in each vertex range */</em>
+<a name="252" href="#252">252</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> MIN_VERTICES_PER_RANGE_DEFAULT = 3;
 <a name="253" href="#253">253</a> 
-<a name="254" href="#254">254</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Use superstep counters? (boolean) */</em>
-<a name="255" href="#255">255</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String USE_SUPERSTEP_COUNTERS =
-<a name="256" href="#256">256</a>       <span class="jxr_string">"giraph.useSuperstepCounters"</span>;
-<a name="257" href="#257">257</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default is to use the superstep counters */</em>
-<a name="258" href="#258">258</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> USE_SUPERSTEP_COUNTERS_DEFAULT = <strong class="jxr_keyword">true</strong>;
+<a name="254" href="#254">254</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Minimum stragglers of the superstep before printing them out */</em>
+<a name="255" href="#255">255</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String PARTITION_LONG_TAIL_MIN_PRINT =
+<a name="256" href="#256">256</a>       <span class="jxr_string">"giraph.partitionLongTailMinPrint"</span>;
+<a name="257" href="#257">257</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Only print stragglers with one as a default */</em>
+<a name="258" href="#258">258</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> PARTITION_LONG_TAIL_MIN_PRINT_DEFAULT = 1;
 <a name="259" href="#259">259</a> 
-<a name="260" href="#260">260</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="261" href="#261">261</a> <em class="jxr_javadoccomment">   * Set the multiplicative factor of how many partitions to create from</em>
-<a name="262" href="#262">262</a> <em class="jxr_javadoccomment">   * a single InputSplit based on the number of total InputSplits.  For</em>
-<a name="263" href="#263">263</a> <em class="jxr_javadoccomment">   * example, if there are 10 total InputSplits and this is set to 0.5, then</em>
-<a name="264" href="#264">264</a> <em class="jxr_javadoccomment">   * you will get 0.5 * 10 = 5 partitions for every InputSplit (given that the</em>
-<a name="265" href="#265">265</a> <em class="jxr_javadoccomment">   * minimum size is met).</em>
-<a name="266" href="#266">266</a> <em class="jxr_javadoccomment">   */</em>
-<a name="267" href="#267">267</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TOTAL_INPUT_SPLIT_MULTIPLIER =
-<a name="268" href="#268">268</a>       <span class="jxr_string">"giraph.totalInputSplitMultiplier"</span>;
-<a name="269" href="#269">269</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default total input split multiplier */</em>
-<a name="270" href="#270">270</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">float</strong> TOTAL_INPUT_SPLIT_MULTIPLIER_DEFAULT = 0.5f;
-<a name="271" href="#271">271</a> 
-<a name="272" href="#272">272</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="273" href="#273">273</a> <em class="jxr_javadoccomment">   * Input split sample percent - Used only for sampling and testing, rather</em>
-<a name="274" href="#274">274</a> <em class="jxr_javadoccomment">   * than an actual job.  The idea is that to test, you might only want a</em>
-<a name="275" href="#275">275</a> <em class="jxr_javadoccomment">   * fraction of the actual input splits from your VertexInputFormat to</em>
-<a name="276" href="#276">276</a> <em class="jxr_javadoccomment">   * load (values should be [0, 100]).</em>
-<a name="277" href="#277">277</a> <em class="jxr_javadoccomment">   */</em>
-<a name="278" href="#278">278</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String INPUT_SPLIT_SAMPLE_PERCENT =
-<a name="279" href="#279">279</a>       <span class="jxr_string">"giraph.inputSplitSamplePercent"</span>;
-<a name="280" href="#280">280</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default is to use all the input splits */</em>
-<a name="281" href="#281">281</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">float</strong> INPUT_SPLIT_SAMPLE_PERCENT_DEFAULT = 100f;
-<a name="282" href="#282">282</a> 
-<a name="283" href="#283">283</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="284" href="#284">284</a> <em class="jxr_javadoccomment">   * To limit outlier input splits from producing too many vertices or to</em>
-<a name="285" href="#285">285</a> <em class="jxr_javadoccomment">   * help with testing, the number of vertices loaded from an input split can</em>
-<a name="286" href="#286">286</a> <em class="jxr_javadoccomment">   * be limited.  By default, everything is loaded.</em>
-<a name="287" href="#287">287</a> <em class="jxr_javadoccomment">   */</em>
-<a name="288" href="#288">288</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String INPUT_SPLIT_MAX_VERTICES =
-<a name="289" href="#289">289</a>       <span class="jxr_string">"giraph.InputSplitMaxVertices"</span>;
-<a name="290" href="#290">290</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="291" href="#291">291</a> <em class="jxr_javadoccomment">   * Default is that all the vertices are to be loaded from the input</em>
-<a name="292" href="#292">292</a> <em class="jxr_javadoccomment">   * split</em>
+<a name="260" href="#260">260</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Use superstep counters? (boolean) */</em>
+<a name="261" href="#261">261</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String USE_SUPERSTEP_COUNTERS =
+<a name="262" href="#262">262</a>       <span class="jxr_string">"giraph.useSuperstepCounters"</span>;
+<a name="263" href="#263">263</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default is to use the superstep counters */</em>
+<a name="264" href="#264">264</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> USE_SUPERSTEP_COUNTERS_DEFAULT = <strong class="jxr_keyword">true</strong>;
+<a name="265" href="#265">265</a> 
+<a name="266" href="#266">266</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="267" href="#267">267</a> <em class="jxr_javadoccomment">   * Set the multiplicative factor of how many partitions to create from</em>
+<a name="268" href="#268">268</a> <em class="jxr_javadoccomment">   * a single InputSplit based on the number of total InputSplits.  For</em>
+<a name="269" href="#269">269</a> <em class="jxr_javadoccomment">   * example, if there are 10 total InputSplits and this is set to 0.5, then</em>
+<a name="270" href="#270">270</a> <em class="jxr_javadoccomment">   * you will get 0.5 * 10 = 5 partitions for every InputSplit (given that the</em>
+<a name="271" href="#271">271</a> <em class="jxr_javadoccomment">   * minimum size is met).</em>
+<a name="272" href="#272">272</a> <em class="jxr_javadoccomment">   */</em>
+<a name="273" href="#273">273</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TOTAL_INPUT_SPLIT_MULTIPLIER =
+<a name="274" href="#274">274</a>       <span class="jxr_string">"giraph.totalInputSplitMultiplier"</span>;
+<a name="275" href="#275">275</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default total input split multiplier */</em>
+<a name="276" href="#276">276</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">float</strong> TOTAL_INPUT_SPLIT_MULTIPLIER_DEFAULT = 0.5f;
+<a name="277" href="#277">277</a> 
+<a name="278" href="#278">278</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="279" href="#279">279</a> <em class="jxr_javadoccomment">   * Input split sample percent - Used only for sampling and testing, rather</em>
+<a name="280" href="#280">280</a> <em class="jxr_javadoccomment">   * than an actual job.  The idea is that to test, you might only want a</em>
+<a name="281" href="#281">281</a> <em class="jxr_javadoccomment">   * fraction of the actual input splits from your VertexInputFormat to</em>
+<a name="282" href="#282">282</a> <em class="jxr_javadoccomment">   * load (values should be [0, 100]).</em>
+<a name="283" href="#283">283</a> <em class="jxr_javadoccomment">   */</em>
+<a name="284" href="#284">284</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String INPUT_SPLIT_SAMPLE_PERCENT =
+<a name="285" href="#285">285</a>       <span class="jxr_string">"giraph.inputSplitSamplePercent"</span>;
+<a name="286" href="#286">286</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default is to use all the input splits */</em>
+<a name="287" href="#287">287</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">float</strong> INPUT_SPLIT_SAMPLE_PERCENT_DEFAULT = 100f;
+<a name="288" href="#288">288</a> 
+<a name="289" href="#289">289</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="290" href="#290">290</a> <em class="jxr_javadoccomment">   * To limit outlier input splits from producing too many vertices or to</em>
+<a name="291" href="#291">291</a> <em class="jxr_javadoccomment">   * help with testing, the number of vertices loaded from an input split can</em>
+<a name="292" href="#292">292</a> <em class="jxr_javadoccomment">   * be limited.  By default, everything is loaded.</em>
 <a name="293" href="#293">293</a> <em class="jxr_javadoccomment">   */</em>
-<a name="294" href="#294">294</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> INPUT_SPLIT_MAX_VERTICES_DEFAULT = -1;
-<a name="295" href="#295">295</a> 
-<a name="296" href="#296">296</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Java opts passed to ZooKeeper startup */</em>
-<a name="297" href="#297">297</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_JAVA_OPTS =
-<a name="298" href="#298">298</a>       <span class="jxr_string">"giraph.zkJavaOpts"</span>;
-<a name="299" href="#299">299</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default java opts passed to ZooKeeper startup */</em>
-<a name="300" href="#300">300</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_JAVA_OPTS_DEFAULT =
-<a name="301" href="#301">301</a>       <span class="jxr_string">"-Xmx512m -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC "</span> +
-<a name="302" href="#302">302</a>           <span class="jxr_string">"-XX:CMSInitiatingOccupancyFraction=70 -XX:MaxGCPauseMillis=100"</span>;
-<a name="303" href="#303">303</a> 
-<a name="304" href="#304">304</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="305" href="#305">305</a> <em class="jxr_javadoccomment">   *  How often to checkpoint (i.e. 0, means no checkpoint,</em>
-<a name="306" href="#306">306</a> <em class="jxr_javadoccomment">   *  1 means every superstep, 2 is every two supersteps, etc.).</em>
-<a name="307" href="#307">307</a> <em class="jxr_javadoccomment">   */</em>
-<a name="308" href="#308">308</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CHECKPOINT_FREQUENCY =
-<a name="309" href="#309">309</a>       <span class="jxr_string">"giraph.checkpointFrequency"</span>;
-<a name="310" href="#310">310</a> 
-<a name="311" href="#311">311</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default checkpointing frequency of none. */</em>
-<a name="312" href="#312">312</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> CHECKPOINT_FREQUENCY_DEFAULT = 0;
-<a name="313" href="#313">313</a> 
-<a name="314" href="#314">314</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="315" href="#315">315</a> <em class="jxr_javadoccomment">   * Delete checkpoints after a successful job run?</em>
-<a name="316" href="#316">316</a> <em class="jxr_javadoccomment">   */</em>
-<a name="317" href="#317">317</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CLEANUP_CHECKPOINTS_AFTER_SUCCESS =
-<a name="318" href="#318">318</a>       <span class="jxr_string">"giraph.cleanupCheckpointsAfterSuccess"</span>;
-<a name="319" href="#319">319</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default is to clean up the checkponts after a successful job */</em>
-<a name="320" href="#320">320</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> CLEANUP_CHECKPOINTS_AFTER_SUCCESS_DEFAULT =
-<a name="321" href="#321">321</a>       <strong class="jxr_keyword">true</strong>;
-<a name="322" href="#322">322</a> 
-<a name="323" href="#323">323</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="324" href="#324">324</a> <em class="jxr_javadoccomment">   * An application can be restarted manually by selecting a superstep.  The</em>
-<a name="325" href="#325">325</a> <em class="jxr_javadoccomment">   * corresponding checkpoint must exist for this to work.  The user should</em>
-<a name="326" href="#326">326</a> <em class="jxr_javadoccomment">   * set a long value.  Default is start from scratch.</em>
-<a name="327" href="#327">327</a> <em class="jxr_javadoccomment">   */</em>
-<a name="328" href="#328">328</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String RESTART_SUPERSTEP = <span class="jxr_string">"giraph.restartSuperstep"</span>;
-<a name="329" href="#329">329</a> 
-<a name="330" href="#330">330</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="331" href="#331">331</a> <em class="jxr_javadoccomment">   * Base ZNode for Giraph's state in the ZooKeeper cluster.  Must be a root</em>
-<a name="332" href="#332">332</a> <em class="jxr_javadoccomment">   * znode on the cluster beginning with "/"</em>
+<a name="294" href="#294">294</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String INPUT_SPLIT_MAX_VERTICES =
+<a name="295" href="#295">295</a>       <span class="jxr_string">"giraph.InputSplitMaxVertices"</span>;
+<a name="296" href="#296">296</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="297" href="#297">297</a> <em class="jxr_javadoccomment">   * Default is that all the vertices are to be loaded from the input</em>
+<a name="298" href="#298">298</a> <em class="jxr_javadoccomment">   * split</em>
+<a name="299" href="#299">299</a> <em class="jxr_javadoccomment">   */</em>
+<a name="300" href="#300">300</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">long</strong> INPUT_SPLIT_MAX_VERTICES_DEFAULT = -1;
+<a name="301" href="#301">301</a> 
+<a name="302" href="#302">302</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Java opts passed to ZooKeeper startup */</em>
+<a name="303" href="#303">303</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_JAVA_OPTS =
+<a name="304" href="#304">304</a>       <span class="jxr_string">"giraph.zkJavaOpts"</span>;
+<a name="305" href="#305">305</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default java opts passed to ZooKeeper startup */</em>
+<a name="306" href="#306">306</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_JAVA_OPTS_DEFAULT =
+<a name="307" href="#307">307</a>       <span class="jxr_string">"-Xmx512m -XX:ParallelGCThreads=4 -XX:+UseConcMarkSweepGC "</span> +
+<a name="308" href="#308">308</a>           <span class="jxr_string">"-XX:CMSInitiatingOccupancyFraction=70 -XX:MaxGCPauseMillis=100"</span>;
+<a name="309" href="#309">309</a> 
+<a name="310" href="#310">310</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="311" href="#311">311</a> <em class="jxr_javadoccomment">   *  How often to checkpoint (i.e. 0, means no checkpoint,</em>
+<a name="312" href="#312">312</a> <em class="jxr_javadoccomment">   *  1 means every superstep, 2 is every two supersteps, etc.).</em>
+<a name="313" href="#313">313</a> <em class="jxr_javadoccomment">   */</em>
+<a name="314" href="#314">314</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CHECKPOINT_FREQUENCY =
+<a name="315" href="#315">315</a>       <span class="jxr_string">"giraph.checkpointFrequency"</span>;
+<a name="316" href="#316">316</a> 
+<a name="317" href="#317">317</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default checkpointing frequency of none. */</em>
+<a name="318" href="#318">318</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> CHECKPOINT_FREQUENCY_DEFAULT = 0;
+<a name="319" href="#319">319</a> 
+<a name="320" href="#320">320</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="321" href="#321">321</a> <em class="jxr_javadoccomment">   * Delete checkpoints after a successful job run?</em>
+<a name="322" href="#322">322</a> <em class="jxr_javadoccomment">   */</em>
+<a name="323" href="#323">323</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CLEANUP_CHECKPOINTS_AFTER_SUCCESS =
+<a name="324" href="#324">324</a>       <span class="jxr_string">"giraph.cleanupCheckpointsAfterSuccess"</span>;
+<a name="325" href="#325">325</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default is to clean up the checkponts after a successful job */</em>
+<a name="326" href="#326">326</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> CLEANUP_CHECKPOINTS_AFTER_SUCCESS_DEFAULT =
+<a name="327" href="#327">327</a>       <strong class="jxr_keyword">true</strong>;
+<a name="328" href="#328">328</a> 
+<a name="329" href="#329">329</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="330" href="#330">330</a> <em class="jxr_javadoccomment">   * An application can be restarted manually by selecting a superstep.  The</em>
+<a name="331" href="#331">331</a> <em class="jxr_javadoccomment">   * corresponding checkpoint must exist for this to work.  The user should</em>
+<a name="332" href="#332">332</a> <em class="jxr_javadoccomment">   * set a long value.  Default is start from scratch.</em>
 <a name="333" href="#333">333</a> <em class="jxr_javadoccomment">   */</em>
-<a name="334" href="#334">334</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String BASE_ZNODE_KEY = <span class="jxr_string">"giraph.zkBaseZNode"</span>;
+<a name="334" href="#334">334</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String RESTART_SUPERSTEP = <span class="jxr_string">"giraph.restartSuperstep"</span>;
 <a name="335" href="#335">335</a> 
 <a name="336" href="#336">336</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="337" href="#337">337</a> <em class="jxr_javadoccomment">   * If ZOOKEEPER_LIST is not set, then use this directory to manage</em>
-<a name="338" href="#338">338</a> <em class="jxr_javadoccomment">   * ZooKeeper</em>
+<a name="337" href="#337">337</a> <em class="jxr_javadoccomment">   * Base ZNode for Giraph's state in the ZooKeeper cluster.  Must be a root</em>
+<a name="338" href="#338">338</a> <em class="jxr_javadoccomment">   * znode on the cluster beginning with "/"</em>
 <a name="339" href="#339">339</a> <em class="jxr_javadoccomment">   */</em>
-<a name="340" href="#340">340</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_MANAGER_DIRECTORY =
-<a name="341" href="#341">341</a>       <span class="jxr_string">"giraph.zkManagerDirectory"</span>;
+<a name="340" href="#340">340</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String BASE_ZNODE_KEY = <span class="jxr_string">"giraph.zkBaseZNode"</span>;
+<a name="341" href="#341">341</a> 
 <a name="342" href="#342">342</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="343" href="#343">343</a> <em class="jxr_javadoccomment">   * Default ZooKeeper manager directory (where determining the servers in</em>
-<a name="344" href="#344">344</a> <em class="jxr_javadoccomment">   * HDFS files will go).  Final directory path will also have job number</em>
-<a name="345" href="#345">345</a> <em class="jxr_javadoccomment">   * for uniqueness.</em>
-<a name="346" href="#346">346</a> <em class="jxr_javadoccomment">   */</em>
-<a name="347" href="#347">347</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_MANAGER_DIR_DEFAULT =
-<a name="348" href="#348">348</a>       <span class="jxr_string">"_bsp/_defaultZkManagerDir"</span>;
-<a name="349" href="#349">349</a> 
-<a name="350" href="#350">350</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> This directory has/stores the available checkpoint files in HDFS. */</em>
-<a name="351" href="#351">351</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CHECKPOINT_DIRECTORY =
-<a name="352" href="#352">352</a>       <span class="jxr_string">"giraph.checkpointDirectory"</span>;
-<a name="353" href="#353">353</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="354" href="#354">354</a> <em class="jxr_javadoccomment">   * Default checkpoint directory (where checkpoing files go in HDFS).  Final</em>
-<a name="355" href="#355">355</a> <em class="jxr_javadoccomment">   * directory path will also have the job number for uniqueness</em>
-<a name="356" href="#356">356</a> <em class="jxr_javadoccomment">   */</em>
-<a name="357" href="#357">357</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CHECKPOINT_DIRECTORY_DEFAULT =
-<a name="358" href="#358">358</a>       <span class="jxr_string">"_bsp/_checkpoints/"</span>;
-<a name="359" href="#359">359</a> 
-<a name="360" href="#360">360</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Directory in the local file system for out-of-core messages. */</em>
-<a name="361" href="#361">361</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MESSAGES_DIRECTORY = <span class="jxr_string">"giraph.messagesDirectory"</span>;
-<a name="362" href="#362">362</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="363" href="#363">363</a> <em class="jxr_javadoccomment">   * Default messages directory. Final directory path will also have the</em>
-<a name="364" href="#364">364</a> <em class="jxr_javadoccomment">   * job number for uniqueness</em>
-<a name="365" href="#365">365</a> <em class="jxr_javadoccomment">   */</em>
-<a name="366" href="#366">366</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MESSAGES_DIRECTORY_DEFAULT = <span class="jxr_string">"_bsp/_messages/"</span>;
-<a name="367" href="#367">367</a> 
-<a name="368" href="#368">368</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Whether or not to use out-of-core messages */</em>
-<a name="369" href="#369">369</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String USE_OUT_OF_CORE_MESSAGES =
-<a name="370" href="#370">370</a>       <span class="jxr_string">"giraph.useOutOfCoreMessages"</span>;
-<a name="371" href="#371">371</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default choice about using out-of-core messaging */</em>
-<a name="372" href="#372">372</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> USE_OUT_OF_CORE_MESSAGES_DEFAULT = false;
-<a name="373" href="#373">373</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="374" href="#374">374</a> <em class="jxr_javadoccomment">   * If using out-of-core messaging, it tells how much messages do we keep</em>
-<a name="375" href="#375">375</a> <em class="jxr_javadoccomment">   * in memory.</em>
-<a name="376" href="#376">376</a> <em class="jxr_javadoccomment">   */</em>
-<a name="377" href="#377">377</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MAX_MESSAGES_IN_MEMORY =
-<a name="378" href="#378">378</a>       <span class="jxr_string">"giraph.maxMessagesInMemory"</span>;
-<a name="379" href="#379">379</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default maximum number of messages in memory. */</em>
-<a name="380" href="#380">380</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> MAX_MESSAGES_IN_MEMORY_DEFAULT = 1000000;
-<a name="381" href="#381">381</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Size of buffer when reading and writing messages out-of-core. */</em>
-<a name="382" href="#382">382</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MESSAGES_BUFFER_SIZE =
-<a name="383" href="#383">383</a>       <span class="jxr_string">"giraph.messagesBufferSize"</span>;
-<a name="384" href="#384">384</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default size of buffer when reading and writing messages out-of-core. */</em>
-<a name="385" href="#385">385</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> MESSAGES_BUFFER_SIZE_DEFAULT = 8192;
-<a name="386" href="#386">386</a> 
-<a name="387" href="#387">387</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Keep the zookeeper output for debugging? Default is to remove it. */</em>
-<a name="388" href="#388">388</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String KEEP_ZOOKEEPER_DATA =
-<a name="389" href="#389">389</a>       <span class="jxr_string">"giraph.keepZooKeeperData"</span>;
-<a name="390" href="#390">390</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default is to remove ZooKeeper data. */</em>
-<a name="391" href="#391">391</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> Boolean KEEP_ZOOKEEPER_DATA_DEFAULT = false;
+<a name="343" href="#343">343</a> <em class="jxr_javadoccomment">   * If ZOOKEEPER_LIST is not set, then use this directory to manage</em>
+<a name="344" href="#344">344</a> <em class="jxr_javadoccomment">   * ZooKeeper</em>
+<a name="345" href="#345">345</a> <em class="jxr_javadoccomment">   */</em>
+<a name="346" href="#346">346</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_MANAGER_DIRECTORY =
+<a name="347" href="#347">347</a>       <span class="jxr_string">"giraph.zkManagerDirectory"</span>;
+<a name="348" href="#348">348</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="349" href="#349">349</a> <em class="jxr_javadoccomment">   * Default ZooKeeper manager directory (where determining the servers in</em>
+<a name="350" href="#350">350</a> <em class="jxr_javadoccomment">   * HDFS files will go).  Final directory path will also have job number</em>
+<a name="351" href="#351">351</a> <em class="jxr_javadoccomment">   * for uniqueness.</em>
+<a name="352" href="#352">352</a> <em class="jxr_javadoccomment">   */</em>
+<a name="353" href="#353">353</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_MANAGER_DIR_DEFAULT =
+<a name="354" href="#354">354</a>       <span class="jxr_string">"_bsp/_defaultZkManagerDir"</span>;
+<a name="355" href="#355">355</a> 
+<a name="356" href="#356">356</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> This directory has/stores the available checkpoint files in HDFS. */</em>
+<a name="357" href="#357">357</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CHECKPOINT_DIRECTORY =
+<a name="358" href="#358">358</a>       <span class="jxr_string">"giraph.checkpointDirectory"</span>;
+<a name="359" href="#359">359</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="360" href="#360">360</a> <em class="jxr_javadoccomment">   * Default checkpoint directory (where checkpoing files go in HDFS).  Final</em>
+<a name="361" href="#361">361</a> <em class="jxr_javadoccomment">   * directory path will also have the job number for uniqueness</em>
+<a name="362" href="#362">362</a> <em class="jxr_javadoccomment">   */</em>
+<a name="363" href="#363">363</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CHECKPOINT_DIRECTORY_DEFAULT =
+<a name="364" href="#364">364</a>       <span class="jxr_string">"_bsp/_checkpoints/"</span>;
+<a name="365" href="#365">365</a> 
+<a name="366" href="#366">366</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Directory in the local file system for out-of-core messages. */</em>
+<a name="367" href="#367">367</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MESSAGES_DIRECTORY = <span class="jxr_string">"giraph.messagesDirectory"</span>;
+<a name="368" href="#368">368</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="369" href="#369">369</a> <em class="jxr_javadoccomment">   * Default messages directory. Final directory path will also have the</em>
+<a name="370" href="#370">370</a> <em class="jxr_javadoccomment">   * job number for uniqueness</em>
+<a name="371" href="#371">371</a> <em class="jxr_javadoccomment">   */</em>
+<a name="372" href="#372">372</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MESSAGES_DIRECTORY_DEFAULT = <span class="jxr_string">"_bsp/_messages/"</span>;
+<a name="373" href="#373">373</a> 
+<a name="374" href="#374">374</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Whether or not to use out-of-core messages */</em>
+<a name="375" href="#375">375</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String USE_OUT_OF_CORE_MESSAGES =
+<a name="376" href="#376">376</a>       <span class="jxr_string">"giraph.useOutOfCoreMessages"</span>;
+<a name="377" href="#377">377</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default choice about using out-of-core messaging */</em>
+<a name="378" href="#378">378</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">boolean</strong> USE_OUT_OF_CORE_MESSAGES_DEFAULT = false;
+<a name="379" href="#379">379</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="380" href="#380">380</a> <em class="jxr_javadoccomment">   * If using out-of-core messaging, it tells how much messages do we keep</em>
+<a name="381" href="#381">381</a> <em class="jxr_javadoccomment">   * in memory.</em>
+<a name="382" href="#382">382</a> <em class="jxr_javadoccomment">   */</em>
+<a name="383" href="#383">383</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MAX_MESSAGES_IN_MEMORY =
+<a name="384" href="#384">384</a>       <span class="jxr_string">"giraph.maxMessagesInMemory"</span>;
+<a name="385" href="#385">385</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default maximum number of messages in memory. */</em>
+<a name="386" href="#386">386</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> MAX_MESSAGES_IN_MEMORY_DEFAULT = 1000000;
+<a name="387" href="#387">387</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Size of buffer when reading and writing messages out-of-core. */</em>
+<a name="388" href="#388">388</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String MESSAGES_BUFFER_SIZE =
+<a name="389" href="#389">389</a>       <span class="jxr_string">"giraph.messagesBufferSize"</span>;
+<a name="390" href="#390">390</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default size of buffer when reading and writing messages out-of-core. */</em>
+<a name="391" href="#391">391</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> MESSAGES_BUFFER_SIZE_DEFAULT = 8192;
 <a name="392" href="#392">392</a> 
-<a name="393" href="#393">393</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper tick time. */</em>
-<a name="394" href="#394">394</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_TICK_TIME = 6000;
-<a name="395" href="#395">395</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper init limit (in ticks). */</em>
-<a name="396" href="#396">396</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_INIT_LIMIT = 10;
-<a name="397" href="#397">397</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper sync limit (in ticks). */</em>
-<a name="398" href="#398">398</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_SYNC_LIMIT = 5;
-<a name="399" href="#399">399</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper snap count. */</em>
-<a name="400" href="#400">400</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_SNAP_COUNT = 50000;
-<a name="401" href="#401">401</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper maximum client connections. */</em>
-<a name="402" href="#402">402</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_MAX_CLIENT_CNXNS = 10000;
-<a name="403" href="#403">403</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper minimum session timeout of 5 minutes (in msecs). */</em>
-<a name="404" href="#404">404</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_MIN_SESSION_TIMEOUT = 300 * 1000;
-<a name="405" href="#405">405</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper maximum session timeout of 10 minutes (in msecs). */</em>
-<a name="406" href="#406">406</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_MAX_SESSION_TIMEOUT = 600 * 1000;
-<a name="407" href="#407">407</a> 
-<a name="408" href="#408">408</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Class logger */</em>
-<a name="409" href="#409">409</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> Logger LOG = Logger.getLogger(GiraphJob.<strong class="jxr_keyword">class</strong>);
-<a name="410" href="#410">410</a> 
-<a name="411" href="#411">411</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Internal job that actually is submitted */</em>
-<a name="412" href="#412">412</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> Job job;
-<a name="413" href="#413">413</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Helper configuration from the job */</em>
-<a name="414" href="#414">414</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> Configuration conf;
-<a name="415" href="#415">415</a> 
+<a name="393" href="#393">393</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Keep the zookeeper output for debugging? Default is to remove it. */</em>
+<a name="394" href="#394">394</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String KEEP_ZOOKEEPER_DATA =
+<a name="395" href="#395">395</a>       <span class="jxr_string">"giraph.keepZooKeeperData"</span>;
+<a name="396" href="#396">396</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default is to remove ZooKeeper data. */</em>
+<a name="397" href="#397">397</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> Boolean KEEP_ZOOKEEPER_DATA_DEFAULT = false;
+<a name="398" href="#398">398</a> 
+<a name="399" href="#399">399</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper tick time. */</em>
+<a name="400" href="#400">400</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_TICK_TIME = 6000;
+<a name="401" href="#401">401</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper init limit (in ticks). */</em>
+<a name="402" href="#402">402</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_INIT_LIMIT = 10;
+<a name="403" href="#403">403</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper sync limit (in ticks). */</em>
+<a name="404" href="#404">404</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_SYNC_LIMIT = 5;
+<a name="405" href="#405">405</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper snap count. */</em>
+<a name="406" href="#406">406</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_SNAP_COUNT = 50000;
+<a name="407" href="#407">407</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper maximum client connections. */</em>
+<a name="408" href="#408">408</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_MAX_CLIENT_CNXNS = 10000;
+<a name="409" href="#409">409</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper minimum session timeout of 5 minutes (in msecs). */</em>
+<a name="410" href="#410">410</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_MIN_SESSION_TIMEOUT = 300 * 1000;
+<a name="411" href="#411">411</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default ZooKeeper maximum session timeout of 10 minutes (in msecs). */</em>
+<a name="412" href="#412">412</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">int</strong> DEFAULT_ZOOKEEPER_MAX_SESSION_TIMEOUT = 600 * 1000;
+<a name="413" href="#413">413</a> 
+<a name="414" href="#414">414</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Class logger */</em>
+<a name="415" href="#415">415</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> Logger LOG = Logger.getLogger(GiraphJob.<strong class="jxr_keyword">class</strong>);
 <a name="416" href="#416">416</a> 
-<a name="417" href="#417">417</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="418" href="#418">418</a> <em class="jxr_javadoccomment">   * Constructor that will instantiate the configuration</em>
-<a name="419" href="#419">419</a> <em class="jxr_javadoccomment">   *</em>
-<a name="420" href="#420">420</a> <em class="jxr_javadoccomment">   * @param jobName User-defined job name</em>
-<a name="421" href="#421">421</a> <em class="jxr_javadoccomment">   * @throws IOException</em>
-<a name="422" href="#422">422</a> <em class="jxr_javadoccomment">   */</em>
-<a name="423" href="#423">423</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/giraph/graph/GiraphJob.html">GiraphJob</a>(String jobName) <strong class="jxr_keyword">throws</strong> IOException {
-<a name="424" href="#424">424</a>     <strong class="jxr_keyword">this</strong>(<strong class="jxr_keyword">new</strong> Configuration(), jobName);
-<a name="425" href="#425">425</a>   }
-<a name="426" href="#426">426</a> 
-<a name="427" href="#427">427</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="428" href="#428">428</a> <em class="jxr_javadoccomment">   * Constructor.</em>
-<a name="429" href="#429">429</a> <em class="jxr_javadoccomment">   *</em>
-<a name="430" href="#430">430</a> <em class="jxr_javadoccomment">   * @param conf User-defined configuration</em>
-<a name="431" href="#431">431</a> <em class="jxr_javadoccomment">   * @param jobName User-defined job name</em>
-<a name="432" href="#432">432</a> <em class="jxr_javadoccomment">   * @throws IOException</em>
-<a name="433" href="#433">433</a> <em class="jxr_javadoccomment">   */</em>
-<a name="434" href="#434">434</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/giraph/graph/GiraphJob.html">GiraphJob</a>(Configuration conf, String jobName) <strong class="jxr_keyword">throws</strong> IOException {
-<a name="435" href="#435">435</a>     job = <strong class="jxr_keyword">new</strong> Job(conf, jobName);
-<a name="436" href="#436">436</a>     <strong class="jxr_keyword">this</strong>.conf = job.getConfiguration();
-<a name="437" href="#437">437</a>   }
-<a name="438" href="#438">438</a> 
-<a name="439" href="#439">439</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="440" href="#440">440</a> <em class="jxr_javadoccomment">   * Get the configuration from the internal job.</em>
-<a name="441" href="#441">441</a> <em class="jxr_javadoccomment">   *</em>
-<a name="442" href="#442">442</a> <em class="jxr_javadoccomment">   * @return Configuration used by the job.</em>
-<a name="443" href="#443">443</a> <em class="jxr_javadoccomment">   */</em>
-<a name="444" href="#444">444</a>   <strong class="jxr_keyword">public</strong> Configuration getConfiguration() {
-<a name="445" href="#445">445</a>     <strong class="jxr_keyword">return</strong> conf;
-<a name="446" href="#446">446</a>   }
-<a name="447" href="#447">447</a> 
-<a name="448" href="#448">448</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="449" href="#449">449</a> <em class="jxr_javadoccomment">   * Be very cautious when using this method as it returns the internal job</em>
-<a name="450" href="#450">450</a> <em class="jxr_javadoccomment">   * of {@link GiraphJob}.  This should only be used for methods that require</em>
-<a name="451" href="#451">451</a> <em class="jxr_javadoccomment">   * access to the actual {@link Job}, i.e. FileInputFormat#addInputPath().</em>
-<a name="452" href="#452">452</a> <em class="jxr_javadoccomment">   *</em>
-<a name="453" href="#453">453</a> <em class="jxr_javadoccomment">   * @return Internal job that will actually be submitted to Hadoop.</em>
-<a name="454" href="#454">454</a> <em class="jxr_javadoccomment">   */</em>
-<a name="455" href="#455">455</a>   <strong class="jxr_keyword">public</strong> Job getInternalJob() {
-<a name="456" href="#456">456</a>     <strong class="jxr_keyword">return</strong> job;
-<a name="457" href="#457">457</a>   }
-<a name="458" href="#458">458</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="459" href="#459">459</a> <em class="jxr_javadoccomment">   * Make sure the configuration is set properly by the user prior to</em>
-<a name="460" href="#460">460</a> <em class="jxr_javadoccomment">   * submitting the job.</em>
-<a name="461" href="#461">461</a> <em class="jxr_javadoccomment">   */</em>
-<a name="462" href="#462">462</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> checkConfiguration() {
-<a name="463" href="#463">463</a>     <strong class="jxr_keyword">if</strong> (conf.getInt(MAX_WORKERS, -1) &lt; 0) {
-<a name="464" href="#464">464</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException(<span class="jxr_string">"No valid "</span> + MAX_WORKERS);
-<a name="465" href="#465">465</a>     }
-<a name="466" href="#466">466</a>     <strong class="jxr_keyword">if</strong> (conf.getFloat(MIN_PERCENT_RESPONDED,
-<a name="467" href="#467">467</a>         MIN_PERCENT_RESPONDED_DEFAULT) &lt;= 0.0f ||
-<a name="468" href="#468">468</a>         conf.getFloat(MIN_PERCENT_RESPONDED,
-<a name="469" href="#469">469</a>             MIN_PERCENT_RESPONDED_DEFAULT) &gt; 100.0f) {
-<a name="470" href="#470">470</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(
-<a name="471" href="#471">471</a>           <span class="jxr_string">"Invalid "</span> +
-<a name="472" href="#472">472</a>               conf.getFloat(MIN_PERCENT_RESPONDED,
-<a name="473" href="#473">473</a>                   MIN_PERCENT_RESPONDED_DEFAULT) + <span class="jxr_string">" for "</span> +
-<a name="474" href="#474">474</a>                   MIN_PERCENT_RESPONDED);
-<a name="475" href="#475">475</a>     }
-<a name="476" href="#476">476</a>     <strong class="jxr_keyword">if</strong> (conf.getInt(MIN_WORKERS, -1) &lt; 0) {
-<a name="477" href="#477">477</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"No valid "</span> + MIN_WORKERS);
-<a name="478" href="#478">478</a>     }
-<a name="479" href="#479">479</a>     <strong class="jxr_keyword">if</strong> (BspUtils.getVertexClass(getConfiguration()) == <strong class="jxr_keyword">null</strong>) {
-<a name="480" href="#480">480</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(<span class="jxr_string">"GiraphJob: Null VERTEX_CLASS"</span>);
+<a name="417" href="#417">417</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Internal job that actually is submitted */</em>
+<a name="418" href="#418">418</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> Job job;
+<a name="419" href="#419">419</a>   <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Helper configuration from the job */</em>
+<a name="420" href="#420">420</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">final</strong> Configuration conf;
+<a name="421" href="#421">421</a> 
+<a name="422" href="#422">422</a> 
+<a name="423" href="#423">423</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="424" href="#424">424</a> <em class="jxr_javadoccomment">   * Constructor that will instantiate the configuration</em>
+<a name="425" href="#425">425</a> <em class="jxr_javadoccomment">   *</em>
+<a name="426" href="#426">426</a> <em class="jxr_javadoccomment">   * @param jobName User-defined job name</em>
+<a name="427" href="#427">427</a> <em class="jxr_javadoccomment">   * @throws IOException</em>
+<a name="428" href="#428">428</a> <em class="jxr_javadoccomment">   */</em>
+<a name="429" href="#429">429</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/giraph/graph/GiraphJob.html">GiraphJob</a>(String jobName) <strong class="jxr_keyword">throws</strong> IOException {
+<a name="430" href="#430">430</a>     <strong class="jxr_keyword">this</strong>(<strong class="jxr_keyword">new</strong> Configuration(), jobName);
+<a name="431" href="#431">431</a>   }
+<a name="432" href="#432">432</a> 
+<a name="433" href="#433">433</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="434" href="#434">434</a> <em class="jxr_javadoccomment">   * Constructor.</em>
+<a name="435" href="#435">435</a> <em class="jxr_javadoccomment">   *</em>
+<a name="436" href="#436">436</a> <em class="jxr_javadoccomment">   * @param conf User-defined configuration</em>
+<a name="437" href="#437">437</a> <em class="jxr_javadoccomment">   * @param jobName User-defined job name</em>
+<a name="438" href="#438">438</a> <em class="jxr_javadoccomment">   * @throws IOException</em>
+<a name="439" href="#439">439</a> <em class="jxr_javadoccomment">   */</em>
+<a name="440" href="#440">440</a>   <strong class="jxr_keyword">public</strong> <a href="../../../../org/apache/giraph/graph/GiraphJob.html">GiraphJob</a>(Configuration conf, String jobName) <strong class="jxr_keyword">throws</strong> IOException {
+<a name="441" href="#441">441</a>     job = <strong class="jxr_keyword">new</strong> Job(conf, jobName);
+<a name="442" href="#442">442</a>     <strong class="jxr_keyword">this</strong>.conf = job.getConfiguration();
+<a name="443" href="#443">443</a>   }
+<a name="444" href="#444">444</a> 
+<a name="445" href="#445">445</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="446" href="#446">446</a> <em class="jxr_javadoccomment">   * Get the configuration from the internal job.</em>
+<a name="447" href="#447">447</a> <em class="jxr_javadoccomment">   *</em>
+<a name="448" href="#448">448</a> <em class="jxr_javadoccomment">   * @return Configuration used by the job.</em>
+<a name="449" href="#449">449</a> <em class="jxr_javadoccomment">   */</em>
+<a name="450" href="#450">450</a>   <strong class="jxr_keyword">public</strong> Configuration getConfiguration() {
+<a name="451" href="#451">451</a>     <strong class="jxr_keyword">return</strong> conf;
+<a name="452" href="#452">452</a>   }
+<a name="453" href="#453">453</a> 
+<a name="454" href="#454">454</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="455" href="#455">455</a> <em class="jxr_javadoccomment">   * Be very cautious when using this method as it returns the internal job</em>
+<a name="456" href="#456">456</a> <em class="jxr_javadoccomment">   * of {@link GiraphJob}.  This should only be used for methods that require</em>
+<a name="457" href="#457">457</a> <em class="jxr_javadoccomment">   * access to the actual {@link Job}, i.e. FileInputFormat#addInputPath().</em>
+<a name="458" href="#458">458</a> <em class="jxr_javadoccomment">   *</em>
+<a name="459" href="#459">459</a> <em class="jxr_javadoccomment">   * @return Internal job that will actually be submitted to Hadoop.</em>
+<a name="460" href="#460">460</a> <em class="jxr_javadoccomment">   */</em>
+<a name="461" href="#461">461</a>   <strong class="jxr_keyword">public</strong> Job getInternalJob() {
+<a name="462" href="#462">462</a>     <strong class="jxr_keyword">return</strong> job;
+<a name="463" href="#463">463</a>   }
+<a name="464" href="#464">464</a>   <em class="jxr_javadoccomment">/**</em>
+<a name="465" href="#465">465</a> <em class="jxr_javadoccomment">   * Make sure the configuration is set properly by the user prior to</em>
+<a name="466" href="#466">466</a> <em class="jxr_javadoccomment">   * submitting the job.</em>
+<a name="467" href="#467">467</a> <em class="jxr_javadoccomment">   */</em>
+<a name="468" href="#468">468</a>   <strong class="jxr_keyword">private</strong> <strong class="jxr_keyword">void</strong> checkConfiguration() {
+<a name="469" href="#469">469</a>     <strong class="jxr_keyword">if</strong> (conf.getInt(MAX_WORKERS, -1) &lt; 0) {
+<a name="470" href="#470">470</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> RuntimeException(<span class="jxr_string">"No valid "</span> + MAX_WORKERS);
+<a name="471" href="#471">471</a>     }
+<a name="472" href="#472">472</a>     <strong class="jxr_keyword">if</strong> (conf.getFloat(MIN_PERCENT_RESPONDED,
+<a name="473" href="#473">473</a>         MIN_PERCENT_RESPONDED_DEFAULT) &lt;= 0.0f ||
+<a name="474" href="#474">474</a>         conf.getFloat(MIN_PERCENT_RESPONDED,
+<a name="475" href="#475">475</a>             MIN_PERCENT_RESPONDED_DEFAULT) &gt; 100.0f) {
+<a name="476" href="#476">476</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(
+<a name="477" href="#477">477</a>           <span class="jxr_string">"Invalid "</span> +
+<a name="478" href="#478">478</a>               conf.getFloat(MIN_PERCENT_RESPONDED,
+<a name="479" href="#479">479</a>                   MIN_PERCENT_RESPONDED_DEFAULT) + <span class="jxr_string">" for "</span> +
+<a name="480" href="#480">480</a>                   MIN_PERCENT_RESPONDED);
 <a name="481" href="#481">481</a>     }
-<a name="482" href="#482">482</a>     <strong class="jxr_keyword">if</strong> (BspUtils.getVertexInputFormatClass(getConfiguration()) == <strong class="jxr_keyword">null</strong>) {
-<a name="483" href="#483">483</a>       <strong class="jxr_keyword">throw</strong> <strong class="jxr_keyword">new</strong> IllegalArgumentException(
-<a name="484" href="#484">484</a>           <span class="jxr_string">"GiraphJob: Null VERTEX_INPUT_FORMAT_CLASS"</span>);
-<a name="485" href="#485">485</a>     }
-<a name="486" href="#486">486</a>     <strong class="jxr_keyword">if</strong> (BspUtils.getVertexResolverClass(getConfiguration()) == <strong class="jxr_keyword">null</strong>) {
-<a name="487" href="#487">487</a>       setVertexResolverClass(VertexResolver.<strong class="jxr_keyword">class</strong>);
-<a name="488" href="#488">488</a>       <strong class="jxr_keyword">if</strong> (LOG.isInfoEnabled()) {
-<a name="489" href="#489">489</a>         LOG.info(<span class="jxr_string">"GiraphJob: No class found for "</span> +
-<a name="490" href="#490">490</a>             VERTEX_RESOLVER_CLASS + <span class="jxr_string">", defaulting to "</span> +
-<a name="491" href="#491">491</a>             VertexResolver.<strong class="jxr_keyword">class</strong>.getCanonicalName());
-<a name="492" href="#492">492</a>       }
-<a name="493" href="#493">493</a>     }
-<a name="494" href="#494">494</a>   }
-<a name="495" href="#495">495</a> 
-<a name="496" href="#496">496</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="497" href="#497">497</a> <em class="jxr_javadoccomment">   * Set the vertex class (required)</em>
-<a name="498" href="#498">498</a> <em class="jxr_javadoccomment">   *</em>
-<a name="499" href="#499">499</a> <em class="jxr_javadoccomment">   * @param vertexClass Runs vertex computation</em>
-<a name="500" href="#500">500</a> <em class="jxr_javadoccomment">   */</em>
-<a name="501" href="#501">501</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">void</strong> setVertexClass(Class&lt;?&gt; vertexClass) {
-<a name="502" href="#502">502</a>     getConfiguration().setClass(VERTEX_CLASS, vertexClass, Vertex.<strong class="jxr_keyword">class</strong>);
-<a name="503" href="#503">503</a>   }
-<a name="504" href="#504">504</a> 
-<a name="505" href="#505">505</a>   <em class="jxr_javadoccomment">/**</em>
-<a name="506" href="#506">506</a> <em class="jxr_javadoccomment">   * Set the vertex input format class (required)</em>
-<a name="507" href="#507">507</a> <em class="jxr_javadoccomment">   *</em>
-<a name="508" href="#508">508</a> <em class="jxr_javadoccomment">   * @param vertexInputFormatClass Determines how graph is input</em>
-<a name="509" href="#509">509</a> <em class="jxr_javadoccomment">   */</em>
-<a name="510" href="#510">510</a>   <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">final</strong> <strong class="jxr_keyword">void</strong> setVertexInputFormatClass(
-<a name="511" href="#511">511</a>       Class&lt;?&gt; vertexInputFormatClass) {
-<a name="512" href="#512">512</a>     getConfiguration().setClass(VERTEX_INPUT_FORMAT_CLASS,
-<a name="513" href="#513">513</a>         vertexInputFormatClass,
-<a name="514" href="#514">514</a>         VertexInputFormat.<strong class="jxr_keyword">class</strong>);
-<a name="515" href="#515">515</a>   }
-<a name="516" href="#516">516</a> 
-<a name="517" href="#517">517</a>   <em class="jxr_javadoccomment">/**</em>

[... 432 lines stripped ...]