Search Results for

    Show / Hide Table of Contents

    Class CommitResult

    Inheritance
    object
    CommitResult
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Tenray.ZoneTree.Transactional
    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
    Type Name Description
    CommitState result
    IReadOnlyList<long> pendingTransactionsList

    Fields

    | Improve this Doc View Source

    Aborted

    Declaration
    public static readonly CommitResult Aborted
    Field Value
    Type Description
    CommitResult
    | Improve this Doc View Source

    Committed

    Declaration
    public static readonly CommitResult Committed
    Field Value
    Type Description
    CommitResult
    | Improve this Doc View Source

    ReadyToCommit

    Declaration
    public static readonly CommitResult ReadyToCommit
    Field Value
    Type Description
    CommitResult

    Properties

    | Improve this Doc View Source

    IsAborted

    Declaration
    public bool IsAborted { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    IsCommitted

    Declaration
    public bool IsCommitted { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    IsPendingTransactions

    Declaration
    public bool IsPendingTransactions { get; }
    Property Value
    Type Description
    bool
    | Improve this Doc View Source

    IsReadyToCommit

    Declaration
    public bool IsReadyToCommit { get; }
    Property Value
    Type Description
    bool
    | 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
    Type Description
    IReadOnlyList<long>
    | Improve this Doc View Source

    Result

    Represents the commit state.

    Declaration
    public CommitState Result { get; }
    Property Value
    Type Description
    CommitState
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2022 Tenray.io