I wanted to why MappedByteBuffer was not the obvious choice while reading from the file which has its benefits by mapping section of file onto memory?
Considering heap byte buffers requires extra copy from direct buffer to heap buffer and may have performance impact?
Hi, I am using ehcache as a pure disk cache. I see that you folks are using heap byte buffers to read from file channels by doing below
I wanted to why MappedByteBuffer was not the obvious choice while reading from the file which has its benefits by mapping section of file onto memory? Considering heap byte buffers requires extra copy from direct buffer to heap buffer and may have performance impact?