Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

class libtmux-java latest

DispatchException

Package io.github.libtmux.exception.DispatchException io.github.libtmux.exception

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

View as Markdown

Source and package
Module
io.github.libtmux.exception
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/exception/DispatchException.java
class io.github.libtmux.exception.DispatchException
classabstract [source]

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#

Other 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

Type to search.