ServerMirror.onNewer
Arms a one-shot wakeup for when a view newer than epoch is published or the mirror ends.
Source and package
- Qualified name
-
io.github .libtmux .snapshot .Server Mirror. on Newer - Package
- io.github.libtmux.snapshot
- Declared in
ServerMirror- Distribution
- io.github.libtmux:libtmux
- Source
- libtmux/src/main/java/io/github/libtmux/snapshot/ServerMirror.java
-
Description
Runs
callbackat once, on this thread, when such a view already exists or the mirror has ended; otherwise once, on the mirror's own thread. The callback must not block.- Parameters
- Errors
-
-
Illegal
State – if a callback is already armedException
-
Recorded calls
source callsThe Java reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls io.github.libtmux.snapshot.ServerMirror.onNewer.