public interface FailureHandler
| Modifier and Type | Method and Description |
|---|---|
void |
onBeginFailure(GlobalTransaction tx,
Throwable cause)
On begin failure.
|
void |
onCommitFailure(GlobalTransaction tx,
Throwable cause)
On commit failure.
|
void |
onRollbackFailure(GlobalTransaction tx,
Throwable originalException)
On rollback failure.
|
void |
onRollbacking(GlobalTransaction tx,
Throwable originalException)
On rollback retrying
|
void onBeginFailure(GlobalTransaction tx, Throwable cause)
tx - the txcause - the causevoid onCommitFailure(GlobalTransaction tx, Throwable cause)
tx - the txcause - the causevoid onRollbackFailure(GlobalTransaction tx, Throwable originalException)
tx - the txoriginalException - the originalExceptionvoid onRollbacking(GlobalTransaction tx, Throwable originalException)
tx - the txoriginalException - the originalExceptionCopyright © 2023 Seata. All rights reserved.