Search Results for

    Show / Hide Table of Contents

    Class StoreFailure

    The local store or direct replication of the Update could not be fulfill according to the given IWriteConsistency due to durable store errors. This is only used for entries that have been configured to be durable.

    The Update was still performed in memory locally and possibly replicated to some nodes, but it might not have been written to durable storage. It will eventually be disseminated to other replicas, unless the local replica crashes before it has been able to communicate with other replicas.

    Inheritance
    object
    StoreFailure
    Implements
    IUpdateFailure
    IUpdateResponse
    IDeleteResponse
    INoSerializationVerificationNeeded
    IEquatable<StoreFailure>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: Akka.DistributedData
    Assembly: Akka.DistributedData.dll
    Syntax
    public sealed class StoreFailure : IUpdateFailure, IUpdateResponse, IDeleteResponse, INoSerializationVerificationNeeded, IEquatable<StoreFailure>

    Constructors

    | Edit this page View Source

    StoreFailure(IKey, object)

    Declaration
    public StoreFailure(IKey key, object request = null)
    Parameters
    Type Name Description
    IKey key
    object request

    Properties

    | Edit this page View Source

    AlreadyDeleted

    Returns true if value for provided Key was already deleted.

    Declaration
    public bool AlreadyDeleted { get; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Cause

    Returns a cause of the exception.

    Declaration
    public Exception Cause { get; }
    Property Value
    Type Description
    Exception
    | Edit this page View Source

    Request

    Optional object that can be used to correlate this response with particular Update request.

    Declaration
    public object Request { get; }
    Property Value
    Type Description
    object

    Methods

    | Edit this page View Source

    Equals(StoreFailure)

    Declaration
    public bool Equals(StoreFailure other)
    Parameters
    Type Name Description
    StoreFailure other
    Returns
    Type Description
    bool
    | Edit this page View Source

    Equals(object)

    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool
    Overrides
    object.Equals(object)
    | Edit this page View Source

    GetHashCode()

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int
    Overrides
    object.GetHashCode()
    | Edit this page View Source

    ThrowOnFailure()

    Throws an exception if Update request has failed.

    Declaration
    public void ThrowOnFailure()
    | Edit this page View Source

    ToString()

    Declaration
    public override string ToString()
    Returns
    Type Description
    string
    Overrides
    object.ToString()

    Implements

    IUpdateFailure
    IUpdateResponse
    IDeleteResponse
    INoSerializationVerificationNeeded
    IEquatable<T>

    Extension Methods

    ObjectExtensions.IsDefaultForType<T>(T)
    ObjectExtensions.AsOption<T>(T)
    Extensions.AsInstanceOf<T>(object)
    In this article
    • githubEdit this page
    • View Source
    Back to top
    Contribute
    • Project Chat
    • Discussion Forum
    • Source Code
    Support
    • Akka.NET Support Plans
    • Akka.NET Observability Tools
    • Akka.NET Training & Consulting
    Maintained By
    • Petabridge - The Akka.NET Company
    • Learn Akka.NET