Package bftsmart.tom.server
Interface Executable
-
- All Known Subinterfaces:
BatchExecutable
,SingleExecutable
- All Known Implementing Classes:
CounterServer
,DefaultRecoverable
,DefaultSingleRecoverable
,DurabilityCoordinator
,MapServer
,RecoveryTestServer
,SimpleServiceServer
,ThroughputLatencyServer
,ThroughputLatencyServer
,YCSBServer
public interface Executable
Executables that implement this interface can received unordered client requests. To support ordered requests, objects that implement this interface must also implement either 'FIFOExecutable', 'BatchExecutable' or 'SingleExecutable'.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description byte[]
executeUnordered(byte[] command, MessageContext msgCtx)
Method called to execute a request totally ordered.default TOMMessage
executeUnordered(int processID, int viewID, boolean isReplyHash, byte[] command, MessageContext msgCtx)
default TOMMessage
getTOMMessage(int processID, int viewID, byte[] command, MessageContext msgCtx, byte[] result)
-
-
-
Method Detail
-
executeUnordered
byte[] executeUnordered(byte[] command, MessageContext msgCtx)
Method called to execute a request totally ordered. The message context contains some useful information such as the command sender.- Parameters:
command
- the command issue by the clientmsgCtx
- information related with the command- Returns:
- the reply for the request issued by the client
-
getTOMMessage
default TOMMessage getTOMMessage(int processID, int viewID, byte[] command, MessageContext msgCtx, byte[] result)
-
executeUnordered
default TOMMessage executeUnordered(int processID, int viewID, boolean isReplyHash, byte[] command, MessageContext msgCtx)
-
-