public class YCSBServer extends DurabilityCoordinator
| Modifier and Type | Method and Description |
|---|---|
byte[][] |
appExecuteBatch(byte[][] commands,
MessageContext[] msgCtx) |
byte[] |
executeUnordered(byte[] theCommand,
MessageContext theContext)
Method called to execute a request totally ordered.
|
byte[] |
getSnapshot() |
void |
installSnapshot(byte[] state) |
static void |
main(java.lang.String[] args) |
executeBatch, getCurrentStateHash, getState, getState, getStateManager, setReplicaContext, setStatepublic static void main(java.lang.String[] args)
throws java.lang.Exception
java.lang.Exceptionpublic byte[][] appExecuteBatch(byte[][] commands,
MessageContext[] msgCtx)
appExecuteBatch in class DurabilityCoordinatorpublic byte[] executeUnordered(byte[] theCommand,
MessageContext theContext)
ExecutabletheCommand - the command issue by the clienttheContext - information related with the commandpublic void installSnapshot(byte[] state)
installSnapshot in class DurabilityCoordinatorpublic byte[] getSnapshot()
getSnapshot in class DurabilityCoordinator