public class RefreshableTickClock extends WrapperTickClock implements IRefreshableTickClock
| Constructor and Description |
|---|
RefreshableTickClock(Supplier<ITickClock> tickClockSupplier) |
| Modifier and Type | Method and Description |
|---|---|
protected ITickClock |
createClock()
创建记号时钟
|
Supplier<ITickClock> |
getTickClockSupplier()
获取记号时钟提供者
|
protected void |
init()
初始化
|
void |
refreshTickClock()
刷新记号时钟
|
currentTimeNanos, getBaseEpochMicros, getBaseTickNanos, getTickClock, setTickClockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompareTo, getBaseEpochMicros, getBaseTickNanos, getPassedNanoscurrentTimeMicros, currentTimeMillis, currentTimeNanos, nowpublic RefreshableTickClock(@NonNull
Supplier<ITickClock> tickClockSupplier)
protected ITickClock createClock()
protected void init()
public void refreshTickClock()
refreshTickClock in interface IRefreshableTickClockpublic Supplier<ITickClock> getTickClockSupplier()
IRefreshableTickClockgetTickClockSupplier in interface IRefreshableTickClockCopyright © 2021–2022 EasyJ????. All rights reserved.