Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
package org.apache.lucene.tests.mockfile;

import java.io.IOException;
import java.lang.foreign.Arena;
import java.lang.foreign.MemorySegment;
import java.nio.ByteBuffer;
import java.nio.MappedByteBuffer;
import java.nio.channels.FileChannel;
Expand Down Expand Up @@ -118,6 +120,11 @@ public MappedByteBuffer map(MapMode mode, long position, long size) throws IOExc
return delegate.map(mode, position, size);
}

@Override
public MemorySegment map(MapMode mode, long offset, long size, Arena arena) throws IOException {
return delegate.map(mode, offset, size, arena);
}

@Override
public FileLock lock(long position, long size, boolean shared) throws IOException {
return delegate.lock(position, size, shared);
Expand Down
Loading