| 程序包 | 说明 |
|---|---|
| com.alipay.sofa.jraft | |
| com.alipay.sofa.jraft.core |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
FSMCaller.onError(RaftException error)
Called when error happens.
|
void |
StateMachine.onError(RaftException e)
This method is called when a critical error was encountered, after this
point, no any further modification is allowed to applied to this node
until the error is fixed and this node restarts.
|
void |
ReadOnlyService.setError(RaftException error)
Called when the node is turned into error state.
|
| 限定符和类型 | 方法和说明 |
|---|---|
RaftException |
IteratorImpl.getError() |
RaftException |
FSMCallerImpl.OnErrorClosure.getError() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
NodeImpl.onError(RaftException error) |
boolean |
FSMCallerImpl.onError(RaftException error) |
void |
StateMachineAdapter.onError(RaftException e) |
void |
ReadOnlyServiceImpl.setError(RaftException error) |
void |
FSMCallerImpl.OnErrorClosure.setError(RaftException error) |
| 构造器和说明 |
|---|
OnErrorClosure(RaftException error) |
Copyright © 2021. All rights reserved.