Return-Path: X-Original-To: apmail-db-derby-commits-archive@www.apache.org Delivered-To: apmail-db-derby-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C7E93F441 for ; Fri, 31 May 2013 18:25:15 +0000 (UTC) Received: (qmail 17220 invoked by uid 500); 31 May 2013 18:25:15 -0000 Delivered-To: apmail-db-derby-commits-archive@db.apache.org Received: (qmail 17188 invoked by uid 500); 31 May 2013 18:25:15 -0000 Mailing-List: contact derby-commits-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: Reply-To: "Derby Development" List-Id: Delivered-To: mailing list derby-commits@db.apache.org Received: (qmail 17181 invoked by uid 99); 31 May 2013 18:25:15 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 May 2013 18:25:15 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 31 May 2013 18:25:13 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id 58B4B2388847; Fri, 31 May 2013 18:24:54 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1488345 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/Property.java Date: Fri, 31 May 2013 18:24:54 -0000 To: derby-commits@db.apache.org From: rhillegas@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130531182454.58B4B2388847@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: rhillegas Date: Fri May 31 18:24:53 2013 New Revision: 1488345 URL: http://svn.apache.org/r1488345 Log: DERBY-6220: Flag additional Derby properties which are undocumented and remove an unused property. Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/Property.java Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/Property.java URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/Property.java?rev=1488345&r1=1488344&r2=1488345&view=diff ============================================================================== --- db/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/Property.java (original) +++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/reference/Property.java Fri May 31 18:24:53 2013 @@ -52,7 +52,7 @@ public interface Property { /** By convention properties that must not be stored any persistent form of - service properties start with this prefix. + service properties start with this prefix. These properties are not documented. */ public static final String PROPERTY_RUNTIME_PREFIX = "derby.__rt."; @@ -326,6 +326,8 @@ public interface Property { /** internal use only, passes the database classpathinto the class manager + + Undocumented. */ String BOOT_DB_CLASSPATH = PROPERTY_RUNTIME_PREFIX + "database.classpath"; @@ -359,9 +361,15 @@ public interface Property { */ /** + *

* Creation of an access factory should be done with no logging. * This is a run-time property that should not make it to disk * in the service.properties file. + *

+ * + *

+ * Undocumented. + *

