Modifier and Type | Method | Description |
---|---|---|
static Deadline.Ticker |
Deadline.getSystemTicker() |
Returns the ticker that's based on system clock.
|
Modifier and Type | Method | Description |
---|---|---|
static Deadline |
Deadline.after(long duration,
java.util.concurrent.TimeUnit units,
Deadline.Ticker ticker) |
Create a deadline that will expire at the specified offset based on the given
Deadline.Ticker . |