Skip to content

ITransactionalResourceExtension.CommitReadOnly(string, Guid, AccessCounter, DateTime)

CommitReadOnly(string, Guid, AccessCounter, DateTime)

abstract
View source
[Orleans.Concurrency.AlwaysInterleave]
[Orleans.Transaction(0)]
[Orleans.Alias(CommitReadOnly)]
public abstract Task<TransactionalStatus> CommitReadOnly(string resourceId, Guid transactionId, AccessCounter accessCount, DateTime timeStamp)
Commits a read-only transaction on the specified resource.

Parameters

resourceIdstring
The identifier of the transactional resource.
transactionIdGuid
The transaction identifier.
accessCountAccessCounter
The number of reads and writes performed on the resource by the transaction.
timeStampDateTime
The transaction commit timestamp.

Returns

A task whose result is the transaction status reported by the resource.