예제 #1
0
 public void EnqueueRecoveryReplay(TmReplayEvent e)
 {
     if (!this.recovering)
     {
         Microsoft.Transactions.Bridge.DiagnosticUtility.FailFast("Cannot enqueue recovery event outside of recovery");
     }
     if (DebugTrace.Info)
     {
         CoordinatorEnlistment coordinator = e.Coordinator;
         DebugTrace.TxTrace(TraceLevel.Info, coordinator.EnlistmentId, "Enqueuing recovery replay for coordinator at {0}", Ports.TryGetAddress(coordinator.CoordinatorProxy));
     }
     this.recoveryQueue.Enqueue(e);
 }
예제 #2
0
 public void OnEvent(TmReplayEvent e)
 {
     this.TraceTmEvent(e);
 }