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] (MAVIBOT-4) Cleanup the geneic usage in BTree and the associated classes
Date Sun, 11 Aug 2013 20:34:47 GMT
Emmanuel Lecharny created MAVIBOT-4:
---------------------------------------

             Summary: Cleanup the geneic usage in BTree and the associated classes
                 Key: MAVIBOT-4
                 URL: https://issues.apache.org/jira/browse/MAVIBOT-4
             Project: Mavibot
          Issue Type: Task
    Affects Versions: 1.0.0-M1
            Reporter: Emmanuel Lecharny
            Assignee: Emmanuel Lecharny
            Priority: Critical
             Fix For: 1.0.0-M2


We currently use inconsistent generic in the BTree classes. One of themajor problem is when
it comes to store data in pages, as we have various kind of storages :
- in memory
- value or BTree (for duplicate values)
- reference to page on disk

we use union of type, which makes it very complicated to define the correct types to use,
so we use no type at all, and cast or use instanceof. 

This is everything but good.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message