Interface Clock
- All Known Implementing Classes:
MicrosecondEpochClock,StrictlyClock
public interface Clock
时钟接口,用于生成时间戳
-
Method Summary
-
Method Details
-
timestamp
long timestamp()获取当前时间戳- Returns:
- 当前时间戳
-
get
-
MicrosecondEpochClock, StrictlyClock