ShadowySpirits commented on issue #5720:
URL: https://github.com/apache/rocketmq/issues/5720#issuecomment-1356099094
The current implementation reserves the possibility to use a different clock
source, such as using a mock clock source in testing.
There is a similar usage in guava:
```java
/**
* Creates (but does not start) a new stopwatch, using the specified time
source.
*
* @since 15.0
*/
public static Stopwatch createUnstarted(Ticker ticker) {
return new Stopwatch(ticker);
}
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]