public class IteratorImpl extends Object
| 构造器和说明 |
|---|
IteratorImpl(StateMachine fsm,
LogManager logManager,
List<Closure> closures,
long firstClosureIndex,
long lastAppliedIndex,
long committedIndex,
AtomicLong applyingIndex) |
public IteratorImpl(StateMachine fsm, LogManager logManager, List<Closure> closures, long firstClosureIndex, long lastAppliedIndex, long committedIndex, AtomicLong applyingIndex)
public LogEntry entry()
public RaftException getError()
public boolean isGood()
public boolean hasError()
public void next()
public long getIndex()
public Closure done()
protected void runTheRestClosureWithError()
public void setErrorAndRollback(long ntail,
Status st)
Copyright © 2021. All rights reserved.