public class BFTMapBatchServer extends DefaultRecoverable
| Constructor and Description |
|---|
BFTMapBatchServer(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) |
computeHash, executeBatch, getState, getStateManager, saveCommands, setReplicaContext, setStatepublic static void main(java.lang.String[] args)
public 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 commandpublic byte[] getSnapshot()
getSnapshot in class DefaultRecoverablepublic void installSnapshot(byte[] state)
installSnapshot in class DefaultRecoverable