directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1189840 - /directory/apacheds/branches/apacheds-txns/core/src/main/java/org/apache/directory/server/core/log/LogFlushManager.java
Date Thu, 27 Oct 2011 16:25:12 GMT
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 );
-    }
 }



Mime
View raw message