DispatchException
The request did not complete, with how certain it is that tmux applied it.
Source and package
- Qualified name
-
io.github .libtmux .exception. Dispatch Exception - Package
- io.github.libtmux.exception
- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/exception/DispatchException.java
-
Description
"tmux never started" and "tmux timed out halfway" call for opposite recovery, so the certainty travels with the failure.
#safeToRetry()answers the question a caller usually has: whether sending the exact same request again can do harm.
Members6 members
- DispatchException method
- Failed class The transport failed for a reason other than a deadline: tmux could not start, or the channel broke.
- idempotence method Whether every command in the request only reads, so running it twice changes nothing.
- outcome method How certain the transport is that tmux applied the request.
- safeToRetry method Whether sending the exact same request again cannot apply it twice.
- TimedOut class The deadline passed before the request finished.