Skip to content

ExclusiveLockTransactionTestGrain

class

Namespace: Orleans.Transactions.TestKit

The abstract base class for all grain classes.
[Orleans.Concurrency.Reentrant]
public class ExclusiveLockTransactionTestGrain : Grain, IGrain, IGrainWithGuidKey, IAddressable, IExclusiveLockTransactionTestGrain

Constructors

Methods

  • Add(int) apply add operation to every transaction state
  • Get apply get operation to every transaction state with exclusive lock
  • OnActivateAsync(CancellationToken) This method is called at the end of the process of activating a grain. It is called before any messages have been dispatched to the grain. For grains with declared persistent state, this method is called after the State property has been populated.
  • Set(int) apply set operation to every transaction state