K - 远端键类型public abstract class AbstractRemotingClockFactory<K> extends Object implements IRemotingClockFactory<K>
IAutoRefreshTickClock,
IRemotingClockFactory| 限定符 | 构造器和说明 |
|---|---|
protected |
AbstractRemotingClockFactory()
无参构造函数
|
protected |
AbstractRemotingClockFactory(ConcurrentMap<K,IAutoRefreshTickClock> remotingClockMap)
有参构造函数
|
| 限定符和类型 | 方法和说明 |
|---|---|
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 在接口中 IRemotingClockFactory<K>remotingKey - 远端健值public void destroyClock(@NonNull
K remotingKey)
destroyClock 在接口中 IRemotingClockFactory<K>remotingKey - 远端键值Copyright © 2021 EasyJ寮�婧愮ぞ鍖�. All rights reserved.