twogoods
V2EX  ›  问与答

Java 读写文件有非阻塞的 API 吗?

  •  
  •   twogoods · Jan 22, 2018 · 1243 views
    This topic created in 3054 days ago, the information mentioned may be changed or developed.

    看到了 java nio,然而 FileChannel 无法设置为非阻塞模式,它总是运行在阻塞模式下。
    回到操作系统很多讲 linux io 模型的都是以网络 io 来说的,linux 下读写本地文件有非阻塞模式吗?

    No Comments Yet
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1037 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 24ms · UTC 18:35 · PVG 02:35 · LAX 11:35 · JFK 14:35
    ♥ Do have faith in what you're doing.