| 程序包 | 说明 |
|---|---|
| org.apache.ratis.server.raftlog.segmented |
| 限定符和类型 | 方法和说明 |
|---|---|
List<LogSegment> |
CacheInvalidationPolicy.evict(long[] followerNextIndices,
long safeEvictIndex,
long lastAppliedIndex,
org.apache.ratis.server.raftlog.segmented.SegmentedRaftLogCache.LogSegmentList segments,
int maxCachedSegments)
Determine which log segments should evict their log entry cache
|
List<LogSegment> |
CacheInvalidationPolicy.CacheInvalidationPolicyDefault.evict(long[] followerNextIndices,
long safeEvictIndex,
long lastAppliedIndex,
org.apache.ratis.server.raftlog.segmented.SegmentedRaftLogCache.LogSegmentList segments,
int maxCachedSegments) |
Copyright © 2017–2022 The Apache Software Foundation. All rights reserved.