V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
twogoods
V2EX  ›  问与答

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

  •  
  •   twogoods · Jan 22, 2018 · 1197 views
    This topic created in 3026 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   ·   4037 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 00:53 · PVG 08:53 · LAX 17:53 · JFK 20:53
    ♥ Do have faith in what you're doing.