public class AsyncFileChannel extends AbstractAsyncFileChannel<AsyncFileChannel>
| Modifier | Constructor and Description |
|---|---|
protected |
AsyncFileChannel(AsynchronousFileChannel delegate) |
| Modifier and Type | Method and Description |
|---|---|
static AsyncFileChannel |
open(Path file,
ExecutorService executor,
OpenOption... options) |
static AsyncFileChannel |
open(Path file,
ExecutorService executor,
Set<? extends OpenOption> options,
FileAttribute<?>... attrs) |
close, doLock, force, isOpen, lock, lock, lock, lock, read, read, size, truncate, tryLock, tryLock, upgradeLock, write, writeprotected AsyncFileChannel(AsynchronousFileChannel delegate)
public static AsyncFileChannel open(Path file, ExecutorService executor, OpenOption... options) throws IOException
IOExceptionpublic static AsyncFileChannel open(Path file, ExecutorService executor, Set<? extends OpenOption> options, FileAttribute<?>... attrs) throws IOException
IOExceptionCopyright © 2021. All rights reserved.