org.mapdb.volume / Volume / fileLoad

fileLoad

open fun fileLoad(): Boolean

If underlying storage is memory-mapped-file, this method will try to load and precache all file data into disk cache. Most likely it will call MappedByteBuffer#load(), but could also read content of entire file etc This method will not pin data into memory, they might be removed at any time.

Return
true if this method did something, false if underlying storage does not support loading