public override void OnEvent(TmCommitEvent e)
        {
            ParticipantEnlistment participant = e.Participant;

            participant.SetCallback(e.Callback, e.CallbackState);
            base.state.TransactionManagerSend.Committed(participant);
        }
 public override void OnEvent(TmCommitEvent e)
 {
     ParticipantEnlistment participant = e.Participant;
     base.state.TwoPhaseCommitCoordinator.SendCommit(participant);
     participant.SetCallback(e.Callback, e.CallbackState);
     e.StateMachine.ChangeState(base.state.States.DurableCommitting);
 }
        public override void OnEvent(TmCommitEvent e)
        {
            ParticipantEnlistment participant = e.Participant;

            base.state.TwoPhaseCommitCoordinator.SendCommit(participant);
            participant.SetCallback(e.Callback, e.CallbackState);
            e.StateMachine.ChangeState(base.state.States.DurableCommitting);
        }
 public override void OnEvent(TmCommitEvent e)
 {
     if (base.state.Recovering)
     {
         DiagnosticUtility.FailFast("Rejoin events should only be re-delivered after recovery");
     }
     e.Participant.SetCallback(e.Callback, e.CallbackState);
     e.StateMachine.ChangeState(base.state.States.DurableRecoveryReceivedCommit);
 }
        public override void OnEvent(TmCommitEvent e)
        {
            ParticipantEnlistment participant = e.Participant;

            base.state.TwoPhaseCommitCoordinator.SendCommit(participant);
            participant.SetCallback(e.Callback, e.CallbackState);
            base.state.TransactionManagerSend.Committed(participant);
            e.StateMachine.ChangeState(base.state.States.VolatileCommitting);
        }
 public override void OnEvent(TmCommitEvent e)
 {
     if (base.state.Recovering)
     {
         DiagnosticUtility.FailFast("Rejoin events should only be re-delivered after recovery");
     }
     e.Participant.SetCallback(e.Callback, e.CallbackState);
     e.StateMachine.ChangeState(base.state.States.DurableRecoveryReceivedCommit);
 }
Esempio n. 7
0
 public override void OnEvent(TmCommitEvent e)
 {
     if (base.state.Recovering && base.state.TryEnqueueRecoveryOutcome(e))
     {
         e.StateMachine.ChangeState(base.state.States.DurableRecoveryAwaitingCommit);
     }
     else
     {
         e.Participant.SetCallback(e.Callback, e.CallbackState);
         e.StateMachine.ChangeState(base.state.States.DurableRecoveryReceivedCommit);
     }
 }
 public virtual void OnEvent(TmCommitEvent e)
 {
     this.InvalidTransactionManagerEvent(e);
 }
Esempio n. 9
0
 public virtual void OnEvent(TmCommitEvent e)
 {
     this.InvalidTransactionManagerEvent(e);
 }
Esempio n. 10
0
 public override void OnEvent(TmCommitEvent e)
 {
 }
 public override void OnEvent(TmCommitEvent e)
 {
 }
 public void OnEvent(TmCommitEvent e)
 {
     this.TraceTmEvent(e);
 }