You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2012/08/01 13:36:44 UTC

svn commit: r1367926 - /jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java

Author: andy
Date: Wed Aug  1 11:36:44 2012
New Revision: 1367926

URL: http://svn.apache.org/viewvc?rev=1367926&view=rev
Log: (empty)

Modified:
    jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java

Modified: jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java?rev=1367926&r1=1367925&r2=1367926&view=diff
==============================================================================
--- jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java (original)
+++ jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/transaction/TransactionManager.java Wed Aug  1 11:36:44 2012
@@ -61,6 +61,13 @@ public class TransactionManager
     // Record happenings.
     private boolean recordHistory = false ;
     
+    /** This controls how many write transactions we batch up before 
+     *  deciding to flush the journal to the main database.  
+     */
+    @Deprecated
+    // Temporarily public ....
+    public static /*final*/ int QueueBatchSize = 0 ; 
+    
     enum TxnPoint { BEGIN, COMMIT, ABORT, CLOSE, QUEUE, UNQUEUE }
     private List<Pair<Transaction, TxnPoint>> transactionStateTransition ;
     
@@ -197,11 +204,6 @@ public class TransactionManager
             processDelayedReplayQueue(txn) ;
         }
         
-        /** This controls how many write transactions we batch up before 
-         *  deciding to flush the journal to the main database.  
-         */
-        private static final int QueueBatchSize = 0 ; 
-        
         @Override public void writerCommits(Transaction txn)
         {
             txn.getBaseDataset().getLock().leaveCriticalSection() ;