我有 2 个问题
如果我的操作系统不支持 AIO(低于 linux 2.6 等),AsynchronousFileChannel 将如何工作。
如何将 sth 附加到 AsynchronousFileChannel,据我所知 AsynchronousFileChannel 只支持 write(ByteBuffer, long position, A attachment, CompletionHandler handler) 和 write(ByteBuffer src, long position) 都需要一个位置参数。我应该自己计算位置吗?