| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract void | |
| pack-priv void | dup(FileDescriptor
the file descriptor to duplicate fd1, FileDescriptor the new file descriptor, the socket or file that it is connected
to will be closed by this method fd2)Duplicates a file descriptor. |
| pack-priv void | |
| pack-priv boolean | needsPositionLock()
Returns |
| pack-priv int | |
| pack-priv final void | preClose(FileDescriptor fd, Thread reader, Thread writer)
Prepare the given file descriptor for closing. |
| pack-priv int | |
| pack-priv abstract int | |
| pack-priv abstract long | |
| pack-priv abstract int | |
| pack-priv abstract long |
| NativeDispatcher | back to summary |
|---|---|
| pack-priv NativeDispatcher() | |
| close | back to summary |
|---|---|
| pack-priv abstract void close(FileDescriptor fd) throws IOException | |
| dup | back to summary |
|---|---|
| pack-priv void dup(FileDescriptor fd1, FileDescriptor fd2) throws IOException Duplicates a file descriptor.
| |
| implPreClose | back to summary |
|---|---|
| pack-priv void implPreClose(FileDescriptor fd, Thread reader, Thread writer) throws IOException This method does nothing by default. On Unix systems the file descriptor is dup'ed to a special fd and native threads signalled. | |
| needsPositionLock | back to summary |
|---|---|
| pack-priv boolean needsPositionLock() Returns | |
| pread | back to summary |
|---|---|
| pack-priv int pread(FileDescriptor fd, long address, int len, long position) throws IOException | |
| preClose | back to summary |
|---|---|
| pack-priv final void preClose(FileDescriptor fd, Thread reader, Thread writer) throws IOException Prepare the given file descriptor for closing. If a virtual thread is blocked on the file descriptor then it is unparked so that it stops polling. On Unix systems, if a platform thread is blocked on the file descriptor then the file descriptor is dup'ed to a special fd and the thread signalled so that the syscall fails with EINTR. | |
| pwrite | back to summary |
|---|---|
| pack-priv int pwrite(FileDescriptor fd, long address, int len, long position) throws IOException | |
| read | back to summary |
|---|---|
| pack-priv abstract int read(FileDescriptor fd, long address, int len) throws IOException | |
| readv | back to summary |
|---|---|
| pack-priv abstract long readv(FileDescriptor fd, long address, int len) throws IOException | |
| write | back to summary |
|---|---|
| pack-priv abstract int write(FileDescriptor fd, long address, int len) throws IOException | |
| writev | back to summary |
|---|---|
| pack-priv abstract long writev(FileDescriptor fd, long address, int len) throws IOException | |