You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2011/10/27 18:25:12 UTC

svn commit: r1189840 - /directory/apacheds/branches/apacheds-txns/core/src/main/java/org/apache/directory/server/core/log/LogFlushManager.java

Author: elecharny
Date: Thu Oct 27 16:25:12 2011
New Revision: 1189840

URL: http://svn.apache.org/viewvc?rev=1189840&view=rev
Log:
Removed the sync() method, it's not working anyway...

Modified:
    directory/apacheds/branches/apacheds-txns/core/src/main/java/org/apache/directory/server/core/log/LogFlushManager.java

Modified: directory/apacheds/branches/apacheds-txns/core/src/main/java/org/apache/directory/server/core/log/LogFlushManager.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/apacheds-txns/core/src/main/java/org/apache/directory/server/core/log/LogFlushManager.java?rev=1189840&r1=1189839&r2=1189840&view=diff
==============================================================================
--- directory/apacheds/branches/apacheds-txns/core/src/main/java/org/apache/directory/server/core/log/LogFlushManager.java (original)
+++ directory/apacheds/branches/apacheds-txns/core/src/main/java/org/apache/directory/server/core/log/LogFlushManager.java Thu Oct 27 16:25:12 2011
@@ -609,15 +609,4 @@ import org.apache.directory.server.i18n.
         /** Keeps track of the number of waiters */
         int numWaiters;
     }
-    
-    
-    /**
-     * Flush the pending data on disk.
-     * @throws IOException If there is an IO issue
-     * @throws InvalidLogException If the log is invalid
-     */
-    public void sync() throws IOException, InvalidLogException
-    {
-        flush( flushStatus.uptoLSN, null, 0, 0, false );
-    }
 }