Edit

Share via


ITransactionalResource.CommitReadOnly(Guid, AccessCounter, DateTime) Method

Definition

Request sent by TA to all participants of a read-only transaction (one-phase commit). Participants respond after committing or aborting the read.

public System.Threading.Tasks.Task<Orleans.Transactions.TransactionalStatus> CommitReadOnly (Guid transactionId, Orleans.Transactions.Abstractions.AccessCounter accessCount, DateTime timeStamp);
abstract member CommitReadOnly : Guid * Orleans.Transactions.Abstractions.AccessCounter * DateTime -> System.Threading.Tasks.Task<Orleans.Transactions.TransactionalStatus>
Public Function CommitReadOnly (transactionId As Guid, accessCount As AccessCounter, timeStamp As DateTime) As Task(Of TransactionalStatus)

Parameters

transactionId
Guid

the id of the transaction to prepare

accessCount
AccessCounter

number of reads/writes performed on this participant by this transaction

timeStamp
DateTime

the commit timestamp for this transaction

Returns

Applies to