public interface FailureHandler
| 限定符和类型 | 方法和说明 |
|---|---|
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 |
onRollbackRetrying(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 onRollbackRetrying(GlobalTransaction tx, Throwable originalException)
tx - the txoriginalException - the originalExceptionCopyright © 2020 Seata. All rights reserved.