SleepingStopwatch
- 用于阻塞等待
- 计算时间
/**
* The underlying timer; used both to measure elapsed time and sleep as necessary. A separate
* object to facilitate testing.
*/
private final SleepingStopwatch stopwatch;
SleepingStopwatch
/**
* The underlying timer; used both to measure elapsed time and sleep as necessary. A separate
* object to facilitate testing.
*/
private final SleepingStopwatch stopwatch;
SleepingStopwatch
本文标题:guava:RateLimiter
本文链接:https://www.haomeiwen.com/subject/nvqtwftx.html
网友评论