public class BFTListImpl extends DefaultRecoverable
| Constructor and Description |
|---|
BFTListImpl(int id) |
| Modifier and Type | Method and Description |
|---|---|
byte[][] |
appExecuteBatch(byte[][] commands,
MessageContext[] msgCtxs) |
byte[] |
executeUnordered(byte[] command,
MessageContext msgCtx)
Method called to execute a request totally ordered.
|
byte[] |
getSnapshot() |
void |
installSnapshot(byte[] state) |
static void |
main(java.lang.String[] args) |
void |
setReplicaContext(ReplicaContext replicaCtx) |
computeHash, executeBatch, getState, getStateManager, saveCommands, setStatepublic void setReplicaContext(ReplicaContext replicaCtx)
setReplicaContext in interface RecoverablesetReplicaContext in class DefaultRecoverablepublic static void main(java.lang.String[] args)
public byte[] getSnapshot()
getSnapshot in class DefaultRecoverablepublic void installSnapshot(byte[] state)
installSnapshot in class DefaultRecoverablepublic byte[][] appExecuteBatch(byte[][] commands,
MessageContext[] msgCtxs)
appExecuteBatch in class DefaultRecoverablepublic byte[] executeUnordered(byte[] command,
MessageContext msgCtx)
Executablecommand - the command issue by the clientmsgCtx - information related with the command