Core Library0.xAPI reference

Choose documentation 3

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

class libtmux-java

DispatchException

The request did not complete, with how certain it is that tmux applied it.

Source and package
Qualified name
io.github.libtmux.exception.DispatchException
Package
io.github.libtmux.exception
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/exception/DispatchException.java
class io.github.libtmux.exception.DispatchException

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.
Esc
Search in

Type to search.

Reference previewOpen reference