NIO
Java · 6 notes
- NIO Bufferhistorical
ByteBuffer position, limit, capacity, flip/clear/compact, and heap versus direct buffers.
- NIO Channelhistorical
Java NIO channel abstractions, partial reads/writes, scattering/gathering, and channel lifecycle.
- java.nio.file.Fileshistorical
High-level Java filesystem operations and important caveats around atomicity, metadata, and large files.
- Java NIO Overviewhistorical
Buffers, channels, selectors, readiness-based multiplexing, and the scope of Java NIO.
- java.nio.file.Pathhistorical
Path composition, normalization, absolute/real paths, and filesystem-safe comparisons.
- Selector-Based NIO Serverhistorical
Designing a Java non-blocking server with Selector, per-connection state, partial I/O, and backpressure.