MAP_RW, MAP_RO, MAP_COW parameters
Hi people,
I was looking for help with the parameters in object; I've seen that there are already some topics about theme...
I've the problem with JAVA2 programmer's guide by Ivor Horton at cap.11 with MemoryMappedFile.
I've seen that with the suggestion of using:
MappedByteBuffer buf = ioChannel.map(FileChannel.MapMode.READ_WRITE, 0L, ioChannel.size());
it works.
Also READ_ONLY param. works, but what about "copy on write" MAP_COW?
I tried using COPY_ON_WRITE, but it doesn't work...
Please Help...
Thanks in advance.
Luca
PS: sorry for my English, I know it's not so good.
Luca
|