Skip to content

ITransactionalResource.CommitReadOnly(Guid, AccessCounter, DateTime)

CommitReadOnly(Guid, AccessCounter, DateTime)

abstract
public abstract Task<TransactionalStatus> CommitReadOnly(Guid transactionId, AccessCounter accessCount, DateTime timeStamp)
Request sent by TA to all participants of a read-only transaction (one-phase commit). Participants respond after committing or aborting the read.

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