Redigera

Dela via


PendingTransactionState<TState> Class

Definition

[Orleans.Concurrency.Immutable]
[System.Serializable]
public class PendingTransactionState<TState> where TState : class, new()
[System.Serializable]
[Orleans.GenerateSerializer]
[Orleans.Immutable]
public sealed class PendingTransactionState<TState> where TState : class, new()
[<Orleans.Concurrency.Immutable>]
[<System.Serializable>]
type PendingTransactionState<'State (requires 'State : null and 'State : (new : unit -> 'State))> = class
[<System.Serializable>]
[<Orleans.GenerateSerializer>]
[<Orleans.Immutable>]
type PendingTransactionState<'State (requires 'State : null and 'State : (new : unit -> 'State))> = class
Public Class PendingTransactionState(Of TState)
Public NotInheritable Class PendingTransactionState(Of TState)

Type Parameters

TState
Inheritance
PendingTransactionState<TState>
Attributes

Constructors

PendingTransactionState<TState>()

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.

Applies to