Interface IUpdateResponse
A response message for the Update request. It can be one of the 3 possible types:
- UpdateSuccess when update has finished successfully with given write consistency withing provided time limit.
- ModifyFailure if a Modify delegate has thrown a failure.
- UpdateTimeout if a request couldn't complete withing given timeout and write consistency constraints.
Namespace: Akka.DistributedData
Assembly: Akka.DistributedData.dll
Syntax
public interface IUpdateResponse : INoSerializationVerificationNeeded
Properties
| Improve this Doc View SourceIsSuccessful
Returns true if Update request has completed successfully.
Declaration
bool IsSuccessful { get; }
Property Value
Type | Description |
---|---|
Boolean |
Key
Key, under with updated data is going to be stored.
Declaration
IKey Key { get; }
Property Value
Type | Description |
---|---|
IKey |
Request
Optional object that can be used to correlate this response with particular Update request.
Declaration
object Request { get; }
Property Value
Type | Description |
---|---|
Object |
Methods
| Improve this Doc View SourceThrowOnFailure()
Throws an exception if Update request has failed.
Declaration
void ThrowOnFailure()