public class AutoRefreshHighAccuracyTickClock extends HighAccuracyRefreshableTickClock implements IAutoRefreshTickClock
DEFAULT_TRY_COUNT, MIN_TRY_COUNT| 构造器和说明 |
|---|
AutoRefreshHighAccuracyTickClock(String name,
ScheduledThreadPoolExecutor scheduledThreadPoolExecutor,
Supplier<ITickClock> tickClockSupplier) |
AutoRefreshHighAccuracyTickClock(String name,
ScheduledThreadPoolExecutor scheduledThreadPoolExecutor,
Supplier<ITickClock> tickClockSupplier,
int tryCount) |
AutoRefreshHighAccuracyTickClock(String name,
Supplier<ITickClock> tickClockSupplier) |
AutoRefreshHighAccuracyTickClock(String name,
Supplier<ITickClock> tickClockSupplier,
int tryCount) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
destroy() |
boolean |
isAutoRefreshing()
判断是否正在自动刷新
|
boolean |
isDestroyed() |
void |
startAutoRefresh()
开始自动刷新
|
void |
stopAutoRefresh()
停止自动刷新
|
getTryCount, refreshTickClockcreateClock, getTickClockSupplier, initcurrentTimeNanos, getBaseEpochMicros, getBaseTickNanos, getTickClock, setTickClockclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetTickClockSupplier, refreshTickClockcompareTo, getBaseEpochMicros, getBaseTickNanos, getPassedNanoscurrentTimeMicros, currentTimeMillis, currentTimeNanos, nowpublic AutoRefreshHighAccuracyTickClock(String name, ScheduledThreadPoolExecutor scheduledThreadPoolExecutor, @NonNull Supplier<ITickClock> tickClockSupplier, int tryCount)
public AutoRefreshHighAccuracyTickClock(String name, ScheduledThreadPoolExecutor scheduledThreadPoolExecutor, @NonNull Supplier<ITickClock> tickClockSupplier)
public AutoRefreshHighAccuracyTickClock(String name, @NonNull Supplier<ITickClock> tickClockSupplier, int tryCount)
public AutoRefreshHighAccuracyTickClock(String name, @NonNull Supplier<ITickClock> tickClockSupplier)
public void startAutoRefresh()
IAutoRefreshTickClockstartAutoRefresh 在接口中 IAutoRefreshTickClockpublic void stopAutoRefresh()
IAutoRefreshTickClockstopAutoRefresh 在接口中 IAutoRefreshTickClockpublic boolean isAutoRefreshing()
IAutoRefreshTickClockisAutoRefreshing 在接口中 IAutoRefreshTickClockpublic void destroy()
throws DestroyFailedException
destroy 在接口中 DestroyableDestroyFailedExceptionpublic boolean isDestroyed()
isDestroyed 在接口中 DestroyableCopyright © 2021 EasyJ寮�婧愮ぞ鍖�. All rights reserved.