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

io.github.libtmux.Channel.Channel.awaitReservingCapacity

Java
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java
  • .NET Unavailable
  • C++ Unavailable
  • Swift Unavailable

View as Markdown

Module
io.github.libtmux.Channel
Declared in
Channel
Package
io.github.libtmux:libtmux
Source
libtmux/src/main/java/io/github/libtmux/Channel.java
awaitReservingCapacity ( timeout : Duration ) → WakeReason
method [source]
method [source]
awaitReservingCapacity

Waits while preserving process capacity for a call through this server that signals it.

Use this when the waiter and its release share a bounded transport. A wait released outside that transport should use #await ; reserving capacity for it only rejects useful concurrency.

Raises
  • io.github.libtmux.transport.TmuxTransportException – if the wait could not be dispatched

  • InterruptedException – if the waiting thread is interrupted, which is a cancellation rather than a timeout and so is not reported as one

0 declared, 0 inherited

Esc

Type to search.