- registerIfNot
register a Deadline threadlocal object to current thread.
- startTimer
start the timer before a method is invoked.
- stopTimer
end the time after a method is done.
- checkTimeout
Check whether the long running method timeout.
- getCurrentDeadline
- resetTimeout
reset the timeout value of this timer.
- <init>
- check
- clear
remove the registered Deadline threadlocal object from current thread.
- removeCurrentDeadline
- isStarted
Check whether the timer is started.
- newMetaException
convert DeadlineException to MetaException