K - 远端键类型public abstract class AbstractRemotingClockFactory<K> extends Object implements IRemotingClockFactory<K>
IAutoRefreshTickClock,
IRemotingClockFactory| Modifier | Constructor and Description |
|---|---|
protected |
AbstractRemotingClockFactory()
无参构造函数
|
protected |
AbstractRemotingClockFactory(ConcurrentMap<K,IAutoRefreshTickClock> remotingClockMap)
有参构造函数
|
| Modifier and Type | Method and Description |
|---|---|
void |
destroyClock(K remotingKey)
销毁远端时钟
|
IAutoRefreshTickClock |
getClock(K remotingKey)
获取远端时钟
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateClock, currentTimeMicros, currentTimeMillis, currentTimeNanos, getRemotingTime, nowprotected AbstractRemotingClockFactory()
protected AbstractRemotingClockFactory(ConcurrentMap<K,IAutoRefreshTickClock> remotingClockMap)
remotingClockMap - 保存远端时钟的Map@NonNull public IAutoRefreshTickClock getClock(@NonNull K remotingKey)
getClock in interface IRemotingClockFactory<K>remotingKey - 远端健值public void destroyClock(@NonNull
K remotingKey)
destroyClock in interface IRemotingClockFactory<K>remotingKey - 远端键值Copyright © 2021–2022 EasyJ????. All rights reserved.