Class Get
Send this message to the local Akka.DistributedData.Replicator to retrieve a data value for the
given key. The Replicator will reply with one of the IGetResponse messages.
The optional request context is included in the reply messages. This is a convenient
way to pass contextual information (e.g. original sender) without having to use ask
or maintain local correlation data structures.
Inherited Members
Namespace: Akka.DistributedData
Assembly: Akka.DistributedData.dll
Syntax
[Serializable]
public sealed class Get : IEquatable<Get>, IReplicatorMessage
Constructors
| Edit this page View SourceGet(IKey, IReadConsistency, object)
Declaration
public Get(IKey key, IReadConsistency consistency, object request = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IKey | key | |
| IReadConsistency | consistency | |
| object | request |
Properties
| Edit this page View SourceConsistency
Declaration
public IReadConsistency Consistency { get; }
Property Value
| Type | Description |
|---|---|
| IReadConsistency |
Key
Declaration
public IKey Key { get; }
Property Value
| Type | Description |
|---|---|
| IKey |
Request
Declaration
public object Request { get; }
Property Value
| Type | Description |
|---|---|
| object |
Methods
| Edit this page View SourceEquals(Get)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(Get other)
Parameters
| Type | Name | Description |
|---|---|---|
| Get | 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 SourceToString()
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