Class UpdateSuccess
Inherited Members
Namespace: Akka.DistributedData
Assembly: Akka.DistributedData.dll
Syntax
[Serializable]
public sealed class UpdateSuccess : IUpdateResponse, IEquatable<UpdateSuccess>, INoSerializationVerificationNeeded
Constructors
| Edit this page View SourceUpdateSuccess(IKey, object)
Declaration
public UpdateSuccess(IKey key, object request)
Parameters
| Type | Name | Description |
|---|---|---|
| IKey | key | |
| object | request |
Properties
| Edit this page View SourceIsSuccessful
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(UpdateSuccess)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(UpdateSuccess other)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateSuccess | 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