directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (MAVIBOT-4) Cleanup the geneic usage in BTree and the associated classes
Date Tue, 13 Aug 2013 19:18:49 GMT

    [ https://issues.apache.org/jira/browse/MAVIBOT-4?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13738698#comment-13738698
] 

Stefan Seelmann commented on MAVIBOT-4:
---------------------------------------

Thanks Emmanuel, looks much better now :)
                
> 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