public void Handle(ClientMessage.TransactionCommit message) { var manager = new TransactionCommitTwoPhaseRequestManager(_bus, _prepareCount, _commitCount, _prepareTimeout, _commitTimeout); _currentRequests.Add(message.InternalCorrId, manager); manager.Handle(message); }
public void Handle(ReplicationMessage.TransactionCommitRequestCreated message) { var manager = new TransactionCommitTwoPhaseRequestManager(_bus, _prepareCount, _commitCount); _currentRequests.Add(message.CorrelationId, manager); manager.Handle(message); }
public void Handle(ClientMessage.TransactionCommit message) { var manager = new TransactionCommitTwoPhaseRequestManager(_bus, _prepareCount, _commitCount, _prepareTimeout, _commitTimeout, _betterOrdering); _currentRequests.Add(message.InternalCorrId, manager); _currentTimedRequests.Add(message.InternalCorrId, Stopwatch.StartNew()); manager.Handle(message); }