@FunctionalInterface
public interface NanoTimeSource
System.nanoTime() so retry loops and keep-alive deadlines in the
read/write splitting helpers can be unit-tested deterministically without real waits.| Modifier and Type | Field and Description |
|---|---|
static NanoTimeSource |
SYSTEM
The default source backed by
System.nanoTime(). |
| Modifier and Type | Method and Description |
|---|---|
long |
nanoTime() |
static final NanoTimeSource SYSTEM
System.nanoTime().