prefetch

open override fun prefetch(offset: Long, length: Long)

Optional method: Give a hint to this input that some bytes will be read in the near future. IndexInput implementations may take advantage of this hint to start fetching pages of data immediately from storage.

The default implementation is a no-op.

Parameters

offset

start offset

length

the number of bytes to prefetch