**/ public static final String CREATE_WITH_NO_LOG = PROPERTY_RUNTIME_PREFIX + "storage.createWithNoLog"; @@ -489,7 +497,11 @@ public interface Property { * 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. - *

+ *

+ * + *

+ * Undocumented. + *

* **/ public static final String FILESYNC_TRANSACTION_LOG = @@ -609,10 +621,14 @@ public interface Property { String LANG_PERMISSIONS_CACHE_SIZE = "derby.language.permissionsCacheSize"; int LANG_PERMISSIONS_CACHE_SIZE_DEFAULT = 64; /** + *

* The size of the stored prepared statment descriptor cache * used by the data dictionary. Database. Static. - *

- * Externally visible. + *

+ * + *

+ * Externally visible but undocumented. + *

*/ String LANG_SPS_CACHE_SIZE = "derby.language.spsCacheSize"; int LANG_SPS_CACHE_SIZE_DEFAULT =32; @@ -621,7 +637,7 @@ public interface Property { * The size of the sequence generator cache * used by the data dictionary. Database. Static. *

- * Externally visible. + * Externally visible but undocumented. */ String LANG_SEQGEN_CACHE_SIZE = "derby.language.sequenceGeneratorCacheSize"; int LANG_SEQGEN_CACHE_SIZE_DEFAULT =32; @@ -643,7 +659,7 @@ public interface Property { be executed before checking whether its plan is stale. Database. Dynamic.

- Externally visible. + Externally visible but undocumented. */ String LANGUAGE_STALE_PLAN_CHECK_INTERVAL = "derby.language.stalePlanCheckInterval"; @@ -681,47 +697,91 @@ public interface Property { String STORAGE_AUTO_INDEX_STATS_TRACING = "derby.storage.indexStats.trace"; /** + *

* Specifies the lower threshold for the number of rows in a table before * creating statistics for the associated indexes. + *

+ * *

* NOTE: This is a debug property which will be removed or renamed. + *

+ * + *

+ * Undocumented. + *

*/ String STORAGE_AUTO_INDEX_STATS_DEBUG_CREATE_THRESHOLD = "derby.storage.indexStats.debug.createThreshold"; int STORAGE_AUTO_INDEX_STATS_DEBUG_CREATE_THRESHOLD_DEFAULT = 100; /** + *

* Specifies the lower threshold for the absolute difference between the * row estimate for the table and the row estimate for the index before * creating statistics for the associated indexes. + *

+ * *

* NOTE: This is a debug property which will be removed or renamed. + *

+ * + *

+ * Undocumented. + *

*/ String STORAGE_AUTO_INDEX_STATS_DEBUG_ABSDIFF_THRESHOLD = "derby.storage.indexStats.debug.absdiffThreshold"; int STORAGE_AUTO_INDEX_STATS_DEBUG_ABSDIFF_THRESHOLD_DEFAULT = 1000; /** + *

* Specifies the lower threshold for the logarithmical (natural logarithm e) * difference between the row estimate for the table and the row estimate * for the index before creating statistics for the associated indexes. + *

+ * *

* NOTE: This is a debug property which will be removed or renamed. + *

+ * + *

+ * Undocumented. + *

*/ String STORAGE_AUTO_INDEX_STATS_DEBUG_LNDIFF_THRESHOLD = "derby.storage.indexStats.debug.lndiffThreshold"; double STORAGE_AUTO_INDEX_STATS_DEBUG_LNDIFF_THRESHOLD_DEFAULT = 1.0; /** + *

* Specifies the size of the work unit queue in the index statistics update * daemon. + *

+ * + *

+ * NOTE: This is a debug property which will be removed or renamed. + *

+ * + *

+ * Undocumented. + *

*/ String STORAGE_AUTO_INDEX_STATS_DEBUG_QUEUE_SIZE = "derby.storage.indexStats.debug.queueSize"; int STORAGE_AUTO_INDEX_STATS_DEBUG_QUEUE_SIZE_DEFAULT = 20; /** + *

* Specifies whether to revert to 10.8 behavior and keep disposable stats. + *

+ * + *

+ * NOTE: This is a debug property which will be removed or renamed. + *

+ * + *

+ * Undocumented. + *

*/ String STORAGE_AUTO_INDEX_STATS_DEBUG_KEEP_DISPOSABLE_STATS = "derby.storage.indexStats.debug.keepDisposableStats"; @@ -790,6 +850,8 @@ public interface Property { "derby.authentication.provider"; // This is the user property used by Derby and LDAP schemes + // + // Should not be documented any longer. public static final String USER_PROPERTY_PREFIX = "derby.user."; // These are the different built-in providers Derby supports @@ -831,8 +893,10 @@ public interface Property { /** + *

* Property that specifies the name of the hash algorithm to use with * the configurable hash authentication scheme. + *

*/ public static final String AUTHENTICATION_BUILTIN_ALGORITHM = "derby.authentication.builtin.algorithm"; @@ -853,9 +917,11 @@ public interface Property { "SHA-1"; /** + *

* Property that specifies the number of bytes with random salt to use * when hashing credentials using the configurable hash authentication * scheme. + *

*/ public static final String AUTHENTICATION_BUILTIN_SALT_LENGTH = "derby.authentication.builtin.saltLength"; @@ -866,8 +932,10 @@ public interface Property { public static final int AUTHENTICATION_BUILTIN_SALT_LENGTH_DEFAULT = 16; /** + *

* Property that specifies the number of times to apply the hash * function in the configurable hash authentication scheme. + *

*/ public static final String AUTHENTICATION_BUILTIN_ITERATIONS = "derby.authentication.builtin.iterations"; @@ -883,21 +951,22 @@ public interface Property { /** Property name for specifying log switch interval + + Undocumented. */ 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 + Undocumented. */ - public static final String LOG_ARCHIVAL_DIRECTORY = "derby.storage.logArchive"; + public static final String CHECKPOINT_INTERVAL = "derby.storage.checkpointInterval"; /** Property name for specifying log Buffer Size + + Undocumented. */ public static final String LOG_BUFFER_SIZE = "derby.storage.logBufferSize"; @@ -924,9 +993,15 @@ public interface Property { */ /** + *

* 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. + *

+ * + *

+ * Undocumented. + *

*/ String ALPHA_BETA_ALLOW_UPGRADE = "derby.database.allowPreReleaseUpgrade"; @@ -958,31 +1033,57 @@ public interface Property { public static final String HTTP_DB_FILE_NAME = "db2j.http.file.name"; /** + *

* derby.drda.startNetworkServer - *
+ *

+ * + *

* If true then we will attempt to start a DRDA network server when Derby * boots, turning the current JVM into a server. - *
+ *

+ * + *

* Default: false + *

*/ public static final String START_DRDA = "derby.drda.startNetworkServer"; /** + *

* derby.drda.logConnections - *
+ *

+ * + *

* Indicates whether to log connections and disconnections. - *
+ *

+ * + *

* Default: false + *

*/ public final static String DRDA_PROP_LOGCONNECTIONS = "derby.drda.logConnections"; + /** + *

* derby.drda.traceAll - *
+ *

+ * + *

* Turns tracing on for all sessions. - *
+ *

+ * Default: false + * + *

* Default: false + *

*/ public final static String DRDA_PROP_TRACEALL = "derby.drda.traceAll"; + + /** + *

+ * derby.drda.trace + *

+ */ public final static String DRDA_PROP_TRACE = "derby.drda.trace"; /** @@ -1066,6 +1167,7 @@ public interface Property { public static final String SERVICE_PROTOCOL = "derby.serviceProtocol"; public static final String SERVICE_LOCALE = "derby.serviceLocale"; + // Undocumented public static final String COLLATION = "derby.database.collation"; // These are the six possible values for collation type if the collation // derivation is not NONE. If collation derivation is NONE, then collation