Interface TransactionalRemoteLockCommand
-
- All Superinterfaces:
RemoteLockCommand,ReplicableCommand
- All Known Implementing Classes:
LockControlCommand,PrepareCommand,VersionedPrepareCommand
public interface TransactionalRemoteLockCommand extends RemoteLockCommand
Simple interface to extract all the keys that may need to be locked for transactional commands.- Since:
- 8.0
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TxInvocationContext<?>createContext(ComponentRegistry componentRegistry)It creates the transaction context.-
Methods inherited from interface org.infinispan.util.concurrent.locks.RemoteLockCommand
getKeyLockOwner, getKeysToLock, hasSkipLocking, hasZeroLockAcquisition
-
Methods inherited from interface org.infinispan.commands.ReplicableCommand
canBlock, getCommandId, invoke, invokeAsync, isReturnValueExpected, isSuccessful, readFrom, setOrigin, writeTo
-
-
-
-
Method Detail
-
createContext
TxInvocationContext<?> createContext(ComponentRegistry componentRegistry)
It creates the transaction context.- Returns:
- the
TxInvocationContext.
-
-