1 22 package org.jboss.tm.recovery; 23 24 import javax.transaction.xa.Xid ; 25 26 33 public interface RecoveryLogger 34 { 35 47 public TxCompletionHandler saveCommitDecision(long localTransactionId, 48 String [] resources); 49 50 69 public TxCompletionHandler savePrepareDecision(long localTransactionId, 70 int inboundFormatId, 71 byte[] globalTransactionId, 72 String recoveryCoordinator, 73 String [] resources); 74 75 89 public TxCompletionHandler savePrepareDecision(long localTransactionId, 90 Xid inboundXid, 91 String [] resources); 92 93 119 public void saveHeuristicStatus(long localTransactionId, 120 boolean foreignTx, 121 int formatId, 122 byte[] globalTransactionId, 123 byte[] inboundBranchQualifier, 124 int transactionStatus, 125 int heurStatusCode, 126 boolean locallyDetectedHeuristicHazard, 127 int[] xaResourceHeuristics, 128 HeuristicStatus[] remoteResourceHeuristics); 129 130 135 public void clearHeuristicStatus(long localTransactionId); 136 137 144 public RecoveryLogReader[] getRecoveryLogs(); 145 146 153 public HeuristicStatusLogReader[] getHeuristicStatusLogs(); 154 155 } 156 | Popular Tags |