directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kayyag...@apache.org
Subject svn commit: r681464 - /directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/TaggableSearchableChangeLogStore.java
Date Thu, 31 Jul 2008 19:59:49 GMT
Author: kayyagari
Date: Thu Jul 31 12:59:48 2008
New Revision: 681464

URL: http://svn.apache.org/viewvc?rev=681464&view=rev
Log:
added parameters to take the configured partion suffix and associated changelog containers
like tags and revisions

Modified:
    directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/TaggableSearchableChangeLogStore.java

Modified: directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/TaggableSearchableChangeLogStore.java
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/TaggableSearchableChangeLogStore.java?rev=681464&r1=681463&r2=681464&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/TaggableSearchableChangeLogStore.java
(original)
+++ directory/apacheds/branches/bigbang/core/src/main/java/org/apache/directory/server/core/changelog/TaggableSearchableChangeLogStore.java
Thu Jul 31 12:59:48 2008
@@ -40,9 +40,19 @@
     /**
      * 
      * Gets the read only Partition backed by this ChangeLogStore.
-     * The init() method on this partition needs to be called by the caller. 
-     *
-     * @return the read only uninitialized partition
+     * The init() method on this partition needs to be called by the caller.<br><br>
+     * Note: This partition allows add/delete operation on the tags container
+     *       The revisions container is read-only.<br><br>  
+     * The default containers of the partition are
+     *    <li>ou=changelog</li>
+     *    <li>ou=tags,ou=changelog</li>
+     *    <li>ou=revisions,ou=changelog</li> 
+     * 
+     * @param partitionSuffix the suffix of the partition e.x ou=chnagelog
+     * @param revOuSuffix the container for holding the revisions ex. ou=revisions
+     * @param tagOuSuffix the container for holding the tags ex. ou=tags
+     * 
+     * @return the partial-write enabled uninitialized partition
      */
-    Partition getPartition();
+    Partition getPartition( String partitionSuffix, String revOuSuffix, String tagOuSuffix
);
 }



Mime
View raw message