Skip to content

PendingTransactionState<TState>

class

Namespace: Orleans.Transactions.Abstractions

Supports all classes in the .NET class hierarchy and provides low-level services to derived classes. This is the ultimate base class of all .NET classes; it is the root of the type hierarchy.
[Orleans.GenerateSerializer]
[Orleans.Immutable]
public sealed class PendingTransactionState<TState>
where TState : class, new()

Constructors

Properties

  • SequenceId Transactions are given dense local sequence numbers 1,2,3,4... If a new transaction is prepared with the same sequence number as a previously prepared transaction, it replaces it.
  • State A snapshot of the state after this transaction executed
  • TimeStamp The logical timestamp of the transaction. Timestamps are guaranteed to be monotonically increasing.
  • TransactionId A globally unique identifier of the transaction.
  • TransactionManager The transaction manager that knows about the status of this prepared transaction, or null if this is the transaction manager. Used during recovery to inquire about the fate of the transaction.