配置检测参数有几下方法 1. Creating manual checks instead of inventorized checks (using the variable checks). 2. Using the config variable check_parameters. 3. Setting check specific global default values. 4. using a check specific special configuration such as…
For public methods, use the Javadoc @throws tag to document the exception that will be thrown if a restriction on parameter values is violated (Item 62). Typically the exception will be IllegalArgumentException, IndexOutOfBounds Exception, or NullPoi…
Basic settings #check_parameters This is a configuration list assigning specific check parameters to checks created by inventory. It is a list of rules. Each rule is a tuple of 1. A check parameter 2. Optional: a list of host tags. 3. A list of host…
Hi guys, I am happy to tell you that I am moving to the open source world. And Java is the 1st language I have chosen for this migration. It's a nice chance to read some great books like "Effective Java 2nd Edition" and share the note for what I…
Suppose you want to give the data backup option in Oracle Forms application to some client users, where you have installed Oracle 11g client or direct from server.The following procedure executes a batch file placed in current working directory of th…
1.日期作为变量当做文件名的一部分. C:\Documents and Settings\Simon>echo %date%2008-09-09 星期二 C:\Documents and Settings\Simon>echo %date:~5,5%09-09 如果我们需要加入自订的分隔符,比如想要YYYY--MM--DD的格式,只需要分别取出YYYY, MM, DD再连接起来即可:C:\Documents and Settings\Simon>echo %date:~0,4%--%da…
Principle Failure atomic - A failed method invocation should leave the object in the state that it was in prior to the invocation. Ways to achieve failure atomic 1. Method operates on Immutable objects It's free to failure atomic since the state of t…