Package bftsmart.tom.server
Interface BatchExecutable
-
- All Superinterfaces:
Executable
- All Known Implementing Classes:
DefaultRecoverable
,DurabilityCoordinator
,ThroughputLatencyServer
,YCSBServer
public interface BatchExecutable extends Executable
Executables that implement this interface will receive a batch of requests and deliver them to the application in a deterministic way.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description byte[][]
executeBatch(byte[][] command, MessageContext[] msgCtx)
Execute a batch of requests.default TOMMessage[]
executeBatch(int processID, int viewID, boolean[] isReplyHash, byte[][] command, MessageContext[] msgCtx)
-
Methods inherited from interface bftsmart.tom.server.Executable
executeUnordered, executeUnordered, getTOMMessage
-
-
-
-
Method Detail
-
executeBatch
byte[][] executeBatch(byte[][] command, MessageContext[] msgCtx)
Execute a batch of requests.- Parameters:
command
- The batch of requestsmsgCtx
- The context associated to each request- Returns:
-
executeBatch
default TOMMessage[] executeBatch(int processID, int viewID, boolean[] isReplyHash, byte[][] command, MessageContext[] msgCtx)
-
-