| Package | Description |
|---|---|
| net.smacke.jaydio | |
| net.smacke.jaydio.align | |
| net.smacke.jaydio.buffer | |
| net.smacke.jaydio.channel |
| Modifier and Type | Method and Description |
|---|---|
int |
DirectIoLib.pread(int fd,
AlignedDirectByteBuffer buf,
long offset)
Interface into native pread function.
|
int |
DirectIoLib.pwrite(int fd,
AlignedDirectByteBuffer buf,
long offset)
Interface into native pwrite function.
|
| Constructor and Description |
|---|
DirectIoByteChannelAligner(DirectIoLib lib,
BufferedChannel<AlignedDirectByteBuffer> channel,
AlignedDirectByteBuffer buffer) |
| Constructor and Description |
|---|
DirectIoByteChannelAligner(DirectIoLib lib,
BufferedChannel<AlignedDirectByteBuffer> channel,
AlignedDirectByteBuffer 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. |
AlignedDirectByteBuffer |
AlignedDirectByteBuffer.copy() |
AlignedDirectByteBuffer |
AlignedDirectByteBuffer.get(byte[] dst) |
AlignedDirectByteBuffer |
AlignedDirectByteBuffer.get(byte[] dst,
int offset,
int length) |
AlignedDirectByteBuffer |
AlignedDirectByteBuffer.get(ByteBuffer dst) |
AlignedDirectByteBuffer |
AlignedDirectByteBuffer.put(byte b) |
AlignedDirectByteBuffer |
AlignedDirectByteBuffer.put(byte[] src) |
AlignedDirectByteBuffer |
AlignedDirectByteBuffer.put(byte[] src,
int offset,
int length) |
AlignedDirectByteBuffer |
AlignedDirectByteBuffer.put(ByteBuffer src) |
| Modifier and Type | Method and Description |
|---|---|
int |
DirectIoByteChannel.read(AlignedDirectByteBuffer dst,
long position) |
int |
DirectIoByteChannel.write(AlignedDirectByteBuffer src,
long position) |
Copyright © 2014. All Rights Reserved.