http://git-wip-us.apache.org/repos/asf/trafodion-site/blob/4f19d4f4/docs/dcs_reference/xref/org/trafodion/dcs/Constants.html ---------------------------------------------------------------------- diff --git a/docs/dcs_reference/xref/org/trafodion/dcs/Constants.html b/docs/dcs_reference/xref/org/trafodion/dcs/Constants.html index 0d6b068..fd26d3c 100644 --- a/docs/dcs_reference/xref/org/trafodion/dcs/Constants.html +++ b/docs/dcs_reference/xref/org/trafodion/dcs/Constants.html @@ -211,368 +211,380 @@ <a class="jxr_linenumber" name="201" href="#201">201</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for user program restart handler retry interval millis */</em> <a class="jxr_linenumber" 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_DCS_SERVER_USER_PROGRAM_RESTART_HANDLER_RETRY_INTERVAL_MILLIS = 5000; <a class="jxr_linenumber" name="203" href="#203">203</a> -<a class="jxr_linenumber" name="204" href="#204">204</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Name of ZooKeeper quorum configuration parameter. */</em> -<a class="jxr_linenumber" 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 ZOOKEEPER_QUORUM = <span class="jxr_string">"dcs.zookeeper.quorum"</span>; +<a class="jxr_linenumber" name="204" href="#204">204</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for user program restart handler attempts for mxosrvr*/</em> +<a class="jxr_linenumber" 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 DCS_SERVER_STARTUP_MXOSRVR_USER_PROGRAM_RESTART_HANDLER_ATTEMPTS = <span class="jxr_string">"dcs.server.startup.mxosrvr.user.program.restart.handler.attempts"</span>; <a class="jxr_linenumber" name="206" href="#206">206</a> -<a class="jxr_linenumber" name="207" href="#207">207</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Name of ZooKeeper config file in conf/ directory. */</em> -<a class="jxr_linenumber" name="208" href="#208">208</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_CONFIG_NAME = <span class="jxr_string">"zoo.cfg"</span>; +<a class="jxr_linenumber" name="207" href="#207">207</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for user program restart handler attempts for mxosrvr */</em> +<a class="jxr_linenumber" 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_DCS_SERVER_STARTUP_MXOSRVR_USER_PROGRAM_RESTART_HANDLER_ATTEMPTS = 6; <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><em class="jxr_javadoccomment"> Common prefix of ZooKeeper configuration properties */</em> -<a class="jxr_linenumber" 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 ZK_CFG_PROPERTY_PREFIX = <span class="jxr_string">"dcs.zookeeper.property."</span>; +<a class="jxr_linenumber" name="210" href="#210">210</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for user program restart handler retry timeout minutes */</em> +<a class="jxr_linenumber" 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 DCS_SERVER_STARTUP_MXOSRVR_USER_PROGRAM_RESTART_HANDLER_RETRY_TIMEOUT_MINUTES = <span class="jxr_string">"dcs.server.startup.mxosrvr.user.program.restart.handler.retry.timeout.minutes"</span>; <a class="jxr_linenumber" name="212" href="#212">212</a> -<a class="jxr_linenumber" 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> ZK_CFG_PROPERTY_PREFIX_LEN = ZK_CFG_PROPERTY_PREFIX -<a class="jxr_linenumber" name="214" href="#214">214</a> .length(); +<a class="jxr_linenumber" name="213" href="#213">213</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for user program restart handler retry timeout minutes for mxosrvr */</em> +<a class="jxr_linenumber" 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_DCS_SERVER_STARTUP_MXOSRVR_USER_PROGRAM_RESTART_HANDLER_RETRY_TIMEOUT_MINUTES = 6; <a class="jxr_linenumber" name="215" href="#215">215</a> -<a class="jxr_linenumber" name="216" href="#216">216</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="217" href="#217">217</a> <em class="jxr_javadoccomment"> * The ZK client port key in the ZK properties map. The name reflects the</em> -<a class="jxr_linenumber" name="218" href="#218">218</a> <em class="jxr_javadoccomment"> * fact that this is not an DCS configuration key.</em> -<a class="jxr_linenumber" name="219" href="#219">219</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" name="220" href="#220">220</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CLIENT_PORT_STR = <span class="jxr_string">"clientPort"</span>; +<a class="jxr_linenumber" name="216" href="#216">216</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Name of6ZooKeeper quorum configuration parameter. */</em> +<a class="jxr_linenumber" 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 ZOOKEEPER_QUORUM = <span class="jxr_string">"dcs.zookeeper.quorum"</span>; +<a class="jxr_linenumber" name="218" href="#218">218</a> +<a class="jxr_linenumber" name="219" href="#219">219</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Name of ZooKeeper config file in conf/ directory. */</em> +<a class="jxr_linenumber" name="220" href="#220">220</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_CONFIG_NAME = <span class="jxr_string">"zoo.cfg"</span>; <a class="jxr_linenumber" name="221" href="#221">221</a> -<a class="jxr_linenumber" name="222" href="#222">222</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Parameter name for the client port that the zookeeper listens on */</em> -<a class="jxr_linenumber" name="223" href="#223">223</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_CLIENT_PORT = ZK_CFG_PROPERTY_PREFIX -<a class="jxr_linenumber" name="224" href="#224">224</a> + CLIENT_PORT_STR; -<a class="jxr_linenumber" name="225" href="#225">225</a> -<a class="jxr_linenumber" name="226" href="#226">226</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default client port that the zookeeper listens on */</em> -<a class="jxr_linenumber" name="227" href="#227">227</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_CLIENT_PORT = 2181; -<a class="jxr_linenumber" name="228" href="#228">228</a> -<a class="jxr_linenumber" name="229" href="#229">229</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Parameter name for the wait time for the recoverable zookeeper */</em> -<a class="jxr_linenumber" name="230" href="#230">230</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_RECOVERABLE_WAITTIME = <span class="jxr_string">"dcs.zookeeper.recoverable.waittime"</span>; -<a class="jxr_linenumber" name="231" href="#231">231</a> -<a class="jxr_linenumber" name="232" href="#232">232</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default wait time for the recoverable zookeeper */</em> -<a class="jxr_linenumber" name="233" href="#233">233</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> DEFAULT_ZOOKEPER_RECOVERABLE_WAITIME = 10000; -<a class="jxr_linenumber" name="234" href="#234">234</a> -<a class="jxr_linenumber" name="235" href="#235">235</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Parameter name for the root dir in ZK for this cluster */</em> -<a class="jxr_linenumber" name="236" href="#236">236</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_ZNODE_PARENT = <span class="jxr_string">"zookeeper.znode.parent"</span>; -<a class="jxr_linenumber" name="237" href="#237">237</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_ZOOKEEPER_ZNODE_PARENT = <span class="jxr_string">"/dcs"</span>; -<a class="jxr_linenumber" 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 DEFAULT_ZOOKEEPER_ZNODE_MASTER = DEFAULT_ZOOKEEPER_ZNODE_PARENT -<a class="jxr_linenumber" name="239" href="#239">239</a> + <span class="jxr_string">"/master"</span>; -<a class="jxr_linenumber" 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 DEFAULT_ZOOKEEPER_ZNODE_MASTER_LEADER = DEFAULT_ZOOKEEPER_ZNODE_PARENT -<a class="jxr_linenumber" name="241" href="#241">241</a> + <span class="jxr_string">"/leader"</span>; -<a class="jxr_linenumber" name="242" href="#242">242</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_ZOOKEEPER_ZNODE_SERVERS = DEFAULT_ZOOKEEPER_ZNODE_PARENT -<a class="jxr_linenumber" name="243" href="#243">243</a> + <span class="jxr_string">"/servers"</span>; -<a class="jxr_linenumber" 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 DEFAULT_ZOOKEEPER_ZNODE_SERVERS_RUNNING = DEFAULT_ZOOKEEPER_ZNODE_SERVERS -<a class="jxr_linenumber" name="245" href="#245">245</a> + <span class="jxr_string">"/running"</span>; -<a class="jxr_linenumber" name="246" href="#246">246</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_ZOOKEEPER_ZNODE_SERVERS_REGISTERED = DEFAULT_ZOOKEEPER_ZNODE_SERVERS -<a class="jxr_linenumber" name="247" href="#247">247</a> + <span class="jxr_string">"/registered"</span>; -<a class="jxr_linenumber" name="248" href="#248">248</a> -<a class="jxr_linenumber" name="249" href="#249">249</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="250" href="#250">250</a> <em class="jxr_javadoccomment"> * Parameter name for the limit on concurrent client-side zookeeper</em> -<a class="jxr_linenumber" name="251" href="#251">251</a> <em class="jxr_javadoccomment"> * connections</em> -<a class="jxr_linenumber" name="252" href="#252">252</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" name="253" href="#253">253</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_MAX_CLIENT_CNXNS = ZK_CFG_PROPERTY_PREFIX -<a class="jxr_linenumber" name="254" href="#254">254</a> + <span class="jxr_string">"maxClientCnxns"</span>; -<a class="jxr_linenumber" name="255" href="#255">255</a> -<a class="jxr_linenumber" name="256" href="#256">256</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Parameter name for the ZK data directory */</em> -<a class="jxr_linenumber" name="257" href="#257">257</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_DATA_DIR = ZK_CFG_PROPERTY_PREFIX -<a class="jxr_linenumber" name="258" href="#258">258</a> + <span class="jxr_string">"dataDir"</span>; -<a class="jxr_linenumber" name="259" href="#259">259</a> -<a class="jxr_linenumber" name="260" href="#260">260</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default limit on concurrent client-side zookeeper connections */</em> -<a class="jxr_linenumber" name="261" href="#261">261</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_ZOOKEPER_MAX_CLIENT_CNXNS = 300; -<a class="jxr_linenumber" name="262" href="#262">262</a> -<a class="jxr_linenumber" name="263" href="#263">263</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for ZooKeeper session timeout */</em> -<a class="jxr_linenumber" name="264" href="#264">264</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZK_SESSION_TIMEOUT = <span class="jxr_string">"zookeeper.session.timeout"</span>; -<a class="jxr_linenumber" name="265" href="#265">265</a> -<a class="jxr_linenumber" name="266" href="#266">266</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for ZooKeeper session timeout */</em> -<a class="jxr_linenumber" name="267" href="#267">267</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_ZK_SESSION_TIMEOUT = 180 * 1000; -<a class="jxr_linenumber" name="268" href="#268">268</a> -<a class="jxr_linenumber" name="269" href="#269">269</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for ZooKeeper recovery retry */</em> -<a class="jxr_linenumber" name="270" href="#270">270</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZK_RECOVERY_RETRY = <span class="jxr_string">"zookeeper.recovery.retry"</span>; +<a class="jxr_linenumber" name="222" href="#222">222</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Common prefix of ZooKeeper configuration properties */</em> +<a class="jxr_linenumber" name="223" href="#223">223</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZK_CFG_PROPERTY_PREFIX = <span class="jxr_string">"dcs.zookeeper.property."</span>; +<a class="jxr_linenumber" name="224" href="#224">224</a> +<a class="jxr_linenumber" 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> ZK_CFG_PROPERTY_PREFIX_LEN = ZK_CFG_PROPERTY_PREFIX +<a class="jxr_linenumber" name="226" href="#226">226</a> .length(); +<a class="jxr_linenumber" name="227" href="#227">227</a> +<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"> * The ZK client port key in the ZK properties map. The name reflects the</em> +<a class="jxr_linenumber" name="230" href="#230">230</a> <em class="jxr_javadoccomment"> * fact that this is not an DCS configuration key.</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">static</strong> <strong class="jxr_keyword">final</strong> String CLIENT_PORT_STR = <span class="jxr_string">"clientPort"</span>; +<a class="jxr_linenumber" name="233" href="#233">233</a> +<a class="jxr_linenumber" name="234" href="#234">234</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Parameter name for the client port that the zookeeper listens on */</em> +<a class="jxr_linenumber" name="235" href="#235">235</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_CLIENT_PORT = ZK_CFG_PROPERTY_PREFIX +<a class="jxr_linenumber" name="236" href="#236">236</a> + CLIENT_PORT_STR; +<a class="jxr_linenumber" name="237" href="#237">237</a> +<a class="jxr_linenumber" name="238" href="#238">238</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default client port that the zookeeper listens on */</em> +<a class="jxr_linenumber" name="239" href="#239">239</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_CLIENT_PORT = 2181; +<a class="jxr_linenumber" name="240" href="#240">240</a> +<a class="jxr_linenumber" name="241" href="#241">241</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Parameter name for the wait time for the recoverable zookeeper */</em> +<a class="jxr_linenumber" name="242" href="#242">242</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_RECOVERABLE_WAITTIME = <span class="jxr_string">"dcs.zookeeper.recoverable.waittime"</span>; +<a class="jxr_linenumber" name="243" href="#243">243</a> +<a class="jxr_linenumber" name="244" href="#244">244</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default wait time for the recoverable zookeeper */</em> +<a class="jxr_linenumber" name="245" href="#245">245</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> DEFAULT_ZOOKEPER_RECOVERABLE_WAITIME = 10000; +<a class="jxr_linenumber" name="246" href="#246">246</a> +<a class="jxr_linenumber" name="247" href="#247">247</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Parameter name for the root dir in ZK for this cluster */</em> +<a class="jxr_linenumber" name="248" href="#248">248</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_ZNODE_PARENT = <span class="jxr_string">"zookeeper.znode.parent"</span>; +<a class="jxr_linenumber" 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 DEFAULT_ZOOKEEPER_ZNODE_PARENT = <span class="jxr_string">"/dcs"</span>; +<a class="jxr_linenumber" name="250" href="#250">250</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_ZOOKEEPER_ZNODE_MASTER = DEFAULT_ZOOKEEPER_ZNODE_PARENT +<a class="jxr_linenumber" name="251" href="#251">251</a> + <span class="jxr_string">"/master"</span>; +<a class="jxr_linenumber" name="252" href="#252">252</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_ZOOKEEPER_ZNODE_MASTER_LEADER = DEFAULT_ZOOKEEPER_ZNODE_PARENT +<a class="jxr_linenumber" name="253" href="#253">253</a> + <span class="jxr_string">"/leader"</span>; +<a class="jxr_linenumber" name="254" href="#254">254</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_ZOOKEEPER_ZNODE_SERVERS = DEFAULT_ZOOKEEPER_ZNODE_PARENT +<a class="jxr_linenumber" name="255" href="#255">255</a> + <span class="jxr_string">"/servers"</span>; +<a class="jxr_linenumber" name="256" href="#256">256</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_ZOOKEEPER_ZNODE_SERVERS_RUNNING = DEFAULT_ZOOKEEPER_ZNODE_SERVERS +<a class="jxr_linenumber" name="257" href="#257">257</a> + <span class="jxr_string">"/running"</span>; +<a class="jxr_linenumber" name="258" href="#258">258</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_ZOOKEEPER_ZNODE_SERVERS_REGISTERED = DEFAULT_ZOOKEEPER_ZNODE_SERVERS +<a class="jxr_linenumber" name="259" href="#259">259</a> + <span class="jxr_string">"/registered"</span>; +<a class="jxr_linenumber" name="260" href="#260">260</a> +<a class="jxr_linenumber" name="261" href="#261">261</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="262" href="#262">262</a> <em class="jxr_javadoccomment"> * Parameter name for the limit on concurrent client-side zookeeper</em> +<a class="jxr_linenumber" name="263" href="#263">263</a> <em class="jxr_javadoccomment"> * connections</em> +<a class="jxr_linenumber" name="264" href="#264">264</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="265" href="#265">265</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_MAX_CLIENT_CNXNS = ZK_CFG_PROPERTY_PREFIX +<a class="jxr_linenumber" name="266" href="#266">266</a> + <span class="jxr_string">"maxClientCnxns"</span>; +<a class="jxr_linenumber" name="267" href="#267">267</a> +<a class="jxr_linenumber" name="268" href="#268">268</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Parameter name for the ZK data directory */</em> +<a class="jxr_linenumber" name="269" href="#269">269</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_DATA_DIR = ZK_CFG_PROPERTY_PREFIX +<a class="jxr_linenumber" name="270" href="#270">270</a> + <span class="jxr_string">"dataDir"</span>; <a class="jxr_linenumber" name="271" href="#271">271</a> -<a class="jxr_linenumber" name="272" href="#272">272</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for ZooKeeper recovery retry */</em> -<a class="jxr_linenumber" name="273" href="#273">273</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_ZK_RECOVERY_RETRY = 3; +<a class="jxr_linenumber" name="272" href="#272">272</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default limit on concurrent client-side zookeeper connections */</em> +<a class="jxr_linenumber" name="273" href="#273">273</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_ZOOKEPER_MAX_CLIENT_CNXNS = 300; <a class="jxr_linenumber" name="274" href="#274">274</a> -<a class="jxr_linenumber" name="275" href="#275">275</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for ZooKeeper recovery retry interval millis */</em> -<a class="jxr_linenumber" name="276" href="#276">276</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZK_RECOVERY_RETRY_INTERVAL_MILLIS = <span class="jxr_string">"zookeeper.recovery.retry.intervalmillis"</span>; +<a class="jxr_linenumber" name="275" href="#275">275</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for ZooKeeper session timeout */</em> +<a class="jxr_linenumber" name="276" href="#276">276</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZK_SESSION_TIMEOUT = <span class="jxr_string">"zookeeper.session.timeout"</span>; <a class="jxr_linenumber" name="277" href="#277">277</a> -<a class="jxr_linenumber" name="278" href="#278">278</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for ZooKeeper recovery retry interval millis */</em> -<a class="jxr_linenumber" name="279" href="#279">279</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_ZK_RECOVERY_RETRY_INTERVAL_MILLIS = 1000; +<a class="jxr_linenumber" name="278" href="#278">278</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for ZooKeeper session timeout */</em> +<a class="jxr_linenumber" name="279" href="#279">279</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_ZK_SESSION_TIMEOUT = 180 * 1000; <a class="jxr_linenumber" name="280" href="#280">280</a> -<a class="jxr_linenumber" name="281" href="#281">281</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for whether to use ZK.multi */</em> -<a class="jxr_linenumber" name="282" href="#282">282</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZOOKEEPER_USEMULTI = <span class="jxr_string">"dcs.zookeeper.useMulti"</span>; +<a class="jxr_linenumber" name="281" href="#281">281</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for ZooKeeper recovery retry */</em> +<a class="jxr_linenumber" name="282" href="#282">282</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String ZK_RECOVERY_RETRY = <span class="jxr_string">"zookeeper.recovery.retry"</span>; <a class="jxr_linenumber" name="283" href="#283">283</a> -<a class="jxr_linenumber" name="284" href="#284">284</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> When we encode strings, we always specify UTF8 encoding */</em> -<a class="jxr_linenumber" name="285" href="#285">285</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String UTF8_ENCODING = <span class="jxr_string">"UTF-8"</span>; +<a class="jxr_linenumber" name="284" href="#284">284</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for ZooKeeper recovery retry */</em> +<a class="jxr_linenumber" name="285" href="#285">285</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_ZK_RECOVERY_RETRY = 3; <a class="jxr_linenumber" name="286" href="#286">286</a> -<a class="jxr_linenumber" name="287" href="#287">287</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="288" href="#288">288</a> <em class="jxr_javadoccomment"> * Unlimited time-to-live.</em> -<a class="jxr_linenumber" name="289" href="#289">289</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" name="290" href="#290">290</a> <em class="jxr_comment">// public static final int FOREVER = -1;</em> -<a class="jxr_linenumber" name="291" href="#291">291</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> FOREVER = Integer.MAX_VALUE; +<a class="jxr_linenumber" name="287" href="#287">287</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for ZooKeeper recovery retry interval millis */</em> +<a class="jxr_linenumber" 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 ZK_RECOVERY_RETRY_INTERVAL_MILLIS = <span class="jxr_string">"zookeeper.recovery.retry.intervalmillis"</span>; +<a class="jxr_linenumber" name="289" href="#289">289</a> +<a class="jxr_linenumber" name="290" href="#290">290</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for ZooKeeper recovery retry interval millis */</em> +<a class="jxr_linenumber" name="291" href="#291">291</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_ZK_RECOVERY_RETRY_INTERVAL_MILLIS = 1000; <a class="jxr_linenumber" name="292" href="#292">292</a> -<a class="jxr_linenumber" name="293" href="#293">293</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="294" href="#294">294</a> <em class="jxr_javadoccomment"> * Seconds in a week</em> -<a class="jxr_linenumber" name="295" href="#295">295</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" name="296" href="#296">296</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> WEEK_IN_SECONDS = 7 * 24 * 3600; -<a class="jxr_linenumber" name="297" href="#297">297</a> -<a class="jxr_linenumber" name="298" href="#298">298</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Host name of the local machine */</em> -<a class="jxr_linenumber" name="299" href="#299">299</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String LOCALHOST = <span class="jxr_string">"localhost"</span>; -<a class="jxr_linenumber" name="300" href="#300">300</a> -<a class="jxr_linenumber" name="301" href="#301">301</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> window for calculating cpu busy */</em> -<a class="jxr_linenumber" name="302" href="#302">302</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> CPU_WINDOW = 30; -<a class="jxr_linenumber" name="303" href="#303">303</a> -<a class="jxr_linenumber" name="304" href="#304">304</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> delay before next calculation of memusage and cpubusy */</em> -<a class="jxr_linenumber" name="305" href="#305">305</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> PLATFORM_STATS_DELAY = 30 * 1000; -<a class="jxr_linenumber" name="306" href="#306">306</a> -<a class="jxr_linenumber" name="307" href="#307">307</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for Listener request timeout */</em> -<a class="jxr_linenumber" 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 DCS_MASTER_LISTENER_REQUEST_TIMEOUT = <span class="jxr_string">"dcs.master.listener.request.timeout"</span>; +<a class="jxr_linenumber" name="293" href="#293">293</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for whether to use ZK.multi */</em> +<a class="jxr_linenumber" 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 ZOOKEEPER_USEMULTI = <span class="jxr_string">"dcs.zookeeper.useMulti"</span>; +<a class="jxr_linenumber" name="295" href="#295">295</a> +<a class="jxr_linenumber" name="296" href="#296">296</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> When we encode strings, we always specify UTF8 encoding */</em> +<a class="jxr_linenumber" 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 UTF8_ENCODING = <span class="jxr_string">"UTF-8"</span>; +<a class="jxr_linenumber" name="298" href="#298">298</a> +<a class="jxr_linenumber" name="299" href="#299">299</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="300" href="#300">300</a> <em class="jxr_javadoccomment"> * Unlimited time-to-live.</em> +<a class="jxr_linenumber" name="301" href="#301">301</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="302" href="#302">302</a> <em class="jxr_comment">// public static final int FOREVER = -1;</em> +<a class="jxr_linenumber" name="303" href="#303">303</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> FOREVER = Integer.MAX_VALUE; +<a class="jxr_linenumber" name="304" href="#304">304</a> +<a class="jxr_linenumber" name="305" href="#305">305</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="306" href="#306">306</a> <em class="jxr_javadoccomment"> * Seconds in a week</em> +<a class="jxr_linenumber" name="307" href="#307">307</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="308" href="#308">308</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> WEEK_IN_SECONDS = 7 * 24 * 3600; <a class="jxr_linenumber" name="309" href="#309">309</a> -<a class="jxr_linenumber" name="310" href="#310">310</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Listener default request timeout */</em> -<a class="jxr_linenumber" name="311" href="#311">311</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_LISTENER_REQUEST_TIMEOUT = 30 * 1000; <em class="jxr_comment">// 30</em> -<a class="jxr_linenumber" name="312" href="#312">312</a> <em class="jxr_comment">// seconds</em> -<a class="jxr_linenumber" name="313" href="#313">313</a> -<a class="jxr_linenumber" name="314" href="#314">314</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for Listener selector timeout */</em> -<a class="jxr_linenumber" name="315" href="#315">315</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_MASTER_LISTENER_SELECTOR_TIMEOUT = <span class="jxr_string">"dcs.master.listener.selector.timeout"</span>; -<a class="jxr_linenumber" name="316" href="#316">316</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Listener default selector timeout */</em> -<a class="jxr_linenumber" name="317" href="#317">317</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_LISTENER_SELECTOR_TIMEOUT = 10 * 1000; <em class="jxr_comment">// 10</em> -<a class="jxr_linenumber" name="318" href="#318">318</a> <em class="jxr_comment">// seconds</em> -<a class="jxr_linenumber" name="319" href="#319">319</a> -<a class="jxr_linenumber" name="320" href="#320">320</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for DCS master info port */</em> -<a class="jxr_linenumber" name="321" href="#321">321</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_MASTER_INFO_PORT = <span class="jxr_string">"dcs.master.info.port"</span>; -<a class="jxr_linenumber" name="322" href="#322">322</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DCS master info port */</em> -<a class="jxr_linenumber" name="323" href="#323">323</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_DCS_MASTER_INFO_PORT = 24400; -<a class="jxr_linenumber" name="324" href="#324">324</a> -<a class="jxr_linenumber" name="325" href="#325">325</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for server Listener selector timeout */</em> -<a class="jxr_linenumber" name="326" href="#326">326</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_LISTENER_SELECTOR_TIMEOUT = <span class="jxr_string">"dcs.server.listener.selector.timeout"</span>; -<a class="jxr_linenumber" name="327" href="#327">327</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Listener default server selector timeout */</em> -<a class="jxr_linenumber" name="328" href="#328">328</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_LISTENER_SELECTOR_TIMEOUT = 10 * 1000; <em class="jxr_comment">// 10</em> -<a class="jxr_linenumber" name="329" href="#329">329</a> <em class="jxr_comment">// seconds</em> -<a class="jxr_linenumber" name="330" href="#330">330</a> -<a class="jxr_linenumber" name="331" href="#331">331</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for server Listener request timeout */</em> -<a class="jxr_linenumber" name="332" href="#332">332</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_LISTENER_REQUEST_TIMEOUT = <span class="jxr_string">"dcs.server.listener.request.timeout"</span>; -<a class="jxr_linenumber" name="333" href="#333">333</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Listener default server request timeout */</em> -<a class="jxr_linenumber" name="334" href="#334">334</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_LISTENER_REQUEST_TIMEOUT = 30 * 1000; <em class="jxr_comment">// 30</em> -<a class="jxr_linenumber" name="335" href="#335">335</a> <em class="jxr_comment">// seconds</em> +<a class="jxr_linenumber" name="310" href="#310">310</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Host name of the local machine */</em> +<a class="jxr_linenumber" name="311" href="#311">311</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String LOCALHOST = <span class="jxr_string">"localhost"</span>; +<a class="jxr_linenumber" name="312" href="#312">312</a> +<a class="jxr_linenumber" name="313" href="#313">313</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> window for calculating cpu busy */</em> +<a class="jxr_linenumber" name="314" href="#314">314</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> CPU_WINDOW = 30; +<a class="jxr_linenumber" name="315" href="#315">315</a> +<a class="jxr_linenumber" name="316" href="#316">316</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> delay before next calculation of memusage and cpubusy */</em> +<a class="jxr_linenumber" name="317" href="#317">317</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> PLATFORM_STATS_DELAY = 30 * 1000; +<a class="jxr_linenumber" name="318" href="#318">318</a> +<a class="jxr_linenumber" name="319" href="#319">319</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for Listener request timeout */</em> +<a class="jxr_linenumber" name="320" href="#320">320</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_MASTER_LISTENER_REQUEST_TIMEOUT = <span class="jxr_string">"dcs.master.listener.request.timeout"</span>; +<a class="jxr_linenumber" name="321" href="#321">321</a> +<a class="jxr_linenumber" name="322" href="#322">322</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Listener default request timeout */</em> +<a class="jxr_linenumber" name="323" href="#323">323</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_LISTENER_REQUEST_TIMEOUT = 30 * 1000; <em class="jxr_comment">// 30</em> +<a class="jxr_linenumber" name="324" href="#324">324</a> <em class="jxr_comment">// seconds</em> +<a class="jxr_linenumber" name="325" href="#325">325</a> +<a class="jxr_linenumber" name="326" href="#326">326</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for Listener selector timeout */</em> +<a class="jxr_linenumber" name="327" href="#327">327</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_MASTER_LISTENER_SELECTOR_TIMEOUT = <span class="jxr_string">"dcs.master.listener.selector.timeout"</span>; +<a class="jxr_linenumber" name="328" href="#328">328</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Listener default selector timeout */</em> +<a class="jxr_linenumber" name="329" href="#329">329</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_LISTENER_SELECTOR_TIMEOUT = 10 * 1000; <em class="jxr_comment">// 10</em> +<a class="jxr_linenumber" name="330" href="#330">330</a> <em class="jxr_comment">// seconds</em> +<a class="jxr_linenumber" name="331" href="#331">331</a> +<a class="jxr_linenumber" name="332" href="#332">332</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for DCS master info port */</em> +<a class="jxr_linenumber" name="333" href="#333">333</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_MASTER_INFO_PORT = <span class="jxr_string">"dcs.master.info.port"</span>; +<a class="jxr_linenumber" name="334" href="#334">334</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DCS master info port */</em> +<a class="jxr_linenumber" name="335" href="#335">335</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_DCS_MASTER_INFO_PORT = 24400; <a class="jxr_linenumber" name="336" href="#336">336</a> -<a class="jxr_linenumber" name="337" href="#337">337</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for server Listener CONNECTING timeout */</em> -<a class="jxr_linenumber" name="338" href="#338">338</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_LISTENER_CONNECTING_TIMEOUT = <span class="jxr_string">"dcs.server.listener.request.timeout"</span>; -<a class="jxr_linenumber" name="339" href="#339">339</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Listener default server CONNECTING timeout */</em> -<a class="jxr_linenumber" name="340" href="#340">340</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_LISTENER_CONNECTING_TIMEOUT = 30 * 1000; <em class="jxr_comment">// 30</em> -<a class="jxr_linenumber" name="341" href="#341">341</a> <em class="jxr_comment">// seconds</em> +<a class="jxr_linenumber" name="337" href="#337">337</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for server Listener selector timeout */</em> +<a class="jxr_linenumber" name="338" href="#338">338</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_LISTENER_SELECTOR_TIMEOUT = <span class="jxr_string">"dcs.server.listener.selector.timeout"</span>; +<a class="jxr_linenumber" name="339" href="#339">339</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Listener default server selector timeout */</em> +<a class="jxr_linenumber" name="340" href="#340">340</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_LISTENER_SELECTOR_TIMEOUT = 10 * 1000; <em class="jxr_comment">// 10</em> +<a class="jxr_linenumber" name="341" href="#341">341</a> <em class="jxr_comment">// seconds</em> <a class="jxr_linenumber" name="342" href="#342">342</a> -<a class="jxr_linenumber" name="343" href="#343">343</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="344" href="#344">344</a> <em class="jxr_javadoccomment"> * Configuration key for server Listener number attempts BINDING assigned</em> -<a class="jxr_linenumber" name="345" href="#345">345</a> <em class="jxr_javadoccomment"> * port</em> -<a class="jxr_linenumber" name="346" href="#346">346</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" 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 DCS_SERVER_CHECK_TCPIPPORT_ATTEMPTS = <span class="jxr_string">"dcs.server.check.tcpipport.attempts"</span>; -<a class="jxr_linenumber" name="348" href="#348">348</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> server Listener default number attempts BINDING assigned port */</em> -<a class="jxr_linenumber" name="349" href="#349">349</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_DCS_SERVER_CHECK_TCPIPPORT_ATTEMPTS = 6; -<a class="jxr_linenumber" name="350" href="#350">350</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for server Listener interval between BINDING attempts */</em> -<a class="jxr_linenumber" 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 DCS_SERVER_CHECK_TCPIPPORT_RETRY_INTERVAL_MILLIS = <span class="jxr_string">"dcs.server.check.tcpipport.retry.interval.millis"</span>; -<a class="jxr_linenumber" name="352" href="#352">352</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> server Listener default interval between BINDING attempts */</em> -<a class="jxr_linenumber" name="353" href="#353">353</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_DCS_SERVER_CHECK_TCPIPPORT_RETRY_INTERVAL_MILLIS = 1000; +<a class="jxr_linenumber" name="343" href="#343">343</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for server Listener request timeout */</em> +<a class="jxr_linenumber" name="344" href="#344">344</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_LISTENER_REQUEST_TIMEOUT = <span class="jxr_string">"dcs.server.listener.request.timeout"</span>; +<a class="jxr_linenumber" name="345" href="#345">345</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Listener default server request timeout */</em> +<a class="jxr_linenumber" name="346" href="#346">346</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_LISTENER_REQUEST_TIMEOUT = 30 * 1000; <em class="jxr_comment">// 30</em> +<a class="jxr_linenumber" name="347" href="#347">347</a> <em class="jxr_comment">// seconds</em> +<a class="jxr_linenumber" name="348" href="#348">348</a> +<a class="jxr_linenumber" name="349" href="#349">349</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for server Listener CONNECTING timeout */</em> +<a class="jxr_linenumber" name="350" href="#350">350</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_LISTENER_CONNECTING_TIMEOUT = <span class="jxr_string">"dcs.server.listener.request.timeout"</span>; +<a class="jxr_linenumber" name="351" href="#351">351</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Listener default server CONNECTING timeout */</em> +<a class="jxr_linenumber" name="352" href="#352">352</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_LISTENER_CONNECTING_TIMEOUT = 30 * 1000; <em class="jxr_comment">// 30</em> +<a class="jxr_linenumber" name="353" href="#353">353</a> <em class="jxr_comment">// seconds</em> <a class="jxr_linenumber" name="354" href="#354">354</a> -<a class="jxr_linenumber" name="355" href="#355">355</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for maximum number of threads per DCS Server handler */</em> -<a class="jxr_linenumber" name="356" href="#356">356</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_HANDLER_THREADS_MAX = <span class="jxr_string">"dcs.server.handler.threads.max"</span>; -<a class="jxr_linenumber" name="357" href="#357">357</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default maximum number of threads per DCS Server handler */</em> -<a class="jxr_linenumber" name="358" href="#358">358</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_DCS_SERVER_HANDLER_THREADS_MAX = 10; -<a class="jxr_linenumber" name="359" href="#359">359</a> -<a class="jxr_linenumber" name="360" href="#360">360</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for DCS server info port */</em> -<a class="jxr_linenumber" 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 DCS_SERVER_INFO_PORT = <span class="jxr_string">"dcs.server.info.port"</span>; -<a class="jxr_linenumber" name="362" href="#362">362</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DCS server info port */</em> -<a class="jxr_linenumber" name="363" href="#363">363</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_DCS_SERVER_INFO_PORT = 40030; -<a class="jxr_linenumber" name="364" href="#364">364</a> -<a class="jxr_linenumber" name="365" href="#365">365</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> A flag that enables automatic selection of DCS server info port */</em> -<a class="jxr_linenumber" 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 DCS_SERVER_INFO_PORT_AUTO = <span class="jxr_string">"dcs.server.info.port.auto"</span>; -<a class="jxr_linenumber" name="367" href="#367">367</a> -<a class="jxr_linenumber" name="368" href="#368">368</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for DCS master info bind address */</em> -<a class="jxr_linenumber" 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 DCS_MASTER_INFO_BIND_ADDRESS = <span class="jxr_string">"dcs.master.info.bindAddress"</span>; -<a class="jxr_linenumber" name="370" href="#370">370</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DCS master info bind address */</em> -<a class="jxr_linenumber" name="371" href="#371">371</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_DCS_MASTER_INFO_BIND_ADDRESS = <span class="jxr_string">"0.0.0.0"</span>; -<a class="jxr_linenumber" name="372" href="#372">372</a> -<a class="jxr_linenumber" name="373" href="#373">373</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for DCS server info bind address */</em> -<a class="jxr_linenumber" name="374" href="#374">374</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_INFO_BIND_ADDRESS = <span class="jxr_string">"dcs.server.info.bindAddress"</span>; -<a class="jxr_linenumber" name="375" href="#375">375</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DCS server info bind address */</em> -<a class="jxr_linenumber" name="376" href="#376">376</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_DCS_SERVER_INFO_BIND_ADDRESS = <span class="jxr_string">"0.0.0.0"</span>; -<a class="jxr_linenumber" name="377" href="#377">377</a> -<a class="jxr_linenumber" name="378" href="#378">378</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for DCS DNS interface */</em> -<a class="jxr_linenumber" name="379" href="#379">379</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_DNS_INTERFACE = <span class="jxr_string">"dcs.dns.interface"</span>; -<a class="jxr_linenumber" name="380" href="#380">380</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DCS DNS interface */</em> -<a class="jxr_linenumber" name="381" href="#381">381</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_DCS_DNS_INTERFACE = <span class="jxr_string">"default"</span>; -<a class="jxr_linenumber" name="382" href="#382">382</a> -<a class="jxr_linenumber" name="383" href="#383">383</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DCS cloud command */</em> -<a class="jxr_linenumber" name="384" href="#384">384</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_CLOUD_COMMAND = <span class="jxr_string">"dcs.cloud.command"</span>; -<a class="jxr_linenumber" name="385" href="#385">385</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DCS cloud command */</em> -<a class="jxr_linenumber" name="386" href="#386">386</a> -<a class="jxr_linenumber" name="387" href="#387">387</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_DCS_CLOUD_COMMAND = <span class="jxr_string">"nova list | grep -v '^+' | grep -w `hostname` | sed 's/.*=\\([0-9.]*\\), \\([0-9.]*\\).*$/\\1,\\2/'"</span>; -<a class="jxr_linenumber" name="388" href="#388">388</a> -<a class="jxr_linenumber" name="389" href="#389">389</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> User program feature is enabled */</em> -<a class="jxr_linenumber" name="390" href="#390">390</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_TRAFODION_HOME = <span class="jxr_string">"dcs.trafodion.home"</span>; -<a class="jxr_linenumber" name="391" href="#391">391</a> -<a class="jxr_linenumber" name="392" href="#392">392</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> The sys_shell script name */</em> -<a class="jxr_linenumber" name="393" href="#393">393</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SYS_SHELL_SCRIPT_NAME = <span class="jxr_string">"sys_shell.py"</span>; +<a class="jxr_linenumber" name="355" href="#355">355</a> <em class="jxr_javadoccomment">/**</em> +<a class="jxr_linenumber" name="356" href="#356">356</a> <em class="jxr_javadoccomment"> * Configuration key for server Listener number attempts BINDING assigned</em> +<a class="jxr_linenumber" name="357" href="#357">357</a> <em class="jxr_javadoccomment"> * port</em> +<a class="jxr_linenumber" name="358" href="#358">358</a> <em class="jxr_javadoccomment"> */</em> +<a class="jxr_linenumber" name="359" href="#359">359</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_CHECK_TCPIPPORT_ATTEMPTS = <span class="jxr_string">"dcs.server.check.tcpipport.attempts"</span>; +<a class="jxr_linenumber" name="360" href="#360">360</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> server Listener default number attempts BINDING assigned port */</em> +<a class="jxr_linenumber" name="361" href="#361">361</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_DCS_SERVER_CHECK_TCPIPPORT_ATTEMPTS = 6; +<a class="jxr_linenumber" name="362" href="#362">362</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for server Listener interval between BINDING attempts */</em> +<a class="jxr_linenumber" 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 DCS_SERVER_CHECK_TCPIPPORT_RETRY_INTERVAL_MILLIS = <span class="jxr_string">"dcs.server.check.tcpipport.retry.interval.millis"</span>; +<a class="jxr_linenumber" name="364" href="#364">364</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> server Listener default interval between BINDING attempts */</em> +<a class="jxr_linenumber" name="365" href="#365">365</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_DCS_SERVER_CHECK_TCPIPPORT_RETRY_INTERVAL_MILLIS = 1000; +<a class="jxr_linenumber" name="366" href="#366">366</a> +<a class="jxr_linenumber" name="367" href="#367">367</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for maximum number of threads per DCS Server handler */</em> +<a class="jxr_linenumber" name="368" href="#368">368</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_HANDLER_THREADS_MAX = <span class="jxr_string">"dcs.server.handler.threads.max"</span>; +<a class="jxr_linenumber" name="369" href="#369">369</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default maximum number of threads per DCS Server handler */</em> +<a class="jxr_linenumber" name="370" href="#370">370</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_DCS_SERVER_HANDLER_THREADS_MAX = 10; +<a class="jxr_linenumber" name="371" href="#371">371</a> +<a class="jxr_linenumber" name="372" href="#372">372</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for DCS server info port */</em> +<a class="jxr_linenumber" name="373" href="#373">373</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_INFO_PORT = <span class="jxr_string">"dcs.server.info.port"</span>; +<a class="jxr_linenumber" name="374" href="#374">374</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DCS server info port */</em> +<a class="jxr_linenumber" name="375" href="#375">375</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_DCS_SERVER_INFO_PORT = 40030; +<a class="jxr_linenumber" name="376" href="#376">376</a> +<a class="jxr_linenumber" name="377" href="#377">377</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> A flag that enables automatic selection of DCS server info port */</em> +<a class="jxr_linenumber" name="378" href="#378">378</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_INFO_PORT_AUTO = <span class="jxr_string">"dcs.server.info.port.auto"</span>; +<a class="jxr_linenumber" name="379" href="#379">379</a> +<a class="jxr_linenumber" name="380" href="#380">380</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for DCS master info bind address */</em> +<a class="jxr_linenumber" name="381" href="#381">381</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_MASTER_INFO_BIND_ADDRESS = <span class="jxr_string">"dcs.master.info.bindAddress"</span>; +<a class="jxr_linenumber" name="382" href="#382">382</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DCS master info bind address */</em> +<a class="jxr_linenumber" 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 DEFAULT_DCS_MASTER_INFO_BIND_ADDRESS = <span class="jxr_string">"0.0.0.0"</span>; +<a class="jxr_linenumber" name="384" href="#384">384</a> +<a class="jxr_linenumber" name="385" href="#385">385</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for DCS server info bind address */</em> +<a class="jxr_linenumber" name="386" href="#386">386</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_SERVER_INFO_BIND_ADDRESS = <span class="jxr_string">"dcs.server.info.bindAddress"</span>; +<a class="jxr_linenumber" name="387" href="#387">387</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DCS server info bind address */</em> +<a class="jxr_linenumber" 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 DEFAULT_DCS_SERVER_INFO_BIND_ADDRESS = <span class="jxr_string">"0.0.0.0"</span>; +<a class="jxr_linenumber" name="389" href="#389">389</a> +<a class="jxr_linenumber" name="390" href="#390">390</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Configuration key for DCS DNS interface */</em> +<a class="jxr_linenumber" name="391" href="#391">391</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_DNS_INTERFACE = <span class="jxr_string">"dcs.dns.interface"</span>; +<a class="jxr_linenumber" name="392" href="#392">392</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DCS DNS interface */</em> +<a class="jxr_linenumber" name="393" href="#393">393</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_DCS_DNS_INTERFACE = <span class="jxr_string">"default"</span>; <a class="jxr_linenumber" name="394" href="#394">394</a> -<a class="jxr_linenumber" name="395" href="#395">395</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster Trafodion log feature */</em> -<a class="jxr_linenumber" name="396" href="#396">396</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_MASTER_TRAFODION_LOGS = <span class="jxr_string">"dcs.master.trafodion.logs"</span>; -<a class="jxr_linenumber" name="397" href="#397">397</a> -<a class="jxr_linenumber" name="398" href="#398">398</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster Trafodion logs is not enabled */</em> -<a class="jxr_linenumber" name="399" href="#399">399</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> DCS_MASTER_TRAFODION_LOGS_IS_NOT_ENABLED = false; +<a class="jxr_linenumber" name="395" href="#395">395</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DCS cloud command */</em> +<a class="jxr_linenumber" name="396" href="#396">396</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_CLOUD_COMMAND = <span class="jxr_string">"dcs.cloud.command"</span>; +<a class="jxr_linenumber" name="397" href="#397">397</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DCS cloud command */</em> +<a class="jxr_linenumber" name="398" href="#398">398</a> +<a class="jxr_linenumber" name="399" href="#399">399</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_DCS_CLOUD_COMMAND = <span class="jxr_string">"nova list | grep -v '^+' | grep -w `hostname` | sed 's/.*=\\([0-9.]*\\), \\([0-9.]*\\).*$/\\1,\\2/'"</span>; <a class="jxr_linenumber" name="400" href="#400">400</a> -<a class="jxr_linenumber" name="401" href="#401">401</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster Trafodion logs is enabled */</em> -<a class="jxr_linenumber" 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">boolean</strong> DCS_MASTER_TRAFODION_LOGS_IS_ENABLED = <strong class="jxr_keyword">true</strong>; +<a class="jxr_linenumber" name="401" href="#401">401</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> User program feature is enabled */</em> +<a class="jxr_linenumber" name="402" href="#402">402</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_TRAFODION_HOME = <span class="jxr_string">"dcs.trafodion.home"</span>; <a class="jxr_linenumber" name="403" href="#403">403</a> -<a class="jxr_linenumber" name="404" href="#404">404</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DcsMaster Trafodion logs feature */</em> -<a class="jxr_linenumber" name="405" href="#405">405</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> DEFAULT_DCS_MASTER_TRAFODION_LOGS = DCS_MASTER_TRAFODION_LOGS_IS_NOT_ENABLED; +<a class="jxr_linenumber" name="404" href="#404">404</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> The sys_shell script name */</em> +<a class="jxr_linenumber" name="405" href="#405">405</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String SYS_SHELL_SCRIPT_NAME = <span class="jxr_string">"sys_shell.py"</span>; <a class="jxr_linenumber" name="406" href="#406">406</a> -<a class="jxr_linenumber" name="407" href="#407">407</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster Trafodion query tools feature */</em> -<a class="jxr_linenumber" name="408" href="#408">408</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_MASTER_TRAFODION_QUERY_TOOLS = <span class="jxr_string">"dcs.master.trafodion.query.tools"</span>; +<a class="jxr_linenumber" name="407" href="#407">407</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster Trafodion log feature */</em> +<a class="jxr_linenumber" name="408" href="#408">408</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_MASTER_TRAFODION_LOGS = <span class="jxr_string">"dcs.master.trafodion.logs"</span>; <a class="jxr_linenumber" name="409" href="#409">409</a> -<a class="jxr_linenumber" name="410" href="#410">410</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster Trafodion query tools is not enabled */</em> -<a class="jxr_linenumber" name="411" href="#411">411</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> DCS_MASTER_TRAFODION_QUERY_TOOLS_IS_NOT_ENABLED = false; +<a class="jxr_linenumber" name="410" href="#410">410</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster Trafodion logs is not enabled */</em> +<a class="jxr_linenumber" name="411" href="#411">411</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> DCS_MASTER_TRAFODION_LOGS_IS_NOT_ENABLED = false; <a class="jxr_linenumber" name="412" href="#412">412</a> -<a class="jxr_linenumber" name="413" href="#413">413</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster Trafodion query tools is enabled */</em> -<a class="jxr_linenumber" name="414" href="#414">414</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> DCS_MASTER_TRAFODION_QUERY_TOOLS_IS_ENABLED = <strong class="jxr_keyword">true</strong>; +<a class="jxr_linenumber" name="413" href="#413">413</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster Trafodion logs is enabled */</em> +<a class="jxr_linenumber" name="414" href="#414">414</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> DCS_MASTER_TRAFODION_LOGS_IS_ENABLED = <strong class="jxr_keyword">true</strong>; <a class="jxr_linenumber" name="415" href="#415">415</a> -<a class="jxr_linenumber" name="416" href="#416">416</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DcsMaster Trafodion query tools feature */</em> -<a class="jxr_linenumber" name="417" href="#417">417</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> DEFAULT_DCS_MASTER_TRAFODION_QUERY_TOOLS = DCS_MASTER_TRAFODION_QUERY_TOOLS_IS_NOT_ENABLED; +<a class="jxr_linenumber" name="416" href="#416">416</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DcsMaster Trafodion logs feature */</em> +<a class="jxr_linenumber" name="417" href="#417">417</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> DEFAULT_DCS_MASTER_TRAFODION_LOGS = DCS_MASTER_TRAFODION_LOGS_IS_NOT_ENABLED; <a class="jxr_linenumber" name="418" href="#418">418</a> -<a class="jxr_linenumber" name="419" href="#419">419</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Names of the trafodion repository tables */</em> -<a class="jxr_linenumber" name="420" href="#420">420</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TRAFODION_REPOS_CATALOG = <span class="jxr_string">"TRAFODION"</span>; -<a class="jxr_linenumber" name="421" href="#421">421</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TRAFODION_REPOS_SCHEMA = <span class="jxr_string">"_REPOS_"</span>; -<a class="jxr_linenumber" name="422" href="#422">422</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TRAFODION_REPOS_CATALOG_SCHEMA = TRAFODION_REPOS_CATALOG -<a class="jxr_linenumber" name="423" href="#423">423</a> + <span class="jxr_string">"."</span> + TRAFODION_REPOS_SCHEMA; -<a class="jxr_linenumber" name="424" href="#424">424</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TRAFODION_REPOS_METRIC_SESSION_TABLE = TRAFODION_REPOS_CATALOG -<a class="jxr_linenumber" name="425" href="#425">425</a> + <span class="jxr_string">"."</span> + TRAFODION_REPOS_SCHEMA + <span class="jxr_string">"."</span> + <span class="jxr_string">"METRIC_SESSION_TABLE"</span>; -<a class="jxr_linenumber" name="426" href="#426">426</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TRAFODION_REPOS_METRIC_QUERY_TABLE = TRAFODION_REPOS_CATALOG -<a class="jxr_linenumber" name="427" href="#427">427</a> + <span class="jxr_string">"."</span> + TRAFODION_REPOS_SCHEMA + <span class="jxr_string">"."</span> + <span class="jxr_string">"METRIC_QUERY_TABLE"</span>; -<a class="jxr_linenumber" name="428" href="#428">428</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TRAFODION_REPOS_METRIC_QUERY_AGGR_TABLE = TRAFODION_REPOS_CATALOG -<a class="jxr_linenumber" name="429" href="#429">429</a> + <span class="jxr_string">"."</span> + TRAFODION_REPOS_SCHEMA + <span class="jxr_string">"."</span> + <span class="jxr_string">"METRIC_QUERY_AGGR_TABLE"</span>; +<a class="jxr_linenumber" name="419" href="#419">419</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster Trafodion query tools feature */</em> +<a class="jxr_linenumber" name="420" href="#420">420</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DCS_MASTER_TRAFODION_QUERY_TOOLS = <span class="jxr_string">"dcs.master.trafodion.query.tools"</span>; +<a class="jxr_linenumber" name="421" href="#421">421</a> +<a class="jxr_linenumber" name="422" href="#422">422</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster Trafodion query tools is not enabled */</em> +<a class="jxr_linenumber" name="423" href="#423">423</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> DCS_MASTER_TRAFODION_QUERY_TOOLS_IS_NOT_ENABLED = false; +<a class="jxr_linenumber" name="424" href="#424">424</a> +<a class="jxr_linenumber" name="425" href="#425">425</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster Trafodion query tools is enabled */</em> +<a class="jxr_linenumber" name="426" href="#426">426</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> DCS_MASTER_TRAFODION_QUERY_TOOLS_IS_ENABLED = <strong class="jxr_keyword">true</strong>; +<a class="jxr_linenumber" name="427" href="#427">427</a> +<a class="jxr_linenumber" name="428" href="#428">428</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for DcsMaster Trafodion query tools feature */</em> +<a class="jxr_linenumber" name="429" href="#429">429</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> DEFAULT_DCS_MASTER_TRAFODION_QUERY_TOOLS = DCS_MASTER_TRAFODION_QUERY_TOOLS_IS_NOT_ENABLED; <a class="jxr_linenumber" name="430" href="#430">430</a> -<a class="jxr_linenumber" name="431" href="#431">431</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> T2 Driver name */</em> -<a class="jxr_linenumber" name="432" href="#432">432</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String T2_DRIVER_CLASS_NAME = <span class="jxr_string">"org.apache.trafodion.jdbc.t2.T2Driver"</span>; -<a class="jxr_linenumber" name="433" href="#433">433</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> T2 Driver URL */</em> -<a class="jxr_linenumber" name="434" href="#434">434</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String T2_DRIVER_URL = <span class="jxr_string">"jdbc:t2jdbc:"</span>; -<a class="jxr_linenumber" name="435" href="#435">435</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> T2 Driver trace file */</em> -<a class="jxr_linenumber" name="436" href="#436">436</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String T2_DRIVER_TRACE_FILE = <span class="jxr_string">"t2.driver.trace.file"</span>; -<a class="jxr_linenumber" name="437" href="#437">437</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Default value for T2 Driver trace file */</em> -<a class="jxr_linenumber" name="438" href="#438">438</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_T2_DRIVER_TRACE_FILE = <span class="jxr_string">"${dcs.log.dir}/${dcs.log.file}"</span>; -<a class="jxr_linenumber" name="439" href="#439">439</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> T2 Driver trace flag */</em> -<a class="jxr_linenumber" name="440" href="#440">440</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String T2_DRIVER_TRACE_FLAG = <span class="jxr_string">"t2.driver.trace.flag"</span>; -<a class="jxr_linenumber" name="441" href="#441">441</a> <em class="jxr_javadoccomment">/**</em> -<a class="jxr_linenumber" name="442" href="#442">442</a> <em class="jxr_javadoccomment"> * Default value for T2 Driver trace flag, 0 = No tracing. 1 = Traces</em> -<a class="jxr_linenumber" name="443" href="#443">443</a> <em class="jxr_javadoccomment"> * connection and statement pooling calls only. 2 = Traces the LOB-code path</em> -<a class="jxr_linenumber" name="444" href="#444">444</a> <em class="jxr_javadoccomment"> * only. 3 = Traces the entry point of all JDBC methods.</em> -<a class="jxr_linenumber" name="445" href="#445">445</a> <em class="jxr_javadoccomment"> */</em> -<a class="jxr_linenumber" name="446" href="#446">446</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_T2_DRIVER_TRACE_FLAG = <span class="jxr_string">"0"</span>; -<a class="jxr_linenumber" name="447" href="#447">447</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> CQD to turn table stats off */</em> -<a class="jxr_linenumber" name="448" href="#448">448</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String CQD_ESTIMATE_HBASE_ROW_COUNT_OFF = <span class="jxr_string">"CONTROL QUERY DEFAULT estimate_hbase_row_count 'OFF'"</span>; -<a class="jxr_linenumber" name="449" href="#449">449</a> -<a class="jxr_linenumber" name="450" href="#450">450</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> T4 Driver name */</em> -<a class="jxr_linenumber" name="451" href="#451">451</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String T4_DRIVER_CLASS_NAME = <span class="jxr_string">"org.trafodion.jdbc.t4.T4Driver"</span>; -<a class="jxr_linenumber" name="452" href="#452">452</a> -<a class="jxr_linenumber" name="453" href="#453">453</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> T4 Driver URL */</em> -<a class="jxr_linenumber" name="454" href="#454">454</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String T4_DRIVER_URL = <span class="jxr_string">"jdbc:t4jdbc:"</span>; -<a class="jxr_linenumber" name="455" href="#455">455</a> -<a class="jxr_linenumber" name="456" href="#456">456</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster base64 encoded username:password used in <a href="../../../org/trafodion/dcs/util/JdbcT4Util.html">JdbcT4Util</a> */</em> -<a class="jxr_linenumber" name="457" href="#457">457</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String T4_DRIVER_USERNAME_PASSWORD = <span class="jxr_string">"org.trafodion.jdbc.t4.T4Driver.username.password"</span>; -<a class="jxr_linenumber" name="458" href="#458">458</a> -<a class="jxr_linenumber" name="459" href="#459">459</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> DcsMaster default base64 encoded username:password used in <a href="../../../org/trafodion/dcs/util/JdbcT4Util.html">JdbcT4Util</a> */</em> -<a class="jxr_linenumber" name="460" href="#460">460</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String DEFAULT_T4_DRIVER_USERNAME_PASSWORD = <span class="jxr_string">"dHJhZm9kaW9uOnRyYWYxMjMK"</span>; +<a class="jxr_linenumber" name="431" href="#431">431</a> <em class="jxr_javadoccomment">/**</em><em class="jxr_javadoccomment"> Names of the trafodion repository tables */</em> +<a class="jxr_linenumber" name="432" href="#432">432</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TRAFODION_REPOS_CATALOG = <span class="jxr_string">"TRAFODION"</span>; +<a class="jxr_linenumber" name="433" href="#433">433</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TRAFODION_REPOS_SCHEMA = <span class="jxr_string">"_REPOS_"</span>; +<a class="jxr_linenumber" name="434" href="#434">434</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <strong class="jxr_keyword">final</strong> String TRAFODION_REPOS_CATALOG_SCHEMA = TRAFODION_REPOS_CATALOG +<a class="jxr_linenumber" name="435" href="#435">435</a> + <span class="jxr_string">"."</span> + TRAFODION_REPOS_SCHEMA; +<a class="jxr_linenumber" name="436" href="#436">436</a> <strong class="jxr_keyword">public</strong> <strong class="jxr_keyword">static</strong> <stron
<TRUNCATED>
