クラス org.objectweb.cjdbc.controller.core.ControllerConstants

すべてのメンバ一覧

説明

Constants relative to C-JDBC controller.

作者:
Mathieu Peltier

Nicolas Modrzyk

Emmanuel Cecchet

Duncan Smith

バージョン:
1.0

ControllerConstants.java39 行で定義されています。

Static Public メソッド

final String getSaveFile (String resource)

Static Public 変数

final int DEFAULT_PORT = 25322
final String DEFAULT_IP = "0.0.0.0"
final int DEFAULT_BACKLOG_SIZE = 10
final String SHUTDOWN = "CJDBC_SHUTDOWN"
final String DEFAULT_BACKUP_DIR
final String C_JDBC_DTD_FILE = "c-jdbc.dtd"
final String C_JDBC_CONTROLLER_DTD_FILE = "c-jdbc-controller.dtd"
final int DEFAULT_CONTROLLER_WORKER_THREAD_SLEEP_TIME = 15000
final boolean JMX_ENABLE = false
final boolean ADD_DRIVER_ENABLE = false
final String DATABASE_DEFAULT_CHECKPOINT = "last"
final String DEFAULT_CONFIG_FILE = "controller.xml"
final String LOG4J_RESOURCE = "/log4j.properties"
final String DEFAULT_LOG_DIR_NAME = "log"
final String REPORT_LOCATION
final String REPORT_FILE = "cjdbc.report"
final String C_JDBC_DRIVER_JAR_FILE = "/c-jdbc-driver.jar"
final int AUTO_ENABLE_TRUE = 0
final int AUTO_ENABLE_FALSE = 1
final int AUTO_ENABLE_RESTORE = 2
final int AUTO_ENABLE_BACKEND = AUTO_ENABLE_RESTORE


メソッド

final String org.objectweb.cjdbc.controller.core.ControllerConstants.getSaveFile String  resource  )  [static]
 

Return default path and name for saving of configuration file

引数:
resource name of the resource to get save file for
戻り値:
path
ControllerConstants.java108 行で定義されています。

参照先 org.objectweb.cjdbc.controller.core.ControllerConstants.DEFAULT_CONFIG_FILE.

00109 { 00110 URL url = ControllerConstants.class.getResource("/" + DEFAULT_CONFIG_FILE); 00111 File dir = (new File(url.getFile())).getParentFile(); 00112 return dir.getPath() + File.separator + resource + "-saved.xml"; 00113 }


変数

final boolean org.objectweb.cjdbc.controller.core.ControllerConstants.ADD_DRIVER_ENABLE = false [static]
 

Add Driver enable by default ControllerConstants.java74 行で定義されています。

final int org.objectweb.cjdbc.controller.core.ControllerConstants.AUTO_ENABLE_BACKEND = AUTO_ENABLE_RESTORE [static]
 

Auto Enable Backend default ControllerConstants.java123 行で定義されています。

final int org.objectweb.cjdbc.controller.core.ControllerConstants.AUTO_ENABLE_FALSE = 1 [static]
 

Do not enable any backend when starting controller ControllerConstants.java118 行で定義されています。

final int org.objectweb.cjdbc.controller.core.ControllerConstants.AUTO_ENABLE_RESTORE = 2 [static]
 

Restore the state from an existing recovery log ControllerConstants.java120 行で定義されています。

final int org.objectweb.cjdbc.controller.core.ControllerConstants.AUTO_ENABLE_TRUE = 0 [static]
 

Enable all backend when starting up value ControllerConstants.java116 行で定義されています。

final String org.objectweb.cjdbc.controller.core.ControllerConstants.C_JDBC_CONTROLLER_DTD_FILE = "c-jdbc-controller.dtd" [static]
 

C-JDBC-Controller DTD file name (must be found in classpath). ControllerConstants.java62 行で定義されています。

final String org.objectweb.cjdbc.controller.core.ControllerConstants.C_JDBC_DRIVER_JAR_FILE = "/c-jdbc-driver.jar" [static]
 

Name of the C-JDBC JAR file (must be found in classpath). This information is used to find the drivers directory. ControllerConstants.java100 行で定義されています。

final String org.objectweb.cjdbc.controller.core.ControllerConstants.C_JDBC_DTD_FILE = "c-jdbc.dtd" [static]
 

C-JDBC DTD file name (must be found in classpath). ControllerConstants.java59 行で定義されています。

final String org.objectweb.cjdbc.controller.core.ControllerConstants.DATABASE_DEFAULT_CHECKPOINT = "last" [static]
 

Checkpoint to take by default ControllerConstants.java77 行で定義されています。

final int org.objectweb.cjdbc.controller.core.ControllerConstants.DEFAULT_BACKLOG_SIZE = 10 [static]
 

Default backlog size for driver connections. ControllerConstants.java48 行で定義されています。

final String org.objectweb.cjdbc.controller.core.ControllerConstants.DEFAULT_BACKUP_DIR [static]
 

初期値:

".." + File.separator + "backup"
Backup directory ControllerConstants.java54 行で定義されています。

final String org.objectweb.cjdbc.controller.core.ControllerConstants.DEFAULT_CONFIG_FILE = "controller.xml" [static]
 

Default configuration file ControllerConstants.java80 行で定義されています。

参照元 org.objectweb.cjdbc.controller.core.ControllerConstants.getSaveFile().

final int org.objectweb.cjdbc.controller.core.ControllerConstants.DEFAULT_CONTROLLER_WORKER_THREAD_SLEEP_TIME = 15000 [static]
 

Default sleep time in ms for a controller worker thread. If no job is ready after this time, the thread dies. ControllerConstants.java68 行で定義されています。

final String org.objectweb.cjdbc.controller.core.ControllerConstants.DEFAULT_IP = "0.0.0.0" [static]
 

Default IP address to bind controller to ControllerConstants.java45 行で定義されています。

final String org.objectweb.cjdbc.controller.core.ControllerConstants.DEFAULT_LOG_DIR_NAME = "log" [static]
 

Default log directory name (will be stored into CJDBC_HOME directory). ControllerConstants.java86 行で定義されています。

final int org.objectweb.cjdbc.controller.core.ControllerConstants.DEFAULT_PORT = 25322 [static]
 

Default controller port number value. ControllerConstants.java42 行で定義されています。

final boolean org.objectweb.cjdbc.controller.core.ControllerConstants.JMX_ENABLE = false [static]
 

JMX Enable by default ControllerConstants.java71 行で定義されています。

final String org.objectweb.cjdbc.controller.core.ControllerConstants.LOG4J_RESOURCE = "/log4j.properties" [static]
 

Log4j property file resource (must be found in classpath). ControllerConstants.java83 行で定義されています。

final String org.objectweb.cjdbc.controller.core.ControllerConstants.REPORT_FILE = "cjdbc.report" [static]
 

Report file ControllerConstants.java94 行で定義されています。

final String org.objectweb.cjdbc.controller.core.ControllerConstants.REPORT_LOCATION [static]
 

初期値:

".." + File.separator + DEFAULT_LOG_DIR_NAME
Default report location ControllerConstants.java89 行で定義されています。

final String org.objectweb.cjdbc.controller.core.ControllerConstants.SHUTDOWN = "CJDBC_SHUTDOWN" [static]
 

This allow to send a command from the ControllerShutdown class ControllerConstants.java51 行で定義されています。


このクラスの説明は次のファイルから生成されました:
CJDBCversion1.0.4に対してTue Oct 12 15:16:41 2004に生成されました。 doxygen 1.3.8