Class CommitResult
Assembly: ZoneTree.dll
Syntax
public sealed class CommitResult
Constructors
|
Improve this Doc
View Source
CommitResult(CommitState, IReadOnlyList<long>)
Declaration
public CommitResult(CommitState result, IReadOnlyList<long> pendingTransactionsList = null)
Parameters
Fields
|
Improve this Doc
View Source
Aborted
Declaration
public static readonly CommitResult Aborted
Field Value
|
Improve this Doc
View Source
Committed
Declaration
public static readonly CommitResult Committed
Field Value
|
Improve this Doc
View Source
ReadyToCommit
Declaration
public static readonly CommitResult ReadyToCommit
Field Value
Properties
|
Improve this Doc
View Source
IsAborted
Declaration
public bool IsAborted { get; }
Property Value
|
Improve this Doc
View Source
IsCommitted
Declaration
public bool IsCommitted { get; }
Property Value
|
Improve this Doc
View Source
IsPendingTransactions
Declaration
public bool IsPendingTransactions { get; }
Property Value
|
Improve this Doc
View Source
IsReadyToCommit
Declaration
public bool IsReadyToCommit { get; }
Property Value
|
Improve this Doc
View Source
PendingTransactionList
If transaction result is "WaitUncommittedTransactions"
this list is the transactions that are uncommitted.
They should commit before this transaction commits.
If any of the pending transactions abort,
this transaction also aborts.
Declaration
public IReadOnlyList<long> PendingTransactionList { get; }
Property Value
|
Improve this Doc
View Source
Result
Represents the commit state.
Declaration
public CommitState Result { get; }
Property Value