Hello Thomas

I briefly looked at the "fs" package and did a bit of the research
online. It seems like everybody and their mother is implementing a
Buffered RandomAccessFile just google that and you get a bunch of
implementation docs.
It looks like one of the primary concerns there is the thread-safety /
access synchronization of the buffer. I am not sure what (if any)
thread safety requirements are as far as H2 FileObject. Actually the
RandomAccessFile does not seem to be thread safe (not documented).
Also a number of methods in the RandomAccessFile are declared as
final, so inheriting it is probably not a good idea.

I wonder if there is a way to incorporate an existing and well tested
Buffered RandomAccessFile implementation that satisfies the threading
requirements of H2.

Alex

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "H2 
Database" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/h2-database?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to