DesktopConfig
Desktop (JVM) settings. Ignored on other platforms, so shared code can configure everything once.
The JVM has no connectivity callback, so the monitor combines a zero-traffic interface pre-check, a bounded reachability probe on a schedule, and hints from the app's HTTP layer.
Properties
Link copied to clipboard
Upper bound for one whole check; hitting it counts as offline. Default 7 s.
Link copied to clipboard
Consecutive failed checks before offline is reported. Default 1.
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Which interfaces count as usable for the pre-check.
Link copied to clipboard
Report offline with no traffic when no usable network interface exists. Default true.
Link copied to clipboard
When to check. Default Schedule.Adaptive (30 s online, 3 s offline).
Link copied to clipboard
How reachability is checked. Default ProbeStrategy.Tcp.
Link copied to clipboard