directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r937628 - in /directory/apacheds/trunk/default-config/src/main/java/org/apache/directory/server/config: ConfigPartitionReader.java ConfigSchemaConstants.java
Date Sat, 24 Apr 2010 13:50:13 GMT
Author: kayyagari
Date: Sat Apr 24 13:50:13 2010
New Revision: 937628

URL: http://svn.apache.org/viewvc?rev=937628&view=rev
Log:
added code for handling configuration for duplicate count in JdbmIndex 

Modified:
    directory/apacheds/trunk/default-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
    directory/apacheds/trunk/default-config/src/main/java/org/apache/directory/server/config/ConfigSchemaConstants.java

Modified: directory/apacheds/trunk/default-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/default-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java?rev=937628&r1=937627&r2=937628&view=diff
==============================================================================
--- directory/apacheds/trunk/default-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
(original)
+++ directory/apacheds/trunk/default-config/src/main/java/org/apache/directory/server/config/ConfigPartitionReader.java
Sat Apr 24 13:50:13 2010
@@ -946,6 +946,13 @@ public class ConfigPartitionReader
             index.setCacheSize( Integer.parseInt( cacheAttr.getString() ) );
         }
 
+        EntryAttribute numDupAttr = indexEntry.get( ConfigSchemaConstants.ADS_INDEX_NUM_DUP_LIMIT
);
+
+        if ( numDupAttr != null )
+        {
+            index.setNumDupLimit( Integer.parseInt( numDupAttr.getString() ) );
+        }
+
         return index;
     }
 

Modified: directory/apacheds/trunk/default-config/src/main/java/org/apache/directory/server/config/ConfigSchemaConstants.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/default-config/src/main/java/org/apache/directory/server/config/ConfigSchemaConstants.java?rev=937628&r1=937627&r2=937628&view=diff
==============================================================================
--- directory/apacheds/trunk/default-config/src/main/java/org/apache/directory/server/config/ConfigSchemaConstants.java
(original)
+++ directory/apacheds/trunk/default-config/src/main/java/org/apache/directory/server/config/ConfigSchemaConstants.java
Sat Apr 24 13:50:13 2010
@@ -128,6 +128,8 @@ public interface ConfigSchemaConstants
     String ADS_JDBMINDEX = "ads-jdbmIndex";
 
     String ADS_INDEX_CACHESIZE = "ads-indexCacheSize";
+    
+    String ADS_INDEX_NUM_DUP_LIMIT = "ads-indexNumDupLimit";
 
     String ADS_TRANSPORT_ID = "ads-transportId";
 



Mime
View raw message