directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSERVER-1483) Refactor the Partition inheritence scheme
Date Wed, 17 Mar 2010 16:52:27 GMT
Refactor the Partition inheritence scheme
-----------------------------------------

                 Key: DIRSERVER-1483
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1483
             Project: Directory ApacheDS
          Issue Type: Task
            Reporter: Emmanuel Lecharny


The Pratition inheritence scheme is not perfect. We have an AbstractPrtition class which is
not extended by the MasterTable class. In fact, the current scheme is :

(Partition) <--- (PartitionNexus) O--- [DefaultPartitionNexus]
  O O O
   |   |   |  
   |   |   +---  [AbstractPartition]
   |   |                ^                 ^
   |   |                 |                  |
   |   |                 |                  +--- [NullPartition]
   |   |                 +--- [SchemaPartition]
   |   +--- [DefaultPartitionNexus]
   +--- [BtreePartition<ID>]
              ^               ^
               |                |
               |                +--- [LdifPartition]
               +--- [AbstractXdbmPartition<ID>]
                             ^                       ^
                              |                        |
                              |                        +--- [AvlPartition]
                              +--- [JdbmPartition]


This structure could be simplified, as every Partition class should extends the AbstractPartition
class

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message