public interface TotalOrderPrepareCommand extends TransactionBoundaryCommand
Modifier and Type | Method and Description |
---|---|
WriteCommand[] |
getModifications() |
TotalOrderRemoteTransactionState |
getOrCreateState()
returns the
TotalOrderRemoteTransactionState associated with this transaction, creating one if no one was
associated to this transaction. |
void |
markAsOnePhaseCommit()
marks the prepare phase as 1PC to apply immediately the modifications.
|
void |
markSkipWriteSkewCheck()
it signals that the write skew check is not needed (for versioned entries).
|
boolean |
skipWriteSkewCheck() |
getGlobalTransaction, markTransactionAsRemote
acceptVisitor, ignoreCommandOnStatus, shouldInvoke
getCacheName, getOrigin, setOrigin
getTopologyId, setTopologyId
canBlock, getCommandId, getParameters, isReturnValueExpected, perform, setParameters
void markAsOnePhaseCommit()
org.infinispan.commands.tx.CommitCommand
is received before the org.infinispan.commands.tx.PrepareCommand
.void markSkipWriteSkewCheck()
org.infinispan.commands.tx.CommitCommand
is received before the org.infinispan.commands.tx.PrepareCommand
.boolean skipWriteSkewCheck()
true
when the write skew check is not needed.WriteCommand[] getModifications()
TotalOrderRemoteTransactionState getOrCreateState()
TotalOrderRemoteTransactionState
associated with this transaction, creating one if no one was
associated to this transaction.TotalOrderRemoteTransactionState
associated with this transaction.Copyright © 2014 JBoss, a division of Red Hat. All Rights Reserved.