Package | Description |
---|---|
cloud.piranha.transaction.nonxa | |
javax.transaction |
Provides the API that defines the contract between the transaction
manager and the various parties involved in a distributed transaction
namely : resource manager, application, and application server.
|
Modifier and Type | Method | Description |
---|---|---|
void |
DefaultTransactionManager.begin() |
Begin a transaction.
|
void |
DefaultUserTransaction.begin() |
Begin a transaction.
|
void |
DefaultTransaction.commit() |
Commit the transaction.
|
void |
DefaultTransactionManager.commit() |
Commit a transaction.
|
void |
DefaultUserTransaction.commit() |
Commit the transaction.
|
boolean |
DefaultTransaction.delistResource(XAResource xaResource,
int flags) |
Delist the resource.
|
boolean |
DefaultTransaction.enlistResource(XAResource xaResource) |
Enlist the resource.
|
int |
DefaultTransaction.getStatus() |
Get the status.
|
int |
DefaultTransactionManager.getStatus() |
Get the status.
|
int |
DefaultUserTransaction.getStatus() |
Get the status.
|
Transaction |
DefaultTransactionManager.getTransaction() |
Get the transaction.
|
void |
DefaultTransaction.registerSynchronization(Synchronization synchronization) |
Register a synchronization.
|
void |
DefaultTransactionManager.resume(Transaction transaction) |
Resume the transaction.
|
void |
DefaultTransaction.rollback() |
Rollback the transaction.
|
void |
DefaultTransactionManager.rollback() |
Rollback the transaction.
|
void |
DefaultUserTransaction.rollback() |
Rollback the transaction.
|
void |
DefaultTransaction.setRollbackOnly() |
Set rollback only.
|
void |
DefaultTransactionManager.setRollbackOnly() |
Set the rollback only.
|
void |
DefaultUserTransaction.setRollbackOnly() |
Set rollback only.
|
void |
DefaultTransactionManager.setTransactionTimeout(int timeout) |
Set the transaction timeout.
|
void |
DefaultUserTransaction.setTransactionTimeout(int timeout) |
Set the transaction timeout.
|
Transaction |
DefaultTransactionManager.suspend() |
Suspend the transaction.
|
Modifier and Type | Method | Description |
---|---|---|
void |
TransactionManager.begin() |
Begin a new transaction.
|
void |
UserTransaction.begin() |
Begin the transaction.
|
void |
Transaction.commit() |
Commit the transaction.
|
void |
TransactionManager.commit() |
Commit the transaction.
|
void |
UserTransaction.commit() |
Commit the transaction.
|
boolean |
Transaction.delistResource(XAResource xaResource,
int flag) |
Delist the XA resource.
|
boolean |
Transaction.enlistResource(XAResource xaResource) |
Enlist the XA resource.
|
int |
Transaction.getStatus() |
Get the status.
|
int |
TransactionManager.getStatus() |
Get the status.
|
int |
UserTransaction.getStatus() |
Get the status.
|
Transaction |
TransactionManager.getTransaction() |
Get the transaction.
|
void |
Transaction.registerSynchronization(Synchronization synchronization) |
Register the synchronization object.
|
void |
TransactionManager.resume(Transaction transaction) |
Resume the transaction.
|
void |
Transaction.rollback() |
Rollback the transaction.
|
void |
TransactionManager.rollback() |
Rollback the transaction.
|
void |
UserTransaction.rollback() |
Rollback the transaction.
|
void |
Transaction.setRollbackOnly() |
Set for rollback only.
|
void |
TransactionManager.setRollbackOnly() |
Set to rollback only.
|
void |
UserTransaction.setRollbackOnly() |
Set to rollback only.
|
void |
TransactionManager.setTransactionTimeout(int seconds) |
Set the transaction timeout.
|
void |
UserTransaction.setTransactionTimeout(int seconds) |
Set the transaction timeout.
|
Transaction |
TransactionManager.suspend() |
Suspend the transaction.
|
Copyright © 2020 Piranha Cloud. All rights reserved.