V
vissuyk
Hi All,
I have been playing with MappedByteBuffer and file channels (NIO). I
have been to read a FileInputStream succesfully. When I then update
(using mappedbytebuffer.put(byte[]), it does write the update to disk.
Next time I restart the Java program and perform the read, it does not
have the update.
I did mappedbytebuffer.close but that did not help. Any tips are
appreciated. JDk = 1.5, OS = Linux 32 bit RHAT
Thanks
Vissu
I have been playing with MappedByteBuffer and file channels (NIO). I
have been to read a FileInputStream succesfully. When I then update
(using mappedbytebuffer.put(byte[]), it does write the update to disk.
Next time I restart the Java program and perform the read, it does not
have the update.
I did mappedbytebuffer.close but that did not help. Any tips are
appreciated. JDk = 1.5, OS = Linux 32 bit RHAT
Thanks
Vissu