Package | Description |
---|---|
net.smacke.jaydio | |
net.smacke.jaydio.align | |
net.smacke.jaydio.buffer | |
net.smacke.jaydio.channel |
Modifier and Type | Method and Description |
---|---|
static DirectIoLib |
DirectIoLib.getLibForPath(String workingDir)
Static method to register JNA hooks for doing direct I/O
|
Modifier and Type | Class and Description |
---|---|
class |
MockDirectIoLib |
Modifier and Type | Method and Description |
---|---|
static DirectIoByteChannelAligner |
DirectIoByteChannelAligner.open(DirectIoLib lib,
File path,
int bufferSize,
boolean readOnly) |
Constructor and Description |
---|
ByteChannelAligner(DirectIoLib lib,
BufferedChannel<T> channel,
T buffer) |
DirectIoByteChannelAligner(DirectIoLib lib,
BufferedChannel<AlignedDirectByteBuffer> channel,
AlignedDirectByteBuffer buffer) |
MockByteChannelAligner(DirectIoLib lib,
BufferedChannel<JaydioByteBuffer> channel,
JaydioByteBuffer buffer) |
Modifier and Type | Method and Description |
---|---|
static AlignedDirectByteBuffer |
AlignedDirectByteBuffer.allocate(DirectIoLib lib,
int capacity)
Allocate capacity bytes of native memory for use as a buffer, and
return a
AlignedDirectByteBuffer which gives an interface to this memory. |
Modifier and Type | Method and Description |
---|---|
static DirectIoByteChannel |
DirectIoByteChannel.getChannel(DirectIoLib lib,
File file,
boolean readOnly) |
Copyright © 2014. All Rights Reserved.