directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r1603898 - /directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedLeaf.java
Date Thu, 19 Jun 2014 14:44:26 GMT
Author: kayyagari
Date: Thu Jun 19 14:44:25 2014
New Revision: 1603898

URL: http://svn.apache.org/r1603898
Log:
added a method to set the value array to null (this is mainly used by the bulk loader to avoid
OOM error)

Modified:
    directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedLeaf.java

Modified: directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedLeaf.java
URL: http://svn.apache.org/viewvc/directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedLeaf.java?rev=1603898&r1=1603897&r2=1603898&view=diff
==============================================================================
--- directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedLeaf.java
(original)
+++ directory/mavibot/trunk/mavibot/src/main/java/org/apache/directory/mavibot/btree/PersistedLeaf.java
Thu Jun 19 14:44:25 2014
@@ -1330,6 +1330,16 @@ import static org.apache.directory.mavib
 
     
     /**
+     * sets the values to null
+     * WARNING: only used by the internal API (especially during the bulk loading)
+     */
+    /* no qualifier */ void _clearValues_()
+    {
+        values = null;
+    }
+
+    
+    /**
      * {@inheritDoc}
      */
     public String dumpPage( String tabs )



Mime
View raw message