On this page
io.github.libtmux.Server.Server.snapshot
- Module
- io.github.libtmux.Server
- Declared in
- Server
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/Server.java
- snapshot ( ) ServerSnapshot
-
Captures the whole hierarchy in at most four listings, retrying once if the server is replaced.
<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>Strict, unlike the lenient list accessors: a capture that failed raises instead of returning an apparently valid empty graph, because a caller cannot tell those apart.
- Raises
-
-
LibTmuxException – if a listing fails or the listings cannot form one valid snapshot
-
0 declared, 0 inherited