Interface RecoveryData
- All Superinterfaces:
Serializable
トランザクションのリカバリー情報を表すインターフェース
ファイルに保存され障害発生時にはこの情報を元にリカバリーが行われます。
ファイルに保存され障害発生時にはこの情報を元にリカバリーが行われます。
-
Method Summary
Modifier and TypeMethodDescriptionトランザクション名voidrecover(RecoveryContext context, Xid xid, TransactionStatus status, boolean bCommit) リカバリー実行のコールバックメソッド
-
Method Details
-
getTransactionName
String getTransactionName()トランザクション名 -
recover
void recover(RecoveryContext context, Xid xid, TransactionStatus status, boolean bCommit) throws FlowException リカバリー実行のコールバックメソッド- Parameters:
context- リカバリー時のコンテキストxid- トランザクションのXidstatus- 障害発生時のトランザクションのステータスbCommit- リカバリーでcommitするべきかどうか- Throws:
FlowException
-