java.lang.Object
org.infinispan.server.resp.RespCommand
org.infinispan.server.resp.commands.tx.EXEC
All Implemented Interfaces:
Resp3Command, TransactionResp3Command

public class EXEC extends RespCommand implements Resp3Command, TransactionResp3Command
EXEC

Retrieves the queued commands from the handler and executes them serially. If the handler returns a null list, the transaction is aborted. The user installed a watch for a key, and the value was updated.

This implementation executes the operations outside a transaction context on the Infinispan level. Another user can see the state changing before the queue finishes. Even though Redis does not have the concept of commit/rollback, which means that everything is applied, the current implementation provides a weaker isolation level.

Since:
15.0
Author:
José Bolina
See Also: