Package icu.easyj.core.clock
Class RefreshableTickClock
java.lang.Object
icu.easyj.core.clock.WrapperTickClock
icu.easyj.core.clock.RefreshableTickClock
- All Implemented Interfaces:
IClock,IRefreshableTickClock,ITickClock,IWrapperTickClock,Comparable<ITickClock>
- Direct Known Subclasses:
HighAccuracyRefreshableTickClock
可刷新的记号时钟
- Author:
- wangliang181230
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected ITickClock创建记号时钟获取记号时钟提供者protected voidinit()初始化void刷新记号时钟Methods inherited from class icu.easyj.core.clock.WrapperTickClock
currentTimeNanos, getBaseEpochMicros, getBaseTickNanos, getTickClock, setTickClockMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface icu.easyj.core.clock.IClock
currentTimeMicros, currentTimeMillis, currentTimeNanos, nowMethods inherited from interface icu.easyj.core.clock.ITickClock
compareTo, getBaseEpochMicros, getBaseTickNanos, getPassedNanos
-
Constructor Details
-
RefreshableTickClock
-
-
Method Details
-
createClock
创建记号时钟- Returns:
- 记号时钟
-
init
protected void init()初始化 -
refreshTickClock
public void refreshTickClock()刷新记号时钟- Specified by:
refreshTickClockin interfaceIRefreshableTickClock
-
getTickClockSupplier
Description copied from interface:IRefreshableTickClock获取记号时钟提供者- Specified by:
getTickClockSupplierin interfaceIRefreshableTickClock- Returns:
- 记号时钟提供者
-