directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: r580566 [2/2] - in /directory/apacheds/branches/bigbang: bootstrap-plugin/src/main/java/org/apache/directory/server/core/bootstrap/plugin/ btree-base/src/main/java/org/apache/directory/server/core/partition/impl/btree/ core-unit/src/test/ja...
Date Sat, 29 Sep 2007 09:54:39 GMT
Modified: directory/apacheds/branches/bigbang/server-tools/src/main/java/org/apache/directory/server/tools/commands/dumpcmd/DumpCommandExecutor.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/server-tools/src/main/java/org/apache/directory/server/tools/commands/dumpcmd/DumpCommandExecutor.java?rev=580566&r1=580565&r2=580566&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/server-tools/src/main/java/org/apache/directory/server/tools/commands/dumpcmd/DumpCommandExecutor.java
(original)
+++ directory/apacheds/branches/bigbang/server-tools/src/main/java/org/apache/directory/server/tools/commands/dumpcmd/DumpCommandExecutor.java
Sat Sep 29 02:54:34 2007
@@ -472,7 +472,12 @@
 
         JdbmMasterTable master = new JdbmMasterTable( recMan );
         AttributeType attributeType = bootstrapRegistries.getAttributeTypeRegistry().lookup(
"apacheUpdn" );
-        JdbmIndex idIndex = new JdbmIndex( attributeType, partitionDirectory, 1000, 1000
);
+        JdbmIndex idIndex = new JdbmIndex();
+        idIndex.setAttributeId( attributeType.getName() );
+        idIndex.setWkDirPath( partitionDirectory );
+        idIndex.setCacheSize( 1000 );
+        idIndex.setNumDupLimit( 512 );
+        idIndex.init( attributeType, partitionDirectory );
 
         out.println( "#---------------------" );
         NamingEnumeration list = master.listTuples();



Mime
View raw message