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.

enum libtmux-java latest

Idempotence

Package io.github.libtmux.transport.Idempotence io.github.libtmux.transport

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

View as Markdown

Source and package
Module
io.github.libtmux.transport
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/transport/Idempotence.java
enum io.github.libtmux.transport.Idempotence
enum [source]

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#

Other 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

Type to search.