Package cn.sliew.milky.common.stopwatch
Interface Ticker
-
- All Known Implementing Classes:
DisabledTicker,SystemTicker
public interface Ticker因为jdk提供的Clock只能支持毫秒级的时间,所以单独定义了Ticker提供 纳秒级的时间
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longread()Returns the number of nanoseconds elapsed since this ticker's fixed point of reference.
-