MemoryMappableBlockLoader, PmemMappableBlockLoader@Private
@Unstable
public abstract class MappableBlockLoader
extends java.lang.Object
| Constructor | Description |
|---|---|
MappableBlockLoader() |
| Modifier and Type | Method | Description |
|---|---|---|
protected int |
fillBuffer(java.nio.channels.FileChannel channel,
java.nio.ByteBuffer buf) |
Reads bytes into a buffer until EOF or the buffer's limit is reached.
|
protected void |
verifyChecksum(long length,
java.io.FileInputStream metaIn,
java.nio.channels.FileChannel blockChannel,
java.lang.String blockFileName) |
Verifies the block's checksum.
|
protected void verifyChecksum(long length,
java.io.FileInputStream metaIn,
java.nio.channels.FileChannel blockChannel,
java.lang.String blockFileName)
throws java.io.IOException
java.io.IOExceptionprotected int fillBuffer(java.nio.channels.FileChannel channel,
java.nio.ByteBuffer buf)
throws java.io.IOException
java.io.IOExceptionCopyright © 2008–2025 Apache Software Foundation. All rights reserved.