db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rhille...@apache.org
Subject svn commit: r1311310 - /db/derby/code/trunk/java/engine/org/apache/derby/catalog/SequencePreallocator.java
Date Mon, 09 Apr 2012 16:16:17 GMT
Author: rhillegas
Date: Mon Apr  9 16:16:16 2012
New Revision: 1311310

URL: http://svn.apache.org/viewvc?rev=1311310&view=rev
Log:
DERBY-5687: Adjust the public api javadoc for SequencePreallocator so that it no longer refers
to identity columns.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/catalog/SequencePreallocator.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/catalog/SequencePreallocator.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/catalog/SequencePreallocator.java?rev=1311310&r1=1311309&r2=1311310&view=diff
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/catalog/SequencePreallocator.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/catalog/SequencePreallocator.java Mon
Apr  9 16:16:16 2012
@@ -25,15 +25,15 @@ import java.sql.SQLException;
 
 /**
  * <p>
- * Logic to determine how many values to pre-allocate for an identity column or sequence.
- * By default, Derby boosts concurrency by pre-allocating ranges of numbers for identity
columns and sequences.
+ * Logic to determine how many values to pre-allocate for a sequence.
+ * By default, Derby boosts concurrency by pre-allocating ranges of numbers for sequences.
  * During orderly database shutdown, the unused numbers are reclaimed so that shutdown will
  * not create holes in the sequences.  However, holes may appear if the application fails
to shut
  * down its databases before the JVM exits.
  * </p>
  *
  * <p>
- * Logic in this class is called every time Derby needs to pre-allocate a new range of identity/sequence
+ * Logic in this class is called every time Derby needs to pre-allocate a new range of sequence
  * values. Users can override Derby's default behavior by writing their own implementation
of this
  * interface and then setting the following Derby property:
  * </p>
@@ -44,8 +44,7 @@ import java.sql.SQLException;
  *
  * <p>
  * Classes which implement this interface must also provide a public 0-arg constructor so
- * that Derby can instantiate them. Derby will instantiate a SequencePreallocator for each
identity
- * column and sequence.
+ * that Derby can instantiate them. Derby will instantiate a SequencePreallocator for every
sequence.
  * </p>
  *
  */
@@ -54,12 +53,12 @@ public  interface   SequencePreallocator
     /**
      * <p>
      * This method returns the size of the next pre-allocated range for the specified
-     * identity column or sequence. Names are case-sensitive, as specified in CREATE SEQUENCE
+     * sequence. Names are case-sensitive, as specified in CREATE SEQUENCE
      * and CREATE TABLE statements.
      * </p>
      *
-     * @param schemaName Name of schema holding the sequence or identity-laden table.
-     * @param sequenceName Specific name of the sequence or identity-laden table.
+     * @param schemaName Name of schema holding the sequence.
+     * @param sequenceName Specific name of the sequence.
      */
     public  int nextRangeSize
         (



Mime
View raw message