| Modifier and Type | Class and Description |
|---|---|
| pack-priv static record | |
| pack-priv static record |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv static final int | IOV_MAX
Max number of iovec structures that readv/writev supports |
| private static final JavaNioAccess | |
| pack-priv static final long | WRITEV_MAX
Max total number of bytes that writev supports |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv static void | |
| pack-priv static Runnable | |
| pack-priv static Runnable | |
| pack-priv static long | |
| pack-priv static native void | |
| public static void | |
| pack-priv static native boolean | |
| pack-priv static native int | |
| pack-priv static native int | |
| public static native int | |
| pack-priv static native void | |
| pack-priv static native int | |
| public static void | |
| pack-priv static native long | |
| public static FileDescriptor | |
| pack-priv static native boolean | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | read(FileDescriptor fd, ByteBuffer dst, long position, boolean directIO, int alignment, NativeDispatcher nd)
|
| pack-priv static int | read(FileDescriptor fd, ByteBuffer dst, long position, boolean directIO, boolean async, int alignment, NativeDispatcher nd)
|
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, boolean directIO, int alignment, NativeDispatcher nd)
|
| pack-priv static long | read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, boolean directIO, boolean async, int alignment, NativeDispatcher nd)
|
| private static int | readIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb, long position, boolean directIO, boolean async, int alignment, NativeDispatcher nd)
|
| pack-priv static void | |
| pack-priv static void | |
| pack-priv static native void | |
| pack-priv static int | |
| pack-priv static int | |
| pack-priv static int | write(FileDescriptor fd, ByteBuffer src, long position, boolean directIO, int alignment, NativeDispatcher nd)
|
| pack-priv static int | write(FileDescriptor fd, ByteBuffer src, long position, boolean directIO, boolean async, int alignment, NativeDispatcher nd)
|
| pack-priv static long | |
| pack-priv static long | |
| pack-priv static long | write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, boolean direct, int alignment, NativeDispatcher nd)
|
| pack-priv static long | write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, boolean directIO, boolean async, int alignment, NativeDispatcher nd)
|
| pack-priv static native int | |
| private static int | writeFromNativeBuffer(FileDescriptor fd, ByteBuffer bb, long position, boolean directIO, boolean async, int alignment, NativeDispatcher nd)
|
| pack-priv static native long |
| IOV_MAX | back to summary |
|---|---|
| pack-priv static final int IOV_MAX Max number of iovec structures that readv/writev supports | |
| NIO_ACCESS | back to summary |
|---|---|
| private static final JavaNioAccess NIO_ACCESS | |
| WRITEV_MAX | back to summary |
|---|---|
| pack-priv static final long WRITEV_MAX Max total number of bytes that writev supports | |
| IOUtil | back to summary |
|---|---|
| private IOUtil() | |
| acquireScope | back to summary |
|---|---|
| pack-priv static void acquireScope(ByteBuffer bb, boolean async) | |
| acquireScopes | back to summary |
|---|---|
| pack-priv static Runnable acquireScopes(ByteBuffer[] buffers) | |
| acquireScopes | back to summary |
|---|---|
| pack-priv static Runnable acquireScopes(ByteBuffer buf, ByteBuffer[] buffers) | |
| bufferAddress | back to summary |
|---|---|
| pack-priv static long bufferAddress(ByteBuffer buf) | |
| configureBlocking | back to summary |
|---|---|
| pack-priv static native void configureBlocking(int fd, boolean blocking) throws IOException | |
| configureBlocking | back to summary |
|---|---|
| public static void configureBlocking(FileDescriptor fd, boolean blocking) throws IOException | |
| drain | back to summary |
|---|---|
| pack-priv static native boolean drain(int fd) throws IOException Read and discard all bytes. | |
| drain1 | back to summary |
|---|---|
| pack-priv static native int drain1(int fd) throws IOException Read and discard at most one byte
| |
| fdLimit | back to summary |
|---|---|
| pack-priv static native int fdLimit() | |
| fdVal | back to summary |
|---|---|
| public static native int fdVal(FileDescriptor fd) | |
| initIDs | back to summary |
|---|---|
| pack-priv static native void initIDs() | |
| iovMax | back to summary |
|---|---|
| pack-priv static native int iovMax() | |
| load | back to summary |
|---|---|
| public static void load() Used to trigger loading of native libraries | |
| makePipe | back to summary |
|---|---|
| pack-priv static native long makePipe(boolean blocking) throws IOException Returns two file descriptors for a pipe encoded in a long. The read end of the pipe is returned in the high 32 bits, while the write end is returned in the low 32 bits. | |
| newFD | back to summary |
|---|---|
| public static FileDescriptor newFD(int i) | |
| randomBytes | back to summary |
|---|---|
| pack-priv static native boolean randomBytes(byte[] someBytes) | |
| read | back to summary |
|---|---|
| pack-priv static int read(FileDescriptor fd, ByteBuffer dst, long position, NativeDispatcher nd) throws IOException | |
| read | back to summary |
|---|---|
| pack-priv static int read(FileDescriptor fd, ByteBuffer dst, long position, boolean async, NativeDispatcher nd) throws IOException | |
| read | back to summary |
|---|---|
| pack-priv static int read(FileDescriptor fd, ByteBuffer dst, long position, boolean directIO, int alignment, NativeDispatcher nd) throws IOException | |
| read | back to summary |
|---|---|
| pack-priv static int read(FileDescriptor fd, ByteBuffer dst, long position, boolean directIO, boolean async, int alignment, NativeDispatcher nd) throws IOException | |
| read | back to summary |
|---|---|
| pack-priv static long read(FileDescriptor fd, ByteBuffer[] bufs, NativeDispatcher nd) throws IOException | |
| read | back to summary |
|---|---|
| pack-priv static long read(FileDescriptor fd, ByteBuffer[] bufs, boolean async, NativeDispatcher nd) throws IOException | |
| read | back to summary |
|---|---|
| pack-priv static long read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, NativeDispatcher nd) throws IOException | |
| read | back to summary |
|---|---|
| pack-priv static long read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, boolean directIO, int alignment, NativeDispatcher nd) throws IOException | |
| read | back to summary |
|---|---|
| pack-priv static long read(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, boolean directIO, boolean async, int alignment, NativeDispatcher nd) throws IOException | |
| readIntoNativeBuffer | back to summary |
|---|---|
| private static int readIntoNativeBuffer(FileDescriptor fd, ByteBuffer bb, long position, boolean directIO, boolean async, int alignment, NativeDispatcher nd) throws IOException | |
| releaseScope | back to summary |
|---|---|
| pack-priv static void releaseScope(ByteBuffer bb) | |
| releaseScopes | back to summary |
|---|---|
| pack-priv static void releaseScopes(Runnable releasers) | |
| setfdVal | back to summary |
|---|---|
| pack-priv static native void setfdVal(FileDescriptor fd, int value) | |
| write | back to summary |
|---|---|
| pack-priv static int write(FileDescriptor fd, ByteBuffer src, long position, NativeDispatcher nd) throws IOException | |
| write | back to summary |
|---|---|
| pack-priv static int write(FileDescriptor fd, ByteBuffer src, long position, boolean async, NativeDispatcher nd) throws IOException | |
| write | back to summary |
|---|---|
| pack-priv static int write(FileDescriptor fd, ByteBuffer src, long position, boolean directIO, int alignment, NativeDispatcher nd) throws IOException | |
| write | back to summary |
|---|---|
| pack-priv static int write(FileDescriptor fd, ByteBuffer src, long position, boolean directIO, boolean async, int alignment, NativeDispatcher nd) throws IOException | |
| write | back to summary |
|---|---|
| pack-priv static long write(FileDescriptor fd, ByteBuffer[] bufs, boolean async, NativeDispatcher nd) throws IOException | |
| write | back to summary |
|---|---|
| pack-priv static long write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, NativeDispatcher nd) throws IOException | |
| write | back to summary |
|---|---|
| pack-priv static long write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, boolean direct, int alignment, NativeDispatcher nd) throws IOException | |
| write | back to summary |
|---|---|
| pack-priv static long write(FileDescriptor fd, ByteBuffer[] bufs, int offset, int length, boolean directIO, boolean async, int alignment, NativeDispatcher nd) throws IOException | |
| write1 | back to summary |
|---|---|
| pack-priv static native int write1(int fd, byte b) throws IOException | |
| writeFromNativeBuffer | back to summary |
|---|---|
| private static int writeFromNativeBuffer(FileDescriptor fd, ByteBuffer bb, long position, boolean directIO, boolean async, int alignment, NativeDispatcher nd) throws IOException | |
| writevMax | back to summary |
|---|---|
| pack-priv static native long writevMax() | |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| public Runnable | |
| public Runnable | |
| pack-priv static IOUtil. | |
| public void | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| next | back to summary |
|---|---|
| private final Runnable next Record Component accessed by next(). | |
| node | back to summary |
|---|---|
| private final Runnable node Record Component accessed by node(). | |
| LinkedRunnable | back to summary |
|---|---|
| pack-priv LinkedRunnable(Runnable node, Runnable next) | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| next | back to summary |
|---|---|
| public Runnable next() Record Component getter of next. | |
| node | back to summary |
|---|---|
| public Runnable node() Record Component getter of node. | |
| of | back to summary |
|---|---|
| pack-priv static IOUtil. | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |
| Modifier and Type | Field and Description |
|---|---|
| private final ByteBuffer |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | |
| public final boolean | equals(Object o)
Implements abstract java. Indicates whether some other object is "equal to" this one. |
| public final int | |
| pack-priv static Runnable | |
| public void | |
| public final String | toString()
Implements abstract java. Returns a string representation of the record. |
| bb | back to summary |
|---|---|
| private final ByteBuffer bb Record Component accessed by bb(). | |
| Releaser | back to summary |
|---|---|
| pack-priv Releaser(ByteBuffer bb) | |
| bb | back to summary |
|---|---|
| public ByteBuffer bb() Record Component getter of bb. | |
| equals | back to summary |
|---|---|
| public final boolean equals(Object o) Implements abstract java. Doc from java. Indicates whether some other object is "equal to" this one. In addition
to the general contract of
R copy = new R(r.c1(), r.c2(), ..., r.cn());
then it must be the case that r.equals(copy).
| |
| hashCode | back to summary |
|---|---|
| public final int hashCode() Implements abstract java. Doc from java. Returns a hash code value for the record.
Obeys the general contract of | |
| of | back to summary |
|---|---|
| pack-priv static Runnable of(ByteBuffer bb) | |
| run | back to summary |
|---|---|
| public void run() Implements java. Doc from java. Runs this operation.
| |
| toString | back to summary |
|---|---|
| public final String toString() Implements abstract java. Doc from java. Returns a string representation of the record.
In accordance with the general contract of In addition to this general contract, record classes must further participate in the invariant that any two records which are equal must produce equal strings. This invariant is necessarily relaxed in the rare case where corresponding equal component values might fail to produce equal strings for themselves. | |