Create a deadline that will expire at the specified offset based on the #getSystemTicker system ticker. If the given offset is extraordinarily long, say 100 years, the actual deadline created might saturate. @param duration A non-negative duration. @param units The time unit for the dur
(long duration, TimeUnit units)
| 67 | * @return A new deadline. |
| 68 | */ |
| 69 | public static Deadline after(long duration, TimeUnit units) { |
| 70 | return after(duration, units, SYSTEM_TICKER); |
| 71 | } |
| 72 | |
| 73 | /** |
| 74 | * Create a deadline that will expire at the specified offset based on the given {@link Ticker}. |
no outgoing calls