public void hintLoad() {
        final long address = ((DirectBuffer) (this.mappedByteBuffer)).address();
        Pointer pointer = new Pointer(address);

        long beginTime = Utils.monotonicMs();
        if (Platform.isLinux()) {
            int ret = LibC.INSTANCE.madvise(pointer, new NativeLong(this.fileSize), LibC.MADV_WILLNEED);
            LOG.info("madvise(MADV_WILLNEED) {} {} {} ret = {} time consuming = {}", address, this.filePath,
                this.fileSize, ret, Utils.monotonicMs() - beginTime);
        }
    }
Returns true when the segment file contains the log index.

@param logIndex the log index
@return true if the segment file contains the log index, otherwise return false
jraft-extension/java-log-storage-impl/src/main/java/com/alipay/sofa/jraft/storage/file/AbstractFile.java