On this page
io.github.libtmux.SnapshotCapture.SnapshotCapture
- Module
- io.github.libtmux.SnapshotCapture
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/SnapshotCapture.java
-
Reads a whole tmux server into one snapshot.
<p>One server-wide listing per kind of object, so ordering and membership stay tmux's decision rather than being re-derived from another listing's rows.
<p>Two commands: who the server is, then the listings as one group fenced against both halves of that answer, its pid and its version. tmux runs a group in the server, so rows cannot come from two of them, and a server that is not the one probed is refused before a listing runs rather than detected afterwards. Retrying is
Server#snapshot()'s decision, not this one's.
4 declared, 0 inherited
Members
- attempt method One attempt, empty when the server was replaced under it.
- process method Reads process identity and version together so neither can come from a different server.
- SnapshotCapture method
- ServerProcess struct