|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TransactionControl
A control for a transaction. This groups the methods that are only available to priviledged ( usually meaning local ) application code.
Method Summary | |
---|---|
CompositeTransaction |
createSubTransaction()
Deprecated. Create a subtx for this transaction. |
Extent |
getExtent()
Deprecated. Get the extent for the transaction. |
int |
getLocalSubTxCount()
Deprecated. Get the number of subtxs that were locally started for this instance. |
CompositeTerminator |
getTerminator()
Deprecated. Get a terminator for this tx. |
long |
getTimeout()
Deprecated. Get the timeout in ms. |
void |
setRollbackOnly()
Deprecated. Marks the transaction so that the only possible termination is rollback. |
void |
setSerial()
Deprecated. Set serial mode for root. |
void |
setTag(HeuristicMessage tag)
Deprecated. Sets the tag for this transaction. |
Method Detail |
---|
CompositeTransaction createSubTransaction() throws SysException, IllegalStateException
IllegalStateException
- If no longer active.
SysException
void setSerial() throws IllegalStateException, SysException
IllegalStateException
- If called for non-root tx.
SysException
- For unexpected errors.CompositeTerminator getTerminator()
int getLocalSubTxCount()
void setTag(HeuristicMessage tag)
tag
- The tag to add to the transaction.Extent getExtent()
long getTimeout()
void setRollbackOnly()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |