org.objectweb.jotm.core.conflict
Interface TransactionConflict
- public interface TransactionConflict
The TransactionConflict interface reflects a conflict explicitly
specified by a transaction. A transaction holding an object is able
to explicitly specify a conflict for the object and another transaction.
This is usually called an ignore-conflict relationship, but it is obvious
that JOTM can also use TransactionConflict to make two non-conflicting
operations conflicting for specific transactions.
Then, the Conflict Manager uses this conflict instead of a conflict
taken from the Conflict Table.
getHoldTransaction
public BasicTransaction getHoldTransaction()
getRequestTransaction
public BasicTransaction getRequestTransaction()
getConflict
public Conflict getConflict()
getObject
public java.lang.Object getObject()