ExclusiveLockCoordinatorGrain
class
Namespace: Orleans.Transactions.TestKit
The abstract base class for all grain classes.
[Orleans.Concurrency.StatelessWorker][Orleans.Concurrency.Reentrant]public class ExclusiveLockCoordinatorGrain : Grain, IGrain, IGrainWithGuidKey, IAddressable, IExclusiveLockCoordinatorGrainConstructors
Methods
ReadThenWrite(ITransactionTestGrain, int)Performs a Read-then-Write pattern on a grain without exclusive lock.ReadThenWriteWithExclusiveLock(IExclusiveLockTransactionTestGrain, int)Performs a Read-then-Write pattern on a grain with exclusive lock on reads. The exclusive lock prevents lock upgrade conflicts under concurrent execution.
