Interface RecoveryData

All Superinterfaces:
Serializable

public interface RecoveryData extends Serializable
トランザクションのリカバリー情報を表すインターフェース
ファイルに保存され障害発生時にはこの情報を元にリカバリーが行われます。
  • Method Details

    • getTransactionName

      String getTransactionName()
      トランザクション名
    • recover

      void recover(RecoveryContext context, Xid xid, TransactionStatus status, boolean bCommit) throws FlowException
      リカバリー実行のコールバックメソッド
      Parameters:
      context - リカバリー時のコンテキスト
      xid - トランザクションのXid
      status - 障害発生時のトランザクションのステータス
      bCommit - リカバリーでcommitするべきかどうか
      Throws:
      FlowException