Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-1483

Refactor the Partition inheritence scheme

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.7
    • None
    • None

    Description

      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

      Attachments

        Activity

          People

            elecharny Emmanuel Lécharny
            elecharny Emmanuel Lécharny
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: