| Modifier and Type | Class and Description |
|---|---|
| public static interface | TransactionCoordinator.TransactionDriver
Provides the means for "local transactions" (as transaction drivers) to control the underlying "physical transaction" currently associated with the TransactionCoordinator. |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public IsolationDelegate | Returns: An isolation delegate.Retrieve an isolation delegate appropriate for this transaction strategy. |
| public void | |
| public JpaCompliance | |
| public SynchronizationRegistry | Returns: The local Synchronization registryGet access to the local registry of Synchronization instances |
| public int | |
| public TransactionCoordinatorBuilder | |
| public TransactionCoordinator. | Returns: The control delegate.Get the delegate used by the local transaction driver to control the underlying transaction |
| public default void | |
| public boolean | Returns: true if the transaction is still active; false otherwise.Is this transaction still active? |
| public boolean | Returns: true if there is an active transaction this coordinator is already joined to; false
otherwise.Determine if there is an active transaction that this coordinator is already joined to. |
| public default boolean | |
| public default boolean | |
| public void | pulse()
Used by owner of the JdbcSession as a means to indicate that implicit joining should be done if needed. |
| public void | removeObserver(TransactionObserver
The observer to remove. observer)Removed an observer from the coordinator. |
| public void |
| addObserver | back to summary |
|---|---|
| public void addObserver(TransactionObserver observer) Adds an observer to the coordinator. observers are not to be cleared on transaction completion.
| |
| createIsolationDelegate | back to summary |
|---|---|
| public IsolationDelegate createIsolationDelegate() Retrieve an isolation delegate appropriate for this transaction strategy.
| |
| explicitJoin | back to summary |
|---|---|
| public void explicitJoin() Indicates an explicit request to join a transaction. This is mainly intended to handle the JPA requirement
around | |
| getJpaCompliance | back to summary |
|---|---|
| public JpaCompliance getJpaCompliance() | |
| getLocalSynchronizations | back to summary |
|---|---|
| public SynchronizationRegistry getLocalSynchronizations() Get access to the local registry of Synchronization instances
| |
| getTimeOut | back to summary |
|---|---|
| public int getTimeOut() | |
| getTransactionCoordinatorBuilder | back to summary |
|---|---|
| public TransactionCoordinatorBuilder getTransactionCoordinatorBuilder() Access to the builder that generated this coordinator | |
| getTransactionDriverControl | back to summary |
|---|---|
| public TransactionCoordinator. Get the delegate used by the local transaction driver to control the underlying transaction
| |
| invalidate | back to summary |
|---|---|
| public default void invalidate() | |
| isActive | back to summary |
|---|---|
| public boolean isActive() Is this transaction still active?
Answers on a best effort basis. For example, in the case of JDBC based transactions we cannot know that a
transaction is active when it is initiated directly through the JDBC
| |
| isJoined | back to summary |
|---|---|
| public boolean isJoined() Determine if there is an active transaction that this coordinator is already joined to.
| |
| isTransactionActive | back to summary |
|---|---|
| public default boolean isTransactionActive() | |
| isTransactionActive | back to summary |
|---|---|
| public default boolean isTransactionActive(boolean isMarkedRollbackConsideredActive) | |
| pulse | back to summary |
|---|---|
| public void pulse() Used by owner of the JdbcSession as a means to indicate that implicit joining should be done if needed. | |
| removeObserver | back to summary |
|---|---|
| public void removeObserver(TransactionObserver observer) Removed an observer from the coordinator.
| |
| setTimeOut | back to summary |
|---|---|
| public void setTimeOut(int seconds) | |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | |
| public TransactionStatus | |
| public default boolean | |
| public void | |
| public void |
| begin | back to summary |
|---|---|
| public void begin() Begin the physical transaction | |
| commit | back to summary |
|---|---|
| public void commit() Commit the physical transaction | |
| getStatus | back to summary |
|---|---|
| public TransactionStatus getStatus() | |
| isActive | back to summary |
|---|---|
| public default boolean isActive(boolean isMarkedRollbackConsideredActive) | |
| markRollbackOnly | back to summary |
|---|---|
| public void markRollbackOnly() | |
| rollback | back to summary |
|---|---|
| public void rollback() Rollback the physical transaction | |