Package | Description |
---|---|
com.caucho.transaction | |
javax.transaction |
Modifier and Type | Class and Description |
---|---|
class |
SystemExceptionWrapper |
Modifier and Type | Method and Description |
---|---|
void |
TransactionManagerImpl.begin()
Create a new transaction and associate it with the thread.
|
void |
UserTransactionImpl.begin()
Start the transaction.
|
void |
UserTransactionProxy.begin()
Start the transaction.
|
void |
TransactionManagerImpl.commit()
Commit the transaction.
|
void |
UserTransactionImpl.commit()
Commits the transaction
|
void |
UserTransactionProxy.commit()
Commits the transaction
|
void |
TransactionImpl.commit()
Commit the transaction.
|
boolean |
TransactionImpl.delistResource(XAResource resource,
int flag)
De-lists a resource from the current transaction
|
void |
UserTransactionImpl.enlistResource(ManagedResource resource)
Enlist a resource.
|
boolean |
TransactionImpl.enlistResource(XAResource resource)
Enlists a resource with the current transaction.
|
int |
UserTransactionImpl.getEnlistedResourceCount()
Returns the number of currently enlisted resources.
|
int |
TransactionManagerImpl.getStatus()
Returns the transaction's status
|
int |
UserTransactionImpl.getStatus()
Gets the transaction's status
|
int |
UserTransactionProxy.getStatus()
Gets the transaction's status
|
Transaction |
UserTransactionProxy.getTransaction()
Returns the current transaction.
|
int |
TransactionImpl.getTransactionTimeout()
sets the timeout for the transaction
|
Xid |
UserTransactionImpl.getXid()
Returns the XID.
|
void |
TransactionImpl.putResource(java.lang.Object key,
XAResource resource)
Puts a resource into a map of resources and adds the resource to the
transaction.
|
void |
TransactionManagerImpl.resume(Transaction tobj)
Resume the transaction.
|
void |
UserTransactionProxy.resume(Transaction transaction)
Resume a transaction.
|
void |
UserTransactionImpl.rollback()
Rolls the transaction back
|
void |
UserTransactionProxy.rollback()
Rolls the transaction back
|
void |
TransactionManagerImpl.setRollbackOnly()
Force any completion to be a rollback.
|
void |
UserTransactionImpl.setRollbackOnly()
Marks the transaction as rollback only.
|
void |
UserTransactionProxy.setRollbackOnly()
Marks the transaction as rollback only.
|
void |
TransactionImpl.setRollbackOnly()
Force any completion to be a roll-back.
|
void |
TransactionManagerImpl.setTransactionTimeout(int seconds)
sets the timeout for the transaction
|
void |
UserTransactionImpl.setTransactionTimeout(int seconds)
Sets the transaction's timeout.
|
void |
UserTransactionProxy.setTransactionTimeout(int seconds)
Sets the transaction's timeout.
|
void |
TransactionImpl.setTransactionTimeout(int seconds)
sets the timeout for the transaction
|
Transaction |
TransactionManagerImpl.suspend()
Suspend the transaction.
|
Transaction |
UserTransactionProxy.suspend()
Suspends the transaction.
|
Modifier and Type | Method and Description |
---|---|
void |
TransactionManager.begin()
Start the transaction.
|
void |
UserTransaction.begin()
Start the transaction.
|
void |
TransactionManager.commit()
Commits the transaction
|
void |
UserTransaction.commit()
Commits the transaction
|
void |
Transaction.commit()
Commits the transaction.
|
boolean |
Transaction.delistResource(XAResource xaRes,
int flag)
Delists a resource from the transaction.
|
boolean |
Transaction.enlistResource(XAResource xaRes)
Enlists a resource with the transaction.
|
int |
TransactionManager.getStatus()
Gets the transaction's status
|
int |
UserTransaction.getStatus()
Gets the transaction's status
|
int |
Transaction.getStatus()
Returns the transaction's status.
|
Transaction |
TransactionManager.getTransaction()
Returns the current transaction.
|
void |
Transaction.registerSynchronization(Synchronization sync)
Registers a synchronization.
|
void |
TransactionManager.resume(Transaction transaction)
Resume a transaction.
|
void |
TransactionManager.rollback()
Rolls the transaction back
|
void |
UserTransaction.rollback()
Rolls the transaction back
|
void |
Transaction.rollback()
Rolls the transaction back.
|
void |
TransactionManager.setRollbackOnly()
Marks the transaction as rollback only.
|
void |
UserTransaction.setRollbackOnly()
Marks the transaction as rollback only.
|
void |
Transaction.setRollbackOnly()
Marks the transaction as rollback only.
|
void |
TransactionManager.setTransactionTimeout(int seconds)
Sets the transaction's timeout.
|
void |
UserTransaction.setTransactionTimeout(int seconds)
Sets the transaction's timeout.
|
Transaction |
TransactionManager.suspend()
Suspends the transaction.
|