[jboss-dev-forums] [Design of Messaging on JBoss (Messaging/JBoss)] - Re: AIO only waiting for completions on add
timfox
do-not-reply at jboss.com
Tue May 13 05:46:51 EDT 2008
A few points though on your last commit.
1) Several files were missing copyright headers and class headers showing authorship. All files must have both of these before committing! I shouldn't have to keep saying this.. ;)
2) Lots of cosmetic changes to files, code style, indentation, putting private public, static methods in their own sections of the file. Adding final to attributes and parameters. Making inner classes static. Making inner classes private. Making members private. Various other minor coding issues like the above.
3) Remoting timeout has changed from seconds to milliseconds? I agree we should change from s to ms, but has this been changed everywhere?
4) TypedProperties - the encodeSize() method traverses the entire map every time it is called. I don't like this for performance reasons. Instead the size should be maintained internally.
5) Min files was changed to 2, and file size changed from 10MB to 100 MB. 10MB was originally chosen since it seems a reasonable size to fit on a single cylinder of a disk. This allows the entire file to be accessed without moving the head. When I changed it back to 10MB and 10 files, none of the jms tests run any more reporting they can't initialise AIO (or something like that).
Apart from that, looking good! :)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150299#4150299
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150299
More information about the jboss-dev-forums
mailing list