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 cause)
On rollback failure.
|
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 cause)
tx - the txcause - the causeCopyright © 2019 Seata. All rights reserved.