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

enum libtmux-java

Idempotence

Whether running a request twice leaves tmux as running it once does.

Source and package
Qualified name
io.github.libtmux.transport.Idempotence
Package
io.github.libtmux.transport
Distribution
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/transport/Idempotence.java
enum io.github.libtmux.transport.Idempotence

Description

Decided from the commands themselves: a request is idempotent only when every command in it reads and changes nothing. Anything this library cannot tell is a read counts as a change, so a failure never reports a mutation as safe to resend.

Members3 members

  • IDEMPOTENT constant Every command only reads; sending it again cannot change tmux.
  • NOT_IDEMPOTENT constant At least one command may change tmux, so a second send may apply it twice.
  • of method The idempotence of a request made of commands, each an argv.
Esc
Search in

Type to search.

Reference previewOpen reference