Class UpdateTimeout
The direct replication of the Update could not be fulfill according to the given IWriteConsistency level and Timeout.
The Update was still performed locally and possibly replicated to some nodes. It will eventually be disseminated to other replicas, unless the local replica crashes before it has been able to communicate with other replicas.
Implements
Inherited Members
Namespace: Akka.DistributedData
Assembly: Akka.DistributedData.dll
Syntax
[Serializable]
public sealed class UpdateTimeout : IUpdateFailure, IUpdateResponse, INoSerializationVerificationNeeded, IEquatable<UpdateTimeout>
Constructors
| Edit this page View SourceUpdateTimeout(IKey, object)
Declaration
public UpdateTimeout(IKey key, object request)
Parameters
| Type | Name | Description |
|---|---|---|
| IKey | key | |
| object | request |
Properties
| Edit this page View SourceCause
Returns a cause of the exception.
Declaration
public Exception Cause { get; }
Property Value
| Type | Description |
|---|---|
| Exception |
IsSuccessful
Returns true if Update request has completed successfully.
Declaration
public bool IsSuccessful { get; }
Property Value
| Type | Description |
|---|---|
| bool |
Key
Key, under with updated data is going to be stored.
Declaration
public IKey Key { get; }
Property Value
| Type | Description |
|---|---|
| IKey |
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 SourceEquals(UpdateTimeout)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(UpdateTimeout other)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateTimeout | other | An object to compare with this object. |
Returns
| Type | Description |
|---|---|
| bool | true if the current object is equal to the |
Equals(object)
Determines whether the specified object is equal to the current object.
Declaration
public override bool Equals(object obj)
Parameters
| Type | Name | Description |
|---|---|---|
| object | obj | The object to compare with the current object. |
Returns
| Type | Description |
|---|---|
| bool | true if the specified object is equal to the current object; otherwise, false. |
Overrides
| Edit this page View SourceGetHashCode()
Serves as the default hash function.
Declaration
public override int GetHashCode()
Returns
| Type | Description |
|---|---|
| int | A hash code for the current object. |
Overrides
| Edit this page View SourceThrowOnFailure()
Throws an exception if Update request has failed.
Declaration
public void ThrowOnFailure()
ToString()
Returns a string that represents the current object.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| string | A string that represents the current object. |
Edit this page