OperationReport
One command a transport finished or failed to finish.
Source and package
- Qualified name
-
io.github .libtmux .transport. Operation Report - Package
- io.github.libtmux.transport
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/transport/OperationReport.java
- class io.github.libtmux.transport.OperationReport ( id: long, verbs: List<String>, certainty: Dispatch
Outcome , exitCode: OptionalInt , stdoutLines: int, stderrLines: int, boundedError: String, queued: Duration, elapsed: Duration ) -
Description
The verbs are the first word of each command. Arguments, standard input, and stdout are not here: they carry session names, socket paths, and whatever a caller typed.
#boundedError()is stderr, cut off, and#toString()leaves it out.- Parameters
-
-
id(long) – a counter for this transport, so one call can be told from the next -
verbs(List<String>) – the commands, without their arguments -
certainty(DispatchOutcome ) – whether tmux never started, finished, or might have applied the command -
exitCode(OptionalInt ) – the process exit status, empty when the process did not finish -
stdoutLines(int) – how many stdout lines came back -
stderrLines(int) – how many stderr lines came back -
boundedError(String) – stderr text, at most#ERROR_LIMITcharacters -
queued(Duration) – how long the call waited for a free process or writer slot -
elapsed(Duration) – how long the command itself ran after that wait
-
Members12 members
- bound method Joins stderr lines and cuts them at
#ERROR_LIMIT. - boundedError method stderr text, at most
#ERROR_LIMITcharacters - certainty method whether tmux never started, finished, or might have applied the command
- elapsed method how long the command itself ran after that wait
- ERROR_LIMIT: int attribute How much stderr text a report keeps.
- exitCode method the process exit status, empty when the process did not finish
- id method a counter for this transport, so one call can be told from the next
- queued method how long the call waited for a free process or writer slot
- stderrLines method how many stderr lines came back
- stdoutLines method how many stdout lines came back
- toString method Counts and timings only. The error text stays on
#boundedError(). - verbs method the commands, without their arguments