PrepareAndCommit(Guid, AccessCounter, DateTime, List<ParticipantId>, int)
abstract
public abstract Task<TransactionalStatus> PrepareAndCommit(Guid transactionId, AccessCounter accessCount, DateTime timeStamp, List<ParticipantId> writerResources, int totalParticipants) Request sent by TA to TM. The TM responds after committing or aborting the transaction.
Parameters
transactionIdGuid- the id of the transaction to prepare
accessCountAccessCounter- number of reads/writes performed on this participant by this transaction
timeStampDateTime- the commit timestamp for this transaction
writerResourcesList<ParticipantId>- the participants who wrote during the transaction
totalParticipantsint- the total number of participants in the transaction
Returns
the status of the transaction
