Author: kayyagari
Date: Thu May  2 14:22:12 2013
New Revision: 1478381

URL: http://svn.apache.org/r1478381
Log:
added type parameter

Modified:
    
labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeConfiguration.java

Modified: 
labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeConfiguration.java
URL: 
http://svn.apache.org/viewvc/labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeConfiguration.java?rev=1478381&r1=1478380&r2=1478381&view=diff
==============================================================================
--- 
labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeConfiguration.java
 (original)
+++ 
labs/mavibot/trunk/mavibot/src/main/java/org/apache/mavibot/btree/BTreeConfiguration.java
 Thu May  2 14:22:12 2013
@@ -84,6 +84,9 @@ public class BTreeConfiguration<K, V>
     /** Flag to enable duplicate key support */
     private boolean allowDuplicates;
 
+    /** the type of BTree */
+    private BTreeTypeEnum type;
+    
     /**
      * @return the pageSize
      */
@@ -296,4 +299,24 @@ public class BTreeConfiguration<K, V>
         this.allowDuplicates = allowDuplicates;
     }
 
+
+    /**
+     * @return the type of BTree
+     */
+    public BTreeTypeEnum getType()
+    {
+        return type;
+    }
+
+
+    /**
+     * Sets the type of the BTree
+     * 
+     * @param type the type of the tree
+     */
+    public void setType( BTreeTypeEnum type )
+    {
+        this.type = type;
+    }
+
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to