method libtmux-java latest
ServerMirror.awaitNewer
Waits for a view newer than epoch.
Source and package
- Module
- io.github.libtmux.snapshot
- Declared in
- ServerMirror
- Package
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/snapshot/ServerMirror.java
-
- Returns
-
the newer view, or empty when
timeoutpassed first or the mirror ended;#isEnded()and#cause()tell those apart - Raises
-
-
Interrupted
Exception – if the waiting thread is interrupted
-