public override void OnEvent(TimerCoordinatorEvent e)
 {
     CoordinatorEnlistment coordinator = e.Coordinator;
     if (PreparedMessageRetryRecord.ShouldTrace)
     {
         coordinator.Retries++;
         PreparedMessageRetryRecord.Trace(coordinator.EnlistmentId, coordinator.Enlistment.RemoteTransactionId, coordinator.Retries);
     }
     base.state.Perf.PreparedRetryCountPerInterval.Increment();
     base.state.TwoPhaseCommitParticipant.SendPrepared(coordinator);
 }
Exemple #2
0
        public override void OnEvent(TimerCoordinatorEvent e)
        {
            CoordinatorEnlistment coordinator = e.Coordinator;

            if (PreparedMessageRetryRecord.ShouldTrace)
            {
                coordinator.Retries++;
                PreparedMessageRetryRecord.Trace(coordinator.EnlistmentId, coordinator.Enlistment.RemoteTransactionId, coordinator.Retries);
            }
            base.state.Perf.PreparedRetryCountPerInterval.Increment();
            base.state.TwoPhaseCommitParticipant.SendPrepared(coordinator);
        }
 public override void OnEvent(TimerCoordinatorEvent e)
 {
 }
 public virtual void OnEvent(TimerCoordinatorEvent e)
 {
     this.InvalidTimerEvent(e);
 }
Exemple #5
0
 public virtual void OnEvent(TimerCoordinatorEvent e)
 {
     this.InvalidTimerEvent(e);
 }
 public void OnEvent(TimerCoordinatorEvent e)
 {
     DebugTrace.TxTrace(TraceLevel.Info, e.Enlistment.EnlistmentId, "{0} for coordinator at {1}", e, Ports.TryGetAddress(e.Coordinator.CoordinatorProxy));
 }