Package com.powsybl.commons.io.mmap
Interface MemoryMappedFile
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
MemoryMapFileMock
,MemoryMappedFileImpl
public interface MemoryMappedFile extends AutoCloseable
- Author:
- Geoffroy Jamgotchian
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
close()
boolean
exists()
ByteBuffer
getBuffer(int size)
-
-
-
Method Detail
-
exists
boolean exists()
-
getBuffer
ByteBuffer getBuffer(int size) throws IOException
- Throws:
IOException
-
close
void close() throws IOException
- Specified by:
close
in interfaceAutoCloseable
- Throws:
IOException
-
-