public class BFTMapServer extends DefaultSingleRecoverable
CHECKPOINT_PERIOD| Constructor and Description |
|---|
BFTMapServer(int id) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
appExecuteOrdered(byte[] command,
MessageContext msgCtx) |
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 replicaContext) |
computeHash, executeOrdered, getState, getStateManager, setStatepublic static void main(java.lang.String[] args)
public byte[] appExecuteOrdered(byte[] command,
MessageContext msgCtx)
appExecuteOrdered in class DefaultSingleRecoverablepublic byte[] executeUnordered(byte[] command,
MessageContext msgCtx)
Executablecommand - the command issue by the clientmsgCtx - information related with the commandpublic byte[] getSnapshot()
getSnapshot in class DefaultSingleRecoverablepublic void installSnapshot(byte[] state)
installSnapshot in class DefaultSingleRecoverablepublic void setReplicaContext(ReplicaContext replicaContext)