public abstract class AbstractEvictableLeaseManager<T extends Node> extends LeaderAwareLeaseManager<T> implements Evictable
Mar 09, 2021
metaLeaderServicecurrentEpoch, localRepo, lock, logger| 构造器和说明 |
|---|
AbstractEvictableLeaseManager() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
doDispose() |
void |
doInitialize() |
void |
evict()
Evict.
|
protected abstract int |
getEvictBetweenMilli() |
protected List<Lease<T>> |
getExpiredLeases() |
protected abstract int |
getIntervalMilli() |
amILeader, cancel, register, renewgetLease, getLeaseMeta, refreshEpochaddObserver, notifyObservers, removeObserverdispose, doStart, doStop, getLifecycleState, initialize, start, stopclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinitializedisposegetLifecycleStatepublic void doInitialize()
throws InitializeException
doInitialize 在类中 AbstractLifecycleInitializeExceptionpublic void doDispose()
throws DisposeException
doDispose 在类中 AbstractLifecycleDisposeExceptionprotected abstract int getEvictBetweenMilli()
protected abstract int getIntervalMilli()
Copyright © 2023 The Ant Financial. All rights reserved.