public class DeadlineTimeoutException extends TimeoutException
TimeoutException that carries a deadline and an actual value, both as UNIX times.| 限定符和类型 | 方法和说明 |
|---|---|
static DeadlineTimeoutException |
from(Deadline deadline)
Creates a new exception for the given timeout deadline and actual timeout.
|
Deadline |
getDeadline()
The expected deadline for this timeout since the start of UNIX time.
|
public static DeadlineTimeoutException from(Deadline deadline)
deadline - When was the deadline in UNIX time.public Deadline getDeadline()
Copyright © 2023. All rights reserved.