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.
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
Properties
|
Edit this page
View Source
AlreadyDeleted
Returns true if value for provided Key was already deleted.
Declaration
public bool AlreadyDeleted { get; }
Property Value
|
Edit this page
View Source
Cause
Returns a cause of the exception.
Declaration
public Exception Cause { get; }
Property Value
|
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
Methods
|
Edit this page
View Source
Equals(StoreFailure)
Declaration
public bool Equals(StoreFailure other)
Parameters
Returns
|
Edit this page
View Source
Equals(object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
object |
obj |
|
Returns
Overrides
|
Edit this page
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Overrides
|
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
Overrides
Implements
Extension Methods