| Package | Description |
|---|---|
| org.apache.ratis.server.raftlog.segmented |
| Modifier and Type | Method and Description |
|---|---|
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–2023 The Apache Software Foundation. All rights reserved.