[ http://issues.apache.org/jira/browse/HADOOP-670?page=all ]

Konstantin Shvachko updated HADOOP-670:
---------------------------------------

    Attachment: Generics.patch

> Generic types for FSNamesystem
> ------------------------------
>
>                 Key: HADOOP-670
>                 URL: http://issues.apache.org/jira/browse/HADOOP-670
>             Project: Hadoop
>          Issue Type: Improvement
>    Affects Versions: 0.7.2
>            Reporter: Konstantin Shvachko
>         Assigned To: Konstantin Shvachko
>             Fix For: 0.8.0
>
>         Attachments: Generics.patch
>
>
> I introduced generic types for FSNamesystem class.
> I tried to keep interfaces in declarations of the member as general as 
> possible
> in order to have flexibility to change types of instances in the future.
> I tried to contain changes within one java file.
> I also replaced Vector types by ArrayList. Vectors are synchronized,
> which we don't need since we already have top level synchronization in 
> FSNamesystem.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to