public class ReadIndexStatus extends Object
| Constructor and Description |
|---|
ReadIndexStatus(List<ReadIndexState> states,
RpcRequests.ReadIndexRequest request,
long index) |
| Modifier and Type | Method and Description |
|---|---|
long |
getIndex() |
RpcRequests.ReadIndexRequest |
getRequest() |
List<ReadIndexState> |
getStates() |
boolean |
isApplied(long appliedIndex) |
boolean |
isOverMaxReadIndexLag(long applyIndex,
int maxReadIndexLag) |
public ReadIndexStatus(List<ReadIndexState> states, RpcRequests.ReadIndexRequest request, long index)
public boolean isApplied(long appliedIndex)
public boolean isOverMaxReadIndexLag(long applyIndex,
int maxReadIndexLag)
public long getIndex()
public RpcRequests.ReadIndexRequest getRequest()
public List<ReadIndexState> getStates()
Copyright © 2024. All rights reserved.