TimeoutTracker(Duration timeout, boolean startTrackingTimeout) 构造函数

定义

public TimeoutTracker(Duration timeout, boolean startTrackingTimeout)

参数

timeout
Duration

original operationTimeout

startTrackingTimeout
boolean

whether/not to start the timeout tracking - right now. if not started now, timer tracking will start upon the first call to TimeoutTracker#elapsed()/TimeoutTracker#remaining()

适用于