Java
234 notes
Some notes are currently available only in Chinese. English translations are shown when available.
- Fileshistorical
Check whether a file exists, create directories, copy files, move or rename files, delete files, and recursively traverse files.
- Heartbeat Mechanismhistorical
For servers, periodically clear idle channels; for clients, detect disconnected sessions and whether to reconnect.
- Packet Protocolhistorical
What sticky packets and split packets are, why the phenomenon appears with TCP byte streams, and how application-layer framing solves it.