⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 property.java

📁 derby database source code.good for you.
💻 JAVA
📖 第 1 页 / 共 2 页
字号:
     * Setting the property to true is the same as not setting the property at      * all, and will result in rll being enabled.  Setting the property to      * false disables rll.     *     **/	public static final String ROW_LOCKING = "derby.storage.rowLocking";	/**		derby.storage.propertiesId		<BR>		Stores the id of the conglomerate that holds the per-database		properties. Is stored in the service.properties file.		<P>		<B>INTERNAL USE ONLY</B> 	*/	String PROPERTIES_CONGLOM_ID = "derby.storage.propertiesId";	/**		derby.storage.tempDirectory		<BR>		Sets the temp directory for a database.		<P>	*/	String STORAGE_TEMP_DIRECTORY = "derby.storage.tempDirectory";	    /**     * derby.system.durability     * <p>     * Currently the only valid supported case insensitive value is 'test'      * Note, if this property is set to any other value other than 'test', this      * property setting is ignored     *      * In the future, this property can be used to set different modes - for      * example a form of relaxed durability where database can recover to a      * consistent state, or to enable some kind of in-memory mode.     * <BR>     * When set to 'test', the store system will not force sync calls in the      * following cases       * - for the log file at each commit     * - for the log file before data page is forced to disk     * - for page allocation when file is grown     * - for data writes during checkpoint     *      * That means     * - a commit no longer guarantees that the transaction's modification     *   will survive a system crash or JVM termination     * - the database may not recover successfully upon restart     * - a near full disk at runtime may cause unexpected errors     * - database can be in an inconsistent state     * <p>     * This setting is provided for performance reasons and should ideally     * only be used when the system can withstand the above consequences.     * <BR>      * One sample use would be to use this mode (derby.system.durability=test)     * when using Derby as a test database, where high performance is required     * and the data is not very important     * <BR>     * Valid supported values are test     * <BR>     * Example     * derby.system.durability=test     * One can set this as a command line option to the JVM when starting the     * application or in the derby.properties file. It is a system level      * property.     * <BR>     * This property is static; if you change it while Derby is running,      * the change does not take effect until you reboot.       */	public static final String DURABILITY_PROPERTY =         "derby.system.durability"; 	    /**     * This is a value supported for derby.system.durability     * When derby.system.durability=test, the storage system does not     * force syncs and the system may not recover. It is also possible that     * the database might be in an inconsistent state     * @see #DURABILITY_PROPERTY     */    public static final String DURABILITY_TESTMODE_NO_SYNC = "test";    	/**     * derby.storage.fileSyncTransactionLog     * <p>     * When set, the store system will use sync() call on the log at      * commit instead of doing  a write sync on all writes to  the log;	 * even if the write sync mode (rws) is supported in the JVM.      * <p>     *     **/	public static final String FILESYNC_TRANSACTION_LOG =         "derby.storage.fileSyncTransactionLog";	/**	 *	derby.storage.logArchiveMode	 *<BR>	 *used to identify whether the log is being archived for the database or not.	 *  It Is stored in the service.properties file.	 *      * This property can be set to the boolean values "true" or "false".       * Setting the property to true means log is being archived, which could be 	 * used for roll-forward recovery. Setting the property to      * false disables log archive mode.	 *<P>	 *<B>INTERNAL USE ONLY</B> 	 */	String LOG_ARCHIVE_MODE = "derby.storage.logArchiveMode";	/**	 *	derby.storage.logDeviceWhenBackedUp	 *<BR>	 *  This property indicates the logDevice location(path) when the backup was 	 *  taken, used to restore the log to the same location while restoring from	 *  backup.	 *<P>	 *<B>INTERNAL USE ONLY</B> 	 */	String LOG_DEVICE_AT_BACKUP = "derby.storage.logDeviceWhenBackedUp";    /**     *  derby.subSubProtocol.xxx     *<p>     *     * A new subsubprotocol can be defined by specifying the class that handles storage for the     * subsubprotocol by implementing the     * {@link org.apache.derby.io.StorageFactory StorageFactory} or     * {@link org.apache.derby.io.WritableStorageFactory WritableStorageFactory} interface. This     * is done using a property named db2j.subsubprotocol.<i>xxx</i> where <i>xxx</i> is the subsubprotocol name.     * Subsubprotocol names are case sensitive and must be at least 3 characters in length.     *<p>     *     * For instance:     *<br>     * derby.subSubProtocol.mem=com.mycompany.MemStore     *<br>     * defines the "mem" subsubprotocol with class com.mycompany.MemStore as its StorageFactory implementation.     * A database implemented using this subsubprotocol can be opened with the URL "jdbc:derby:mem:myDatabase".     *<p>     *     * Subsubprotocols "directory", "classpath", "jar", "http", and "https" are built in and may not be overridden.     */    String SUB_SUB_PROTOCOL_PREFIX = "derby.subSubProtocol.";	/*	** derby.language.*	*/	/**	 * The size of the table descriptor cache used by the	 * data dictionary.  Database.  Static.	 * <p>	 * Undocumented.	 */	String	LANG_TD_CACHE_SIZE = "derby.language.tableDescriptorCacheSize";	int		LANG_TD_CACHE_SIZE_DEFAULT = 64;	/**	 * The size of the stored prepared statment descriptor cache 	 * used by the data dictionary.  Database.  Static.	 * <p>	 * Externally visible.	 */	String	LANG_SPS_CACHE_SIZE = "derby.language.spsCacheSize";	int		LANG_SPS_CACHE_SIZE_DEFAULT =32;	/**	  derby.language.stalePlanCheckInterval	  <P>	  This property tells the number of times a prepared statement should	  be executed before checking whether its plan is stale.  Database.	  Dynamic.	  <P>	  Externally visible.	 */	String LANGUAGE_STALE_PLAN_CHECK_INTERVAL =								"derby.language.stalePlanCheckInterval";		/** Default value for above */	int DEFAULT_LANGUAGE_STALE_PLAN_CHECK_INTERVAL = 100;	/** Minimum value for above */	int MIN_LANGUAGE_STALE_PLAN_CHECK_INTERVAL = 5;	/*		Statement plan cache size		By default, 100 statements are cached	 */	String STATEMENT_CACHE_SIZE = "derby.language.statementCacheSize";	int STATEMENT_CACHE_SIZE_DEFAULT = 100;  /* some static fields */	public static final String DEFAULT_USER_NAME = "APP";	public static final String DATABASE_MODULE = "org.apache.derby.database.Database";	public static final String	DEFAULT_CONNECTION_MODE_PROPERTY = "derby.database.defaultConnectionMode";	public static final String NO_ACCESS = "noAccess";	public static final String READ_ONLY_ACCESS = "readOnlyAccess";	public static final String FULL_ACCESS = "fullAccess";	public static final String DEFAULT_ACCESS = FULL_ACCESS;	public static final String	READ_ONLY_ACCESS_USERS_PROPERTY = "derby.database.readOnlyAccessUsers";	public static final String	FULL_ACCESS_USERS_PROPERTY = "derby.database.fullAccessUsers";	/*	** Authentication	*/	// This is the property that turn on/off authentication	public static final String REQUIRE_AUTHENTICATION_PARAMETER =								"derby.connection.requireAuthentication";	public static final String AUTHENTICATION_PROVIDER_PARAMETER =								"derby.authentication.provider";	// This is the user property used by Cloudscape and LDAP schemes	public static final String USER_PROPERTY_PREFIX = "derby.user.";	// These are the different built-in providers Cloudscape supports	public static final String AUTHENTICATION_PROVIDER_BUILTIN =								"BUILTIN";	public static final String AUTHENTICATION_PROVIDER_LDAP =								"LDAP";	public static final String AUTHENTICATION_SERVER_PARAMETER =								"derby.authentication.server";	/*	** Log	*/	/**		Property name for specifying log switch interval	 */	public static final String LOG_SWITCH_INTERVAL = "derby.storage.logSwitchInterval";	/**		Property name for specifying checkpoint interval	 */	public static final String CHECKPOINT_INTERVAL = "derby.storage.checkpointInterval";	/**		Property name for specifying log archival location	 */	public static final String LOG_ARCHIVAL_DIRECTORY = "derby.storage.logArchive";	/**		Property name for specifying log Buffer Size	 */	public static final String LOG_BUFFER_SIZE = "derby.storage.logBufferSize";			/*	** Upgrade	*/		/**	 * Allow database upgrade during alpha/beta time. Only intended	 * to be used to allow Derby developers to test their upgrade code.	 * Only supported as a system/application (derby.properties) property.	 */	String ALPHA_BETA_ALLOW_UPGRADE = "derby.database.allowPreReleaseUpgrade";	    	/**		db2j.inRestore		<BR>		This Property is used to indicate that we are in restore mode if		if the system is doing a restore from backup.		Used internally to set flags to indicate that service is not booted.		<P>		<B>INTERNAL USE ONLY</B> 	*/	String IN_RESTORE_FROM_BACKUP = PROPERTY_RUNTIME_PREFIX  + "inRestore";			    	/**		db2j.deleteRootOnError		<BR>		If we a new root is created while doing restore from backup,		it should be deleted if a error occur before we could complete restore 		successfully.		<P>		<B>INTERNAL USE ONLY</B> 	*/	String DELETE_ROOT_ON_ERROR  = PROPERTY_RUNTIME_PREFIX  + "deleteRootOnError";		public static final String HTTP_DB_FILE_OFFSET = "db2j.http.file.offset";	public static final String HTTP_DB_FILE_LENGTH = "db2j.http.file.length";	public static final String HTTP_DB_FILE_NAME =   "db2j.http.file.name";    /**     * derby.drda.startNetworkServer     *<BR>     * If true then we will attempt to start a DRDA network server when Cloudscape boots,     * turning the current JVM into a server.     *<BR>     * Default: false     */    public static final String START_DRDA = "derby.drda.startNetworkServer";    /**     * derby.drda.logConnections     *<BR>     * Indicates whether to log connections and disconnections.     *<BR>     * Default: false     */	public final static String DRDA_PROP_LOGCONNECTIONS = "derby.drda.logConnections";    /**     * derby.drda.traceAll     *<BR>     * Turns tracing on for all sessions.     *<BR>     * Default: false     */	public final static String DRDA_PROP_TRACEALL = "derby.drda.traceAll";	public final static String DRDA_PROP_TRACE = "derby.drda.trace";    /**     * derby.drda.traceDirectory     *<BR>     * The directory used for network server tracing files.     *<BR>     * Default: if the derby.system.home property has been set,     * it is the default. Otherwise, the default is the current directory.     */	public final static String DRDA_PROP_TRACEDIRECTORY = "derby.drda.traceDirectory";	public final static String DRDA_PROP_MINTHREADS = "derby.drda.minThreads";	public final static String DRDA_PROP_MAXTHREADS = "derby.drda.maxThreads";	public final static String DRDA_PROP_TIMESLICE = "derby.drda.timeSlice";    /**     * derby.drda.portNumber     *<BR>     * The port number used by the network server.     */	public final static String DRDA_PROP_PORTNUMBER = "derby.drda.portNumber";	public final static String DRDA_PROP_HOSTNAME = "derby.drda.host";	/**	 * derby.drda.keepAlive	 *	 *<BR>	 * client socket setKeepAlive value	 */	public final static String DRDA_PROP_KEEPALIVE = "derby.drda.keepAlive";		/*	** Internal properties, mainly used by Monitor.	*/	public static final String SERVICE_PROTOCOL = "derby.serviceProtocol";	public static final String SERVICE_LOCALE = "derby.serviceLocale";}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -