@ThreadSafe
public interface Clock
System.currentTimeMillis() is too slow.| Modifier and Type | Interface and Description |
|---|---|
static class |
Clock.CacheClock
Fix the problem that
System.currentTimeMillis() is too slow. |
static class |
Clock.SystemClock |
| Modifier and Type | Method and Description |
|---|---|
static long |
getSystemSecondTime() |
long |
secondTime() |