public class AlignedBuffersDirectFileIO extends AbstractFileIO
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
void |
close() |
void |
force() |
void |
force(boolean withMetadata) |
int |
getFileSystemBlockSize() |
long |
getSparseSize() |
MappedByteBuffer |
map(int sizeBytes) |
long |
position() |
void |
position(long newPosition) |
int |
punchHole(long position,
int len) |
int |
read(byte[] buf,
int off,
int len) |
int |
read(ByteBuffer destBuf) |
int |
read(ByteBuffer destBuf,
long filePosition) |
long |
size() |
int |
write(byte[] buf,
int off,
int len) |
int |
write(ByteBuffer srcBuf) |
int |
write(ByteBuffer srcBuf,
long filePosition) |
readFully, readFully, readFully, writeFully, writeFully, writeFullypublic int getFileSystemBlockSize()
public long getSparseSize()
public int punchHole(long position,
int len)
public long position()
throws IOException
IOExceptionpublic void position(long newPosition)
throws IOException
IOExceptionpublic int read(ByteBuffer destBuf) throws IOException
IOExceptionpublic int read(ByteBuffer destBuf, long filePosition) throws IOException
IOExceptionpublic int read(byte[] buf,
int off,
int len)
throws IOException
IOExceptionpublic int write(ByteBuffer srcBuf) throws IOException
IOExceptionpublic int write(ByteBuffer srcBuf, long filePosition) throws IOException
IOExceptionpublic int write(byte[] buf,
int off,
int len)
throws IOException
IOExceptionpublic MappedByteBuffer map(int sizeBytes) throws IOException
IOExceptionpublic void force()
throws IOException
IOExceptionpublic void force(boolean withMetadata)
throws IOException
IOExceptionpublic long size()
throws IOException
IOExceptionpublic void clear()
throws IOException
IOExceptionpublic void close()
throws IOException
IOException
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 8.9.28 Release Date : December 12 2